Shaka Player Embedded
|
Namespaces | |
apple | |
ffmpeg | |
ios | |
Classes | |
class | AppleAudioRenderer |
class | AppleVideoRenderer |
struct | AudioConfiguration |
class | AudioRenderer |
class | AudioRendererCommon |
class | BaseFrame |
struct | BufferedRange |
class | DecodedFrame |
class | Decoder |
class | DecoderThread |
class | DefaultMediaPlayer |
class | Demuxer |
class | DemuxerFactory |
class | DemuxerThread |
class | EncodedFrame |
struct | KeySystemTrackConfiguration |
struct | MediaCapabilitiesInfo |
struct | MediaCapabilitiesKeySystemConfiguration |
struct | MediaDecodingConfiguration |
class | MediaPlayer |
class | MediaTrack |
class | MseMediaPlayer |
class | PipelineManager |
class | PipelineMonitor |
class | ProxyMediaPlayer |
class | Renderer |
class | SdlAudioRenderer |
class | SdlManualVideoRenderer |
class | SdlThreadVideoRenderer |
class | Stream |
class | StreamBase |
class | StreamInfo |
class | TextTrack |
struct | VideoConfiguration |
struct | VideoPlaybackQuality |
class | VideoRenderer |
class | VideoRendererCommon |
class | VTTCue |
Typedefs | |
using | ElementaryStream = Stream< EncodedFrame, true > |
using | DecodedStream = Stream< DecodedFrame, false > |
using | BufferedRanges = std::vector< BufferedRange > |
Functions | |
std::ostream & | operator<< (std::ostream &os, PixelFormat format) |
std::ostream & | operator<< (std::ostream &os, SampleFormat format) |
std::ostream & | operator<< (std::ostream &os, variant< PixelFormat, SampleFormat > format) |
bool | IsPlanarFormat (variant< PixelFormat, SampleFormat > format) |
size_t | GetPlaneCount (variant< PixelFormat, SampleFormat > format, size_t channels) |
std::string | to_string (VideoReadyState state) |
std::ostream & | operator<< (std::ostream &os, VideoReadyState state) |
std::string | to_string (VideoPlaybackState state) |
std::ostream & | operator<< (std::ostream &os, VideoPlaybackState state) |
bool | ParseMimeType (const std::string &source, std::string *type, std::string *subtype, std::unordered_map< std::string, std::string > *params) |
std::string | NormalizeContainer (const std::string &container) |
std::string | NormalizeCodec (const std::string &codec) |
BufferedRanges | IntersectionOfBufferedRanges (const std::vector< BufferedRanges > &sources) |
MediaDecodingConfiguration | ConvertMimeToDecodingConfiguration (const std::string &mime_type, MediaDecodingType type) |
std::pair< uint32_t, uint32_t > | GetScreenResolution () |
Variables | |
constexpr const char * | kCodecMimeParam = "codecs" |
using shaka::media::BufferedRanges = typedef std::vector<BufferedRange> |
using shaka::media::DecodedStream = typedef Stream<DecodedFrame, false> |
using shaka::media::ElementaryStream = typedef Stream<EncodedFrame, true> |
|
strong |
MediaDecodingConfiguration shaka::media::ConvertMimeToDecodingConfiguration | ( | const std::string & | mime_type, |
MediaDecodingType | type | ||
) |
Converts a MIME type to a MediaDecodingConfiguration that is usable with the media capabilities API.
Definition at line 173 of file media_utils.cc.
size_t shaka::media::GetPlaneCount | ( | variant< PixelFormat, SampleFormat > | format, |
size_t | channels | ||
) |
std::pair< uint32_t, uint32_t > shaka::media::GetScreenResolution | ( | ) |
Definition at line 196 of file media_utils.cc.
BufferedRanges shaka::media::IntersectionOfBufferedRanges | ( | const std::vector< BufferedRanges > & | sources | ) |
Returns the buffered ranges that represent the regions that are buffered in all of the given sources.
Note this doesn't account for key frames, so this may not represent the actual playable regions.
Definition at line 144 of file media_utils.cc.
bool shaka::media::IsPlanarFormat | ( | variant< PixelFormat, SampleFormat > | format | ) |
std::string shaka::media::NormalizeCodec | ( | const std::string & | codec | ) |
Definition at line 135 of file media_utils.cc.
std::string shaka::media::NormalizeContainer | ( | const std::string & | container | ) |
Definition at line 128 of file media_utils.cc.
|
inline |
Definition at line 81 of file media_player.h.
std::ostream & shaka::media::operator<< | ( | std::ostream & | os, |
PixelFormat | format | ||
) |
|
inline |
Definition at line 139 of file media_player.h.
std::ostream & shaka::media::operator<< | ( | std::ostream & | os, |
SampleFormat | format | ||
) |
|
inline |
bool shaka::media::ParseMimeType | ( | const std::string & | source, |
std::string * | type, | ||
std::string * | subtype, | ||
std::unordered_map< std::string, std::string > * | params | ||
) |
Parses a MIME type string into the type, subtype, and parameters. e.g.: "video/mp4; codecs=vp9"
source | The MIME string to parse. |
type | [OUT] Where to put the type (e.g. 'video'). |
subtype | [OUT] Where to put the subtype (e.g. 'mp4'). |
params | [OUT] Where to put a map of parameters. |
Definition at line 62 of file media_utils.cc.
std::string shaka::media::to_string | ( | VideoReadyState | state | ) |
Definition at line 32 of file media_player.cc.
std::string shaka::media::to_string | ( | VideoPlaybackState | state | ) |
Definition at line 50 of file media_player.cc.
constexpr const char* shaka::media::kCodecMimeParam = "codecs" |
The name of the MIME parameter that contains the codecs.
Definition at line 33 of file media_utils.h.