Shaka Player Embedded
|
#include <ffmpeg_demuxer.h>
Public Member Functions | |
bool | IsTypeSupported (const std::string &mime_type) const override |
bool | IsCodecVideo (const std::string &codec) const override |
std::unique_ptr< Demuxer > | Create (const std::string &mime_type, Demuxer::Client *client) const override |
![]() | |
DemuxerFactory () | |
virtual | ~ DemuxerFactory () |
DemuxerFactory (const DemuxerFactory &)=delete | |
DemuxerFactory & | operator= (const DemuxerFactory &)=delete |
DemuxerFactory (DemuxerFactory &&)=delete | |
DemuxerFactory & | operator= (DemuxerFactory &&)=delete |
virtual bool | CanSwitchType (const std::string &old_mime_type, const std::string &new_mime_type) const |
Additional Inherited Members | |
![]() | |
static const DemuxerFactory * | GetFactory () |
static void | SetFactory (const DemuxerFactory *factory) |
Definition at line 103 of file ffmpeg_demuxer.h.
|
overridevirtual |
Creates a new Demuxer instance to initially read the given type of content.
mime_type | The full MIME type of the content being parsed. |
client | A client object to raise events to; this will live as long as the resulting Demuxer instance. |
Implements shaka::media::DemuxerFactory.
Definition at line 711 of file ffmpeg_demuxer.cc.
|
overridevirtual |
Determines if the given codec string represents a video codec. This is only given a single codec, not a MIME type. This is only called when IsTypeSupported returns true.
codec | The codec to check. |
Implements shaka::media::DemuxerFactory.
Definition at line 703 of file ffmpeg_demuxer.cc.
|
overridevirtual |
Determines whether the given MIME type can be demuxed.
mime_type | The full MIME type to check. |
Implements shaka::media::DemuxerFactory.
Definition at line 698 of file ffmpeg_demuxer.cc.