diff --git a/docs/annotated.html b/docs/annotated.html index ba2d93cf83..5c898628d0 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -266,94 +266,93 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); ||oCRsaRequestSignerRsaRequestSigner uses RSA-PSS signing ||oCRsaPrivateKeyRsa private key, used for message signing and decryption ||oCRsaPublicKeyRsa public key, used for signature verification and encryption -||oCStatus -||oCStreamInfoAbstract class holds stream information -||oCTextSample -||oCTextStreamInfo -||oCTextTrack -||oCTextTrackConfig -||oCVideoStreamInfoHolds video stream information -||oCWidevineKeySource -||oCChunkingOptions -||oCChunkingHandler -||oCAACAudioSpecificConfig -||oCAVCDecoderConfigurationRecordClass for parsing AVC decoder configuration record -||oCDecoderConfigurationRecord -||oCESDescriptor -||oCH264ByteToUnitStreamConverter -||oCH264Sps -||oCH264Pps -||oCH264ModificationOfPicNum -||oCH264WeightingFactors -||oCH264DecRefPicMarking -||oCH264SliceHeader -||oCH264SEIRecoveryPoint -||oCH264SEIMessage -||oCH264Parser -||oCH265ByteToUnitStreamConverter -||oCH265ReferencePictureSet -||oCH265VuiParameters -||oCH265Pps -||oCH265Sps -||oCH265ReferencePictureListModifications -||oCH265SliceHeader -|||\CLongTermPicsInfo -||oCH265Parser -||oCH26xBitReader -||oCH26xByteToUnitStreamConverterA base class that is used to convert H.26x byte streams to NAL unit streams -||oCHEVCDecoderConfigurationRecordClass for parsing HEVC decoder configuration record -||oCNalUnitToByteStreamConverter -||oCNalu -||oCNaluReader -||oCVideoSliceHeaderParser -||oCH264VideoSliceHeaderParser -||oCH265VideoSliceHeaderParser -||oCVP8Parser -||oCVP9ParserClass to parse a vp9 bit stream -||oCVPCodecConfigurationRecordClass for parsing or writing VP codec configuration record -||oCVPxFrameInfo -||oCVPxParser -||oCEncryptionOptionsThis structure defines encryption options -||oCEncryptionHandler -||oCDemuxer -||oCHlsNotifyMuxerListenerMuxerListener that uses HlsNotifier -||oCMockMuxerListener -||oCMpdNotifyMuxerListener -||oCMuxerListener -||oCVideoStreamInfoParameters -||oCOnMediaEndParameters -||oCProgressListenerThis class listens to progress updates events -||oCVodMediaInfoDumpMuxerListener -||oCFileDefine an abstract file interface -||oCFileCloser -||oCIoCacheDeclaration of class which implements a thread-safe circular buffer -||oCLocalFileImplement LocalFile which deals with local storage -||oCMemoryFile -||oCThreadedIoFileDeclaration of class which implements a thread-safe circular buffer -||oCUdpFileImplements UdpFile, which receives UDP unicast and multicast streams -||oCUdpOptionsOptions parsed from UDP url string of the form: udp://ip:port[?options] -||oCCluster -||oCClusterBuilder -||oCMkvWriterAn implementation of IMkvWriter using our File type -||oCSeekHead -||oCSegmentTestBase -|||\CClusterParser -||oCTracksBuilder -||oCWebMAudioClientHelper class used to parse an Audio element inside a TrackEntry element -||oCWebMClusterParser -||oCContentEncoding -||oCWebMContentEncodingsClientParser for WebM ContentEncodings element -||oCWebMInfoParserParser for WebM Info element -||oCWebMMediaParser -||oCWebMParserClient -||oCWebMListParser -||oCWebMTracksParserParser for WebM Tracks element -||oCWebMVideoClientHelper class used to parse a Video element inside a TrackEntry element -||oCWebMWebVTTParser -||oCCue -||oCWebVttMediaParser -||oCWebVttSampleConverter -||\CTrickPlayHandler +||oCStreamInfoAbstract class holds stream information +||oCTextSample +||oCTextStreamInfo +||oCTextTrack +||oCTextTrackConfig +||oCVideoStreamInfoHolds video stream information +||oCWidevineKeySource +||oCChunkingOptions +||oCChunkingHandler +||oCAACAudioSpecificConfig +||oCAVCDecoderConfigurationRecordClass for parsing AVC decoder configuration record +||oCDecoderConfigurationRecord +||oCESDescriptor +||oCH264ByteToUnitStreamConverter +||oCH264Sps +||oCH264Pps +||oCH264ModificationOfPicNum +||oCH264WeightingFactors +||oCH264DecRefPicMarking +||oCH264SliceHeader +||oCH264SEIRecoveryPoint +||oCH264SEIMessage +||oCH264Parser +||oCH265ByteToUnitStreamConverter +||oCH265ReferencePictureSet +||oCH265VuiParameters +||oCH265Pps +||oCH265Sps +||oCH265ReferencePictureListModifications +||oCH265SliceHeader +|||\CLongTermPicsInfo +||oCH265Parser +||oCH26xBitReader +||oCH26xByteToUnitStreamConverterA base class that is used to convert H.26x byte streams to NAL unit streams +||oCHEVCDecoderConfigurationRecordClass for parsing HEVC decoder configuration record +||oCNalUnitToByteStreamConverter +||oCNalu +||oCNaluReader +||oCVideoSliceHeaderParser +||oCH264VideoSliceHeaderParser +||oCH265VideoSliceHeaderParser +||oCVP8Parser +||oCVP9ParserClass to parse a vp9 bit stream +||oCVPCodecConfigurationRecordClass for parsing or writing VP codec configuration record +||oCVPxFrameInfo +||oCVPxParser +||oCEncryptionOptionsThis structure defines encryption options +||oCEncryptionHandler +||oCDemuxer +||oCHlsNotifyMuxerListenerMuxerListener that uses HlsNotifier +||oCMockMuxerListener +||oCMpdNotifyMuxerListener +||oCMuxerListener +||oCVideoStreamInfoParameters +||oCOnMediaEndParameters +||oCProgressListenerThis class listens to progress updates events +||oCVodMediaInfoDumpMuxerListener +||oCFileDefine an abstract file interface +||oCFileCloser +||oCIoCacheDeclaration of class which implements a thread-safe circular buffer +||oCLocalFileImplement LocalFile which deals with local storage +||oCMemoryFile +||oCThreadedIoFileDeclaration of class which implements a thread-safe circular buffer +||oCUdpFileImplements UdpFile, which receives UDP unicast and multicast streams +||oCUdpOptionsOptions parsed from UDP url string of the form: udp://ip:port[?options] +||oCCluster +||oCClusterBuilder +||oCMkvWriterAn implementation of IMkvWriter using our File type +||oCSeekHead +||oCSegmentTestBase +|||\CClusterParser +||oCTracksBuilder +||oCWebMAudioClientHelper class used to parse an Audio element inside a TrackEntry element +||oCWebMClusterParser +||oCContentEncoding +||oCWebMContentEncodingsClientParser for WebM ContentEncodings element +||oCWebMInfoParserParser for WebM Info element +||oCWebMMediaParser +||oCWebMParserClient +||oCWebMListParser +||oCWebMTracksParserParser for WebM Tracks element +||oCWebMVideoClientHelper class used to parse a Video element inside a TrackEntry element +||oCWebMWebVTTParser +||oCCue +||oCWebVttMediaParser +||oCWebVttSampleConverter +||\CTrickPlayHandler |oNxml ||oCXmlDeleter ||oCXmlNode @@ -383,7 +382,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/classes.html b/docs/classes.html index 5ccffd66a4..3cc534eef4 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -89,91 +89,91 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
A | B | C | D | E | F | H | I | K | L | M | N | O | P | R | S | T | U | V | W | X
+ - - - + + + + - + + - - - + + + + - - - - - - - - + + + + + + + + + + + + - - - + - - - - + + + + + - - - + + + + - - - - - - - + + + + + + - - - - - - - - + + + + + + + + + - - - - + + + + + - + - - - + + + - + + - + +
  A  
-
DecodingTimeIterator (shaka::media::mp4)   IoCache (shaka::media)   PesPacketGenerator (shaka::media::mp2t)   TrackEncryption (shaka::media::mp4)   
DecodingTimeIterator (shaka::media::mp4)   IoCache (shaka::media)   PesPacketGenerator (shaka::media::mp2t)   TrackExtends (shaka::media::mp4)   
DecodingTimeToSample (shaka::media::mp4)   
  K  
-
PixelAspectRatio (shaka::media::mp4)   TrackExtends (shaka::media::mp4)   
AACAudioSpecificConfig (shaka::media)   DecryptConfig (shaka::media)   PlayReadyKeySource (shaka::media)   TrackFragment (shaka::media::mp4)   
AacProgramMapTableWriter (shaka::media::mp2t)   DecryptorSource (shaka::media)   KeyFetcher (shaka::media)   PrevSampleData (shaka::media::wvm)   TrackFragmentDecodeTime (shaka::media::mp4)   
AC3Specific (shaka::media::mp4)   Demuxer (shaka::media)   KeySource (shaka::media)   PrivFrame (shaka::media::mp4)   TrackFragmentHeader (shaka::media::mp4)   
PixelAspectRatio (shaka::media::mp4)   TrackFragment (shaka::media::mp4)   
AACAudioSpecificConfig (shaka::media)   DecryptConfig (shaka::media)   PlayReadyKeySource (shaka::media)   TrackFragmentDecodeTime (shaka::media::mp4)   
AacProgramMapTableWriter (shaka::media::mp2t)   DecryptorSource (shaka::media)   KeyFetcher (shaka::media)   PrevSampleData (shaka::media::wvm)   TrackFragmentHeader (shaka::media::mp4)   
AC3Specific (shaka::media::mp4)   Demuxer (shaka::media)   KeySource (shaka::media)   PrivFrame (shaka::media::mp4)   TrackFragmentRun (shaka::media::mp4)   
AdaptationSet (shaka)   DemuxStreamIdMediaSample (shaka::media::wvm)   
  L  
-
ProducerConsumerQueue (shaka::media)   TrackFragmentRun (shaka::media::mp4)   
AdaptationSetXmlNode (shaka::xml)   DTSSpecific (shaka::media::mp4)   ProgramMapTableWriter (shaka::media::mp2t)   TrackHeader (shaka::media::mp4)   
ProducerConsumerQueue (shaka::media)   TrackHeader (shaka::media::mp4)   
AdaptationSetXmlNode (shaka::xml)   DTSSpecific (shaka::media::mp4)   ProgramMapTableWriter (shaka::media::mp2t)   TrackRunIterator (shaka::media::mp4)   
AdtsHeader (shaka::media::mp2t)   
  E  
-
Language (shaka::media::mp4)   ProgressListener (shaka::media)   TrackRunIterator (shaka::media::mp4)   
AesCbcDecryptor (shaka::media)   LibcryptoThreading (shaka::media)   ProtectionSchemeInfo (shaka::media::mp4)   TracksBuilder (shaka::media)   
AesCbcEncryptor (shaka::media)   EC3Specific (shaka::media::mp4)   LocalFile (shaka::media)   ProtectionSystemSpecificHeader (shaka::media::mp4)   TrickPlayHandler (shaka::media)   
AesCryptor (shaka::media)   Edit (shaka::media::mp4)   H265SliceHeader::LongTermPicsInfo (shaka::media)   ProtectionSystemSpecificInfo (shaka::media)   TsMuxer (shaka::media::mp2t)   
Language (shaka::media::mp4)   ProgressListener (shaka::media)   TracksBuilder (shaka::media)   
AesCbcDecryptor (shaka::media)   LibcryptoThreading (shaka::media)   ProtectionSchemeInfo (shaka::media::mp4)   TrickPlayHandler (shaka::media)   
AesCbcEncryptor (shaka::media)   EC3Specific (shaka::media::mp4)   LocalFile (shaka::media)   ProtectionSystemSpecificHeader (shaka::media::mp4)   TsMuxer (shaka::media::mp2t)   
AesCryptor (shaka::media)   Edit (shaka::media::mp4)   H265SliceHeader::LongTermPicsInfo (shaka::media)   ProtectionSystemSpecificInfo (shaka::media)   TsPacket (shaka::media::mp2t)   
AesCtrEncryptor (shaka::media)   EditList (shaka::media::mp4)   
  M  
  R  
-
TsPacket (shaka::media::mp2t)   
AesEncryptor (shaka::media)   EditListEntry (shaka::media::mp4)   TsSection (shaka::media::mp2t)   
AesPatternCryptor (shaka::media)   Element (shaka)   Media (shaka::media::mp4)   Representation (shaka)   TsSectionPat (shaka::media::mp2t)   
AesRequestSigner (shaka::media)   ElementaryStreamDescriptor (shaka::media::mp4)   MediaData (shaka::media::mp4)   RepresentationBaseXmlNode (shaka::xml)   TsSectionPes (shaka::media::mp2t)   
AudioRollRecoveryEntry (shaka::media::mp4)   EncryptionConfig (shaka::media)   MediaEvent (shaka::media)   RepresentationStateChangeListener (shaka)   TsSectionPmt (shaka::media::mp2t)   
AudioSampleEntry (shaka::media::mp4)   EncryptionHandler (shaka::media)   MediaHandler (shaka::media)   RepresentationXmlNode (shaka::xml)   TsSectionPsi (shaka::media::mp2t)   
AudioStreamInfo (shaka::media)   EncryptionKey (shaka::media)   MediaHandlerTestBase (shaka::media)   RequestSigner (shaka::media)   TsSegmenter (shaka::media::mp2t)   
AudioTimestampHelper (shaka::media)   EncryptionOptions (shaka::media)   MediaHeader (shaka::media::mp4)   RsaPrivateKey (shaka::media)   TsWriter (shaka::media::mp2t)   
AVCDecoderConfigurationRecord (shaka::media)   ESDescriptor (shaka::media)   MediaInformation (shaka::media::mp4)   RsaPublicKey (shaka::media)   TwoPassSingleSegmentSegmenter (shaka::media::webm)   
TsSection (shaka::media::mp2t)   
AesEncryptor (shaka::media)   EditListEntry (shaka::media::mp4)   TsSectionPat (shaka::media::mp2t)   
AesPatternCryptor (shaka::media)   Element (shaka)   Media (shaka::media::mp4)   Representation (shaka)   TsSectionPes (shaka::media::mp2t)   
AesRequestSigner (shaka::media)   ElementaryStreamDescriptor (shaka::media::mp4)   MediaData (shaka::media::mp4)   RepresentationBaseXmlNode (shaka::xml)   TsSectionPmt (shaka::media::mp2t)   
AudioRollRecoveryEntry (shaka::media::mp4)   EncryptionConfig (shaka::media)   MediaEvent (shaka::media)   RepresentationStateChangeListener (shaka)   TsSectionPsi (shaka::media::mp2t)   
AudioSampleEntry (shaka::media::mp4)   EncryptionHandler (shaka::media)   MediaHandler (shaka::media)   RepresentationXmlNode (shaka::xml)   TsSegmenter (shaka::media::mp2t)   
AudioStreamInfo (shaka::media)   EncryptionKey (shaka::media)   MediaHandlerTestBase (shaka::media)   RequestSigner (shaka::media)   TsWriter (shaka::media::mp2t)   
AudioTimestampHelper (shaka::media)   EncryptionOptions (shaka::media)   MediaHeader (shaka::media::mp4)   RsaPrivateKey (shaka::media)   TwoPassSingleSegmentSegmenter (shaka::media::webm)   
AVCDecoderConfigurationRecord (shaka::media)   ESDescriptor (shaka::media)   MediaInformation (shaka::media::mp4)   RsaPublicKey (shaka::media)   
  U  
+
  B  
-
EsParser (shaka::media::mp2t)   MediaParser (shaka::media)   RsaRequestSigner (shaka::media)   
  U  
-
EsParser (shaka::media::mp2t)   MediaParser (shaka::media)   RsaRequestSigner (shaka::media)   
EsParserAdts (shaka::media::mp2t)   MediaSample (shaka::media)   
  S  
+
UdpFile (shaka::media)   
BandwidthEstimator   EsParserH264 (shaka::media::mp2t)   MemoryFile (shaka::media)   UdpOptions (shaka::media)   
BitReader (shaka::media)   EsParserH265 (shaka::media::mp2t)   Metadata (shaka::media::mp4)   SampleAuxiliaryInformationOffset (shaka::media::mp4)   
  V  
BandwidthEstimator   EsParserH264 (shaka::media::mp2t)   MemoryFile (shaka::media)   UdpFile (shaka::media)   
BitReader (shaka::media)   EsParserH265 (shaka::media::mp2t)   Metadata (shaka::media::mp4)   SampleAuxiliaryInformationOffset (shaka::media::mp4)   UdpOptions (shaka::media)   
Box (shaka::media::mp4)   EsParserH26x (shaka::media::mp2t)   MkvWriter (shaka::media)   SampleAuxiliaryInformationSize (shaka::media::mp4)   
  V  
-
Box (shaka::media::mp4)   EsParserH26x (shaka::media::mp2t)   MkvWriter (shaka::media)   SampleAuxiliaryInformationSize (shaka::media::mp4)   
BoxBuffer (shaka::media::mp4)   
  F  
-
MockAdaptationSet (shaka)   SampleDescription (shaka::media::mp4)   
BoxReader (shaka::media::mp4)   MockMpdBuilder (shaka)   SampleEncryption (shaka::media::mp4)   VideoMediaHeader (shaka::media::mp4)   
BufferReader (shaka::media)   FakeMediaHandler (shaka::media)   MockMpdNotifier (shaka)   SampleEncryptionEntry (shaka::media::mp4)   VideoSampleEntry (shaka::media::mp4)   
BufferWriter (shaka::media)   File (shaka::media)   MockMuxerListener (shaka::media)   SampleGroupDescription (shaka::media::mp4)   VideoSliceHeaderParser (shaka::media)   
ByteQueue (shaka::media)   FileCloser (shaka::media)   MockRepresentation (shaka)   SampleSize (shaka::media::mp4)   EsParserH26x::VideoSliceInfo (shaka::media::mp2t)   
MockAdaptationSet (shaka)   SampleDescription (shaka::media::mp4)   VideoMediaHeader (shaka::media::mp4)   
BoxReader (shaka::media::mp4)   MockMpdBuilder (shaka)   SampleEncryption (shaka::media::mp4)   VideoSampleEntry (shaka::media::mp4)   
BufferReader (shaka::media)   FakeMediaHandler (shaka::media)   MockMpdNotifier (shaka)   SampleEncryptionEntry (shaka::media::mp4)   VideoSliceHeaderParser (shaka::media)   
BufferWriter (shaka::media)   File (shaka::media)   MockMuxerListener (shaka::media)   SampleGroupDescription (shaka::media::mp4)   EsParserH26x::VideoSliceInfo (shaka::media::mp2t)   
ByteQueue (shaka::media)   FileCloser (shaka::media)   MockRepresentation (shaka)   SampleSize (shaka::media::mp4)   VideoStreamInfo (shaka::media)   
  C  
-
FileType (shaka::media::mp4)   Movie (shaka::media::mp4)   SampleTable (shaka::media::mp4)   VideoStreamInfo (shaka::media)   
FixedKeySource (shaka::media)   MovieExtends (shaka::media::mp4)   SampleToChunk (shaka::media::mp4)   VideoStreamInfoParameters (shaka::media)   
CencSampleEncryptionInfoEntry (shaka::media::mp4)   Fragmenter (shaka::media::mp4)   MovieExtendsHeader (shaka::media::mp4)   SampleToGroup (shaka::media::mp4)   VodMediaInfoDumpMuxerListener (shaka::media)   
ChunkInfo (shaka::media::mp4)   FullBox (shaka::media::mp4)   MovieFragment (shaka::media::mp4)   SampleToGroupEntry (shaka::media::mp4)   VP8Parser (shaka::media)   
FileType (shaka::media::mp4)   Movie (shaka::media::mp4)   SampleTable (shaka::media::mp4)   VideoStreamInfoParameters (shaka::media)   
FixedKeySource (shaka::media)   MovieExtends (shaka::media::mp4)   SampleToChunk (shaka::media::mp4)   VodMediaInfoDumpMuxerListener (shaka::media)   
CencSampleEncryptionInfoEntry (shaka::media::mp4)   Fragmenter (shaka::media::mp4)   MovieExtendsHeader (shaka::media::mp4)   SampleToGroup (shaka::media::mp4)   VP8Parser (shaka::media)   
ChunkInfo (shaka::media::mp4)   FullBox (shaka::media::mp4)   MovieFragment (shaka::media::mp4)   SampleToGroupEntry (shaka::media::mp4)   VP9Parser (shaka::media)   
ChunkInfoIterator (shaka::media::mp4)   
  H  
-
MovieFragmentHeader (shaka::media::mp4)   SchemeInfo (shaka::media::mp4)   VP9Parser (shaka::media)   
ChunkingHandler (shaka::media)   MovieHeader (shaka::media::mp4)   SchemeType (shaka::media::mp4)   VPCodecConfigurationRecord (shaka::media)   
ChunkingOptions (shaka::media)   H264ByteToUnitStreamConverter (shaka::media)   Mp2tMediaParser (shaka::media::mp2t)   SeekHead (shaka::media)   VPxFrameInfo (shaka::media)   
ChunkLargeOffset (shaka::media::mp4)   H264DecRefPicMarking (shaka::media)   MP4MediaParser (shaka::media::mp4)   Segmenter (shaka::media::mp4)   VPxParser (shaka::media)   
ChunkOffset (shaka::media::mp4)   H264ModificationOfPicNum (shaka::media)   MP4Muxer (shaka::media::mp4)   Segmenter (shaka::media::webm)   VTTAdditionalTextBox (shaka::media::mp4)   
ClosureThread (shaka::media)   H264Parser (shaka::media)   MpdBuilder (shaka)   SegmentIndex (shaka::media::mp4)   VTTCueBox (shaka::media::mp4)   
Cluster (shaka::media)   H264Pps (shaka::media)   MpdNotifier (shaka)   SegmentInfo (shaka::media)   VTTEmptyCueBox (shaka::media::mp4)   
ClusterBuilder (shaka::media)   H264ProgramMapTableWriter (shaka::media::mp2t)   MpdNotifierFactory (shaka)   SegmentInfo (shaka)   
  W  
+
MovieFragmentHeader (shaka::media::mp4)   SchemeInfo (shaka::media::mp4)   VPCodecConfigurationRecord (shaka::media)   
ChunkingHandler (shaka::media)   MovieHeader (shaka::media::mp4)   SchemeType (shaka::media::mp4)   VPxFrameInfo (shaka::media)   
ChunkingOptions (shaka::media)   H264ByteToUnitStreamConverter (shaka::media)   Mp2tMediaParser (shaka::media::mp2t)   SeekHead (shaka::media)   VPxParser (shaka::media)   
ChunkLargeOffset (shaka::media::mp4)   H264DecRefPicMarking (shaka::media)   MP4MediaParser (shaka::media::mp4)   Segmenter (shaka::media::mp4)   VTTAdditionalTextBox (shaka::media::mp4)   
ChunkOffset (shaka::media::mp4)   H264ModificationOfPicNum (shaka::media)   MP4Muxer (shaka::media::mp4)   Segmenter (shaka::media::webm)   VTTCueBox (shaka::media::mp4)   
ClosureThread (shaka::media)   H264Parser (shaka::media)   MpdBuilder (shaka)   SegmentIndex (shaka::media::mp4)   VTTEmptyCueBox (shaka::media::mp4)   
Cluster (shaka::media)   H264Pps (shaka::media)   MpdNotifier (shaka)   SegmentInfo (shaka::media)   
  W  
SegmentTestBase::ClusterParser (shaka::media)   H264SEIMessage (shaka::media)   MpdNotifyMuxerListener (shaka::media)   SegmentReference (shaka::media::mp4)   
CodecConfiguration (shaka::media::mp4)   H264SEIRecoveryPoint (shaka::media)   MpdOptions (shaka)   SegmentTestBase (shaka::media)   WebMAudioClient (shaka::media)   
CompactSampleSize (shaka::media::mp4)   H264SliceHeader (shaka::media)   MpdWriter (shaka)   SegmentType (shaka::media::mp4)   WebMClusterParser (shaka::media)   
CompositionOffset (shaka::media::mp4)   H264Sps (shaka::media)   MultiSegmentSegmenter (shaka::media::mp4)   SimpleMpdNotifier (shaka)   WebMContentEncodingsClient (shaka::media)   
CompositionOffsetIterator (shaka::media::mp4)   H264VideoSliceHeaderParser (shaka::media)   MultiSegmentSegmenter (shaka::media::webm)   SingleSegmentSegmenter (shaka::media::mp4)   WebMInfoParser (shaka::media)   
CompositionTimeToSample (shaka::media::mp4)   H264WeightingFactors (shaka::media)   Muxer (shaka::media)   SingleSegmentSegmenter (shaka::media::webm)   WebMListParser (shaka::media)   
ContentEncoding (shaka::media)   H265ByteToUnitStreamConverter (shaka::media)   MuxerListener (shaka::media)   SoundMediaHeader (shaka::media::mp4)   WebMMediaParser (shaka::media)   
ContentProtectionElement (shaka)   H265Parser (shaka::media)   MuxerOptions (shaka::media)   Status (shaka::media)   WebMMuxer (shaka::media::webm)   
ClusterBuilder (shaka::media)   H264ProgramMapTableWriter (shaka::media::mp2t)   MpdNotifierFactory (shaka)   SegmentInfo (shaka)   
SegmentTestBase::ClusterParser (shaka::media)   H264SEIMessage (shaka::media)   MpdNotifyMuxerListener (shaka::media)   SegmentReference (shaka::media::mp4)   WebMAudioClient (shaka::media)   
CodecConfiguration (shaka::media::mp4)   H264SEIRecoveryPoint (shaka::media)   MpdOptions (shaka)   SegmentTestBase (shaka::media)   WebMClusterParser (shaka::media)   
CompactSampleSize (shaka::media::mp4)   H264SliceHeader (shaka::media)   MpdWriter (shaka)   SegmentType (shaka::media::mp4)   WebMContentEncodingsClient (shaka::media)   
CompositionOffset (shaka::media::mp4)   H264Sps (shaka::media)   MultiSegmentSegmenter (shaka::media::mp4)   SimpleMpdNotifier (shaka)   WebMInfoParser (shaka::media)   
CompositionOffsetIterator (shaka::media::mp4)   H264VideoSliceHeaderParser (shaka::media)   MultiSegmentSegmenter (shaka::media::webm)   SingleSegmentSegmenter (shaka::media::mp4)   WebMListParser (shaka::media)   
CompositionTimeToSample (shaka::media::mp4)   H264WeightingFactors (shaka::media)   Muxer (shaka::media)   SingleSegmentSegmenter (shaka::media::webm)   WebMMediaParser (shaka::media)   
ContentEncoding (shaka::media)   H265ByteToUnitStreamConverter (shaka::media)   MuxerListener (shaka::media)   SoundMediaHeader (shaka::media::mp4)   WebMMuxer (shaka::media::webm)   
ContentProtectionElement (shaka)   H265Parser (shaka::media)   MuxerOptions (shaka::media)   StreamData (shaka::media)   WebMParserClient (shaka::media)   
ContinuityCounter (shaka::media::mp2t)   H265Pps (shaka::media)   
  N  
-
StreamData (shaka::media)   WebMParserClient (shaka::media)   
Cue (shaka::media)   H265ReferencePictureListModifications (shaka::media)   StreamInfo (shaka::media)   WebMTracksParser (shaka::media)   
CueIDBox (shaka::media::mp4)   H265ReferencePictureSet (shaka::media)   Nalu (shaka::media)   SubsampleEntry (shaka::media)   WebMVideoClient (shaka::media)   
CuePayloadBox (shaka::media::mp4)   H265SliceHeader (shaka::media)   NalUnitToByteStreamConverter (shaka::media)   SubtitleMediaHeader (shaka::media::mp4)   WebMWebVTTParser (shaka::media)   
CueSettingsBox (shaka::media::mp4)   H265Sps (shaka::media)   NaluReader (shaka::media)   SyncSample (shaka::media::mp4)   WebVTTConfigurationBox (shaka::media::mp4)   
StreamInfo (shaka::media)   WebMTracksParser (shaka::media)   
Cue (shaka::media)   H265ReferencePictureListModifications (shaka::media)   SubsampleEntry (shaka::media)   WebMVideoClient (shaka::media)   
CueIDBox (shaka::media::mp4)   H265ReferencePictureSet (shaka::media)   Nalu (shaka::media)   SubtitleMediaHeader (shaka::media::mp4)   WebMWebVTTParser (shaka::media)   
CuePayloadBox (shaka::media::mp4)   H265SliceHeader (shaka::media)   NalUnitToByteStreamConverter (shaka::media)   SyncSample (shaka::media::mp4)   WebVTTConfigurationBox (shaka::media::mp4)   
CueSettingsBox (shaka::media::mp4)   H265Sps (shaka::media)   NaluReader (shaka::media)   SyncSampleIterator (shaka::media::mp4)   WebVttMediaParser (shaka::media)   
CueSourceIDBox (shaka::media::mp4)   H265VideoSliceHeaderParser (shaka::media)   
  O  
-
SyncSampleIterator (shaka::media::mp4)   WebVttMediaParser (shaka::media)   
CueTimeBox (shaka::media::mp4)   H265VuiParameters (shaka::media)   
  T  
+
  T  
WebVttSampleConverter (shaka::media)   
CueTimeBox (shaka::media::mp4)   H265VuiParameters (shaka::media)   WebVTTSourceLabelBox (shaka::media::mp4)   
  D  
-
H26xBitReader (shaka::media)   OffsetByteQueue (shaka::media)   WebVTTSourceLabelBox (shaka::media::mp4)   
H26xByteToUnitStreamConverter (shaka::media)   OnMediaEndParameters (shaka::media)   TextSample (shaka::media)   WidevineKeySource (shaka::media)   
DashIopMpdNotifier (shaka)   HandlerReference (shaka::media::mp4)   OpusSpecific (shaka::media::mp4)   TextSampleEntry (shaka::media::mp4)   WvmMediaParser (shaka::media::wvm)   
DataEntryUrl (shaka::media::mp4)   HEVCDecoderConfigurationRecord (shaka::media)   OriginalFormat (shaka::media::mp4)   TextStreamInfo (shaka::media)   
  X  
+
H26xBitReader (shaka::media)   OffsetByteQueue (shaka::media)   TextSample (shaka::media)   WidevineKeySource (shaka::media)   
H26xByteToUnitStreamConverter (shaka::media)   OnMediaEndParameters (shaka::media)   TextSampleEntry (shaka::media::mp4)   WvmMediaParser (shaka::media::wvm)   
DashIopMpdNotifier (shaka)   HandlerReference (shaka::media::mp4)   OpusSpecific (shaka::media::mp4)   TextStreamInfo (shaka::media)   
  X  
DataEntryUrl (shaka::media::mp4)   HEVCDecoderConfigurationRecord (shaka::media)   OriginalFormat (shaka::media::mp4)   TextTrack (shaka::media)   
DataInformation (shaka::media::mp4)   HlsNotifyMuxerListener (shaka::media)   
  P  
-
TextTrack (shaka::media)   
DataReference (shaka::media::mp4)   HttpKeyFetcher (shaka::media)   TextTrackConfig (shaka::media)   XmlDeleter (shaka::xml)   
TextTrackConfig (shaka::media)   XmlDeleter (shaka::xml)   
DataReference (shaka::media::mp4)   HttpKeyFetcher (shaka::media)   ThreadedIoFile (shaka::media)   XmlNode (shaka::xml)   
DecoderConfigurationRecord (shaka::media)   
  I  
-
PeriodInfo (shaka::media)   ThreadedIoFile (shaka::media)   XmlNode (shaka::xml)   
DecodingTime (shaka::media::mp4)   PesPacket (shaka::media::mp2t)   Track (shaka::media::mp4)   
PeriodInfo (shaka::media)   Track (shaka::media::mp4)   
DecodingTime (shaka::media::mp4)   PesPacket (shaka::media::mp2t)   TrackEncryption (shaka::media::mp4)   
ID3v2 (shaka::media::mp4)   
@@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/d0/d00/structshaka_1_1media_1_1mp4_1_1HandlerReference-members.html b/docs/d0/d00/structshaka_1_1media_1_1mp4_1_1HandlerReference-members.html index c8ab3976f6..b21d2a37af 100644 --- a/docs/d0/d00/structshaka_1_1media_1_1mp4_1_1HandlerReference-members.html +++ b/docs/d0/d00/structshaka_1_1media_1_1mp4_1_1HandlerReference-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d04/classshaka_1_1media_1_1RsaRequestSigner-members.html b/docs/d0/d04/classshaka_1_1media_1_1RsaRequestSigner-members.html index 3ce4fbc74b..a2b64de198 100644 --- a/docs/d0/d04/classshaka_1_1media_1_1RsaRequestSigner-members.html +++ b/docs/d0/d04/classshaka_1_1media_1_1RsaRequestSigner-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d06/mpd__flags_8cc_source.html b/docs/d0/d06/mpd__flags_8cc_source.html index 91b3259bec..98eeab19fd 100644 --- a/docs/d0/d06/mpd__flags_8cc_source.html +++ b/docs/d0/d06/mpd__flags_8cc_source.html @@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html b/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html index bf4e2bed08..6526e104df 100644 --- a/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html +++ b/docs/d0/d0e/classshaka_1_1media_1_1HttpKeyFetcher-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html b/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html index 9207245406..6ac4ff4b36 100644 --- a/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html +++ b/docs/d0/d0e/hevc__decoder__configuration__record_8h_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0e/muxer__options_8h_source.html b/docs/d0/d0e/muxer__options_8h_source.html index 21b7ef6b31..3e865cd511 100644 --- a/docs/d0/d0e/muxer__options_8h_source.html +++ b/docs/d0/d0e/muxer__options_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d0f/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt-members.html b/docs/d0/d0f/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt-members.html index 4183a967a9..811d1abfc3 100644 --- a/docs/d0/d0f/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt-members.html +++ b/docs/d0/d0f/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html b/docs/d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html index cc69cacb1c..7ec40767bb 100644 --- a/docs/d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html +++ b/docs/d0/d11/structshaka_1_1media_1_1VPxFrameInfo.html @@ -121,7 +121,7 @@ uint32_t height diff --git a/docs/d0/d17/structshaka_1_1media_1_1StreamData-members.html b/docs/d0/d17/structshaka_1_1media_1_1StreamData-members.html index bd5c504d9b..f6e383a244 100644 --- a/docs/d0/d17/structshaka_1_1media_1_1StreamData-members.html +++ b/docs/d0/d17/structshaka_1_1media_1_1StreamData-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d1a/text__sample_8h_source.html b/docs/d0/d1a/text__sample_8h_source.html index 0e7e6cced6..359bde8fca 100644 --- a/docs/d0/d1a/text__sample_8h_source.html +++ b/docs/d0/d1a/text__sample_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html b/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html index e0d4924e60..a1e02ef415 100644 --- a/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html +++ b/docs/d0/d1e/classshaka_1_1media_1_1H265ByteToUnitStreamConverter-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d1f/structshaka_1_1media_1_1mp4_1_1VTTCueBox-members.html b/docs/d0/d1f/structshaka_1_1media_1_1mp4_1_1VTTCueBox-members.html index 96ed6f146c..10c282d56d 100644 --- a/docs/d0/d1f/structshaka_1_1media_1_1mp4_1_1VTTCueBox-members.html +++ b/docs/d0/d1f/structshaka_1_1media_1_1mp4_1_1VTTCueBox-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d26/classshaka_1_1media_1_1mp2t_1_1TsSectionPat.html b/docs/d0/d26/classshaka_1_1media_1_1mp2t_1_1TsSectionPat.html index d54df35db2..4b9e1572db 100644 --- a/docs/d0/d26/classshaka_1_1media_1_1mp2t_1_1TsSectionPat.html +++ b/docs/d0/d26/classshaka_1_1media_1_1mp2t_1_1TsSectionPat.html @@ -155,7 +155,7 @@ void Reset () override diff --git a/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html b/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html index 584a0114b7..20e7ad0e6c 100644 --- a/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html +++ b/docs/d0/d27/structshaka_1_1media_1_1MuxerOptions.html @@ -206,7 +206,7 @@ bool mp4_include_pssh_in_s diff --git a/docs/d0/d30/mock__mpd__notifier_8h_source.html b/docs/d0/d30/mock__mpd__notifier_8h_source.html index 9e7eab9eb8..f749088974 100644 --- a/docs/d0/d30/mock__mpd__notifier_8h_source.html +++ b/docs/d0/d30/mock__mpd__notifier_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d32/mp2t__common_8h_source.html b/docs/d0/d32/mp2t__common_8h_source.html index 3ab9bf8f8b..aeb2799f07 100644 --- a/docs/d0/d32/mp2t__common_8h_source.html +++ b/docs/d0/d32/mp2t__common_8h_source.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d33/classshaka_1_1MockRepresentation.html b/docs/d0/d33/classshaka_1_1MockRepresentation.html index def0d1f6ca..b4b7d3c79c 100644 --- a/docs/d0/d33/classshaka_1_1MockRepresentation.html +++ b/docs/d0/d33/classshaka_1_1MockRepresentation.html @@ -160,7 +160,7 @@ Additional Inherited Members diff --git a/docs/d0/d35/es__descriptor_8cc_source.html b/docs/d0/d35/es__descriptor_8cc_source.html index 1bacaf63ed..58ea752d2d 100644 --- a/docs/d0/d35/es__descriptor_8cc_source.html +++ b/docs/d0/d35/es__descriptor_8cc_source.html @@ -285,7 +285,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html b/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html index 706113d770..e4802e3a51 100644 --- a/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html +++ b/docs/d0/d3a/hls__notify__muxer__listener_8cc_source.html @@ -237,7 +237,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3a/webm__constants_8h_source.html b/docs/d0/d3a/webm__constants_8h_source.html index 43e0b9eb96..649ab664cb 100644 --- a/docs/d0/d3a/webm__constants_8h_source.html +++ b/docs/d0/d3a/webm__constants_8h_source.html @@ -333,7 +333,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d3c/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html b/docs/d0/d3c/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html index ac91d8d36d..1d7ba83baf 100644 --- a/docs/d0/d3c/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html +++ b/docs/d0/d3c/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d0/d42/aes__cryptor_8h_source.html b/docs/d0/d42/aes__cryptor_8h_source.html index 374781be31..979c09b906 100644 --- a/docs/d0/d42/aes__cryptor_8h_source.html +++ b/docs/d0/d42/aes__cryptor_8h_source.html @@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d42/widevine__encryption__flags_8cc_source.html b/docs/d0/d42/widevine__encryption__flags_8cc_source.html index f871a2b41d..f3daac0d30 100644 --- a/docs/d0/d42/widevine__encryption__flags_8cc_source.html +++ b/docs/d0/d42/widevine__encryption__flags_8cc_source.html @@ -273,7 +273,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d46/fourccs_8h_source.html b/docs/d0/d46/fourccs_8h_source.html index 9b8afcf0c4..b7ebc48e01 100644 --- a/docs/d0/d46/fourccs_8h_source.html +++ b/docs/d0/d46/fourccs_8h_source.html @@ -257,7 +257,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d48/structshaka_1_1media_1_1SegmentInfo-members.html b/docs/d0/d48/structshaka_1_1media_1_1SegmentInfo-members.html index 7ac1880f85..2add268a37 100644 --- a/docs/d0/d48/structshaka_1_1media_1_1SegmentInfo-members.html +++ b/docs/d0/d48/structshaka_1_1media_1_1SegmentInfo-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html b/docs/d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html index 09f03ae361..ae59b59c77 100644 --- a/docs/d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html +++ b/docs/d0/d49/vod__media__info__dump__muxer__listener_8cc_source.html @@ -237,7 +237,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d4b/structshaka_1_1media_1_1mp4_1_1MediaInformation-members.html b/docs/d0/d4b/structshaka_1_1media_1_1mp4_1_1MediaInformation-members.html index cfd70c1b1a..71f3ecda2c 100644 --- a/docs/d0/d4b/structshaka_1_1media_1_1mp4_1_1MediaInformation-members.html +++ b/docs/d0/d4b/structshaka_1_1media_1_1mp4_1_1MediaInformation-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d4c/structshaka_1_1media_1_1StreamData.html b/docs/d0/d4c/structshaka_1_1media_1_1StreamData.html index 1a7eaaa6ad..cb34de8737 100644 --- a/docs/d0/d4c/structshaka_1_1media_1_1StreamData.html +++ b/docs/d0/d4c/structshaka_1_1media_1_1StreamData.html @@ -130,7 +130,7 @@ std::shared_ptr< diff --git a/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html b/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html index 236dc7d733..d3c70c6e71 100644 --- a/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html +++ b/docs/d0/d4d/classshaka_1_1media_1_1AudioTimestampHelper.html @@ -131,7 +131,7 @@ int64_t GetFramesToTarget< diff --git a/docs/d0/d4e/libcrypto__threading_8cc_source.html b/docs/d0/d4e/libcrypto__threading_8cc_source.html index e5ff77d588..f2c83419e0 100644 --- a/docs/d0/d4e/libcrypto__threading_8cc_source.html +++ b/docs/d0/d4e/libcrypto__threading_8cc_source.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d53/classshaka_1_1media_1_1mp2t_1_1TsMuxer-members.html b/docs/d0/d53/classshaka_1_1media_1_1mp2t_1_1TsMuxer-members.html index 922d479f4a..66cc22a86a 100644 --- a/docs/d0/d53/classshaka_1_1media_1_1mp2t_1_1TsMuxer-members.html +++ b/docs/d0/d53/classshaka_1_1media_1_1mp2t_1_1TsMuxer-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d5b/classshaka_1_1media_1_1MpdNotifyMuxerListener-members.html b/docs/d0/d5b/classshaka_1_1media_1_1MpdNotifyMuxerListener-members.html index c20dbd662a..44119b16d1 100644 --- a/docs/d0/d5b/classshaka_1_1media_1_1MpdNotifyMuxerListener-members.html +++ b/docs/d0/d5b/classshaka_1_1media_1_1MpdNotifyMuxerListener-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html b/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html index 71c95799a1..a9e2d536a5 100644 --- a/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html +++ b/docs/d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html @@ -438,7 +438,7 @@ Additional Inherited Members diff --git a/docs/d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html b/docs/d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html index b64aee1b88..35313a19f7 100644 --- a/docs/d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html +++ b/docs/d0/d73/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry.html @@ -197,7 +197,7 @@ Additional Inherited Members diff --git a/docs/d0/d7c/structshaka_1_1media_1_1mp4_1_1SampleToGroup.html b/docs/d0/d7c/structshaka_1_1media_1_1mp4_1_1SampleToGroup.html index cc2bd1d0c6..4863fd46cc 100644 --- a/docs/d0/d7c/structshaka_1_1media_1_1mp4_1_1SampleToGroup.html +++ b/docs/d0/d7c/structshaka_1_1media_1_1mp4_1_1SampleToGroup.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d0/d7d/decryptor__source_8h_source.html b/docs/d0/d7d/decryptor__source_8h_source.html index 6290540d55..fca6dc314d 100644 --- a/docs/d0/d7d/decryptor__source_8h_source.html +++ b/docs/d0/d7d/decryptor__source_8h_source.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d80/classshaka_1_1media_1_1AesCbcEncryptor-members.html b/docs/d0/d80/classshaka_1_1media_1_1AesCbcEncryptor-members.html index 949a552e72..22230fe9f5 100644 --- a/docs/d0/d80/classshaka_1_1media_1_1AesCbcEncryptor-members.html +++ b/docs/d0/d80/classshaka_1_1media_1_1AesCbcEncryptor-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/d80/classshaka_1_1media_1_1Status-members.html b/docs/d0/d80/classshaka_1_1media_1_1Status-members.html deleted file mode 100644 index 6935860cd6..0000000000 --- a/docs/d0/d80/classshaka_1_1media_1_1Status-members.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - -DASH Media Packaging SDK: Member List - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
shaka::media::Status Member List
-
-
- -

This is the complete list of members for shaka::media::Status, including all inherited members.

- - - - - - - - - - - - - - - - - -
Clear()shaka::media::Statusinline
error_code() const (defined in shaka::media::Status)shaka::media::Statusinline
error_message() const (defined in shaka::media::Status)shaka::media::Statusinline
Matches(const Status &x) const shaka::media::Statusinline
ok() const (defined in shaka::media::Status)shaka::media::Statusinline
OK (defined in shaka::media::Status)shaka::media::Statusstatic
operator!=(const Status &x) const (defined in shaka::media::Status)shaka::media::Statusinline
operator==(const Status &x) const (defined in shaka::media::Status)shaka::media::Statusinline
SetError(error::Code error_code, const std::string &error_message)shaka::media::Statusinline
Status()shaka::media::Statusinline
Status(error::Code error_code, const std::string &error_message)shaka::media::Statusinline
Swap(Status *other) (defined in shaka::media::Status)shaka::media::Statusinline
ToString() const shaka::media::Status
UNKNOWN (defined in shaka::media::Status)shaka::media::Statusstatic
Update(const Status &new_status)shaka::media::Statusinline
~Status() (defined in shaka::media::Status)shaka::media::Statusinline
- - - - diff --git a/docs/d0/d93/classshaka_1_1media_1_1Status.html b/docs/d0/d93/classshaka_1_1media_1_1Status.html deleted file mode 100644 index a7939afa22..0000000000 --- a/docs/d0/d93/classshaka_1_1media_1_1Status.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - -DASH Media Packaging SDK: shaka::media::Status Class Reference - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
shaka::media::Status Class Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

Status ()
 Creates a "successful" status.
 
 Status (error::Code error_code, const std::string &error_message)
 
void SetError (error::Code error_code, const std::string &error_message)
 
void Update (const Status &new_status)
 
-void Clear ()
 Clear this status object to contain the OK code and no error message.
 
-bool ok () const
 
-error::Code error_code () const
 
-const std::string & error_message () const
 
-bool operator== (const Status &x) const
 
-bool operator!= (const Status &x) const
 
bool Matches (const Status &x) const
 
std::string ToString () const
 
-void Swap (Status *other)
 
- - - - - - -

-Static Public Attributes

Some pre-defined Status objects.
-static const Status OK = Status(error::OK, "")
 
-static const Status UNKNOWN = Status(error::UNKNOWN, "")
 
-

Detailed Description

-
-

Definition at line 88 of file status.h.

-

Constructor & Destructor Documentation

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
shaka::media::Status::Status (error::Code error_code,
const std::string & error_message 
)
-
-inline
-
-

Create a status with the specified code, and error message. If "error_code == error::OK", error_message is ignored and a Status object identical to Status::OK is constructed.

- -

Definition at line 96 of file status.h.

- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - - -
bool shaka::media::Status::Matches (const Statusx) const
-
-inline
-
-
Returns
true iff this has the same error_code as "x", i.e., the two Status objects are identical except possibly for the error message.
- -

Definition at line 153 of file status.h.

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void shaka::media::Status::SetError (error::Code error_code,
const std::string & error_message 
)
-
-inline
-
-

Store the specified error in this Status object. If "error_code == error::OK", error_message is ignored and a Status object identical to Status::OK is constructed.

- -

Definition at line 113 of file status.h.

- -
-
- -
-
- - - - - - - -
std::string shaka::media::Status::ToString () const
-
-
Returns
A combination of the error code name and message.
- -

Definition at line 68 of file status.cc.

- -
-
- -
-
- - - - - -
- - - - - - - - -
void shaka::media::Status::Update (const Statusnew_status)
-
-inline
-
-

If "ok()", stores "new_status" into *this. If "!ok()", preserves the current "error_code()/error_message()",

-

Convenient way of keeping track of the first error encountered. Instead of: if (overall_status.ok()) overall_status = new_status Use: overall_status.Update(new_status);

- -

Definition at line 130 of file status.h.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/d0/d9a/structshaka_1_1media_1_1mp4_1_1Movie.html b/docs/d0/d9a/structshaka_1_1media_1_1mp4_1_1Movie.html index 4a622313d2..6bd94aa187 100644 --- a/docs/d0/d9a/structshaka_1_1media_1_1mp4_1_1Movie.html +++ b/docs/d0/d9a/structshaka_1_1media_1_1mp4_1_1Movie.html @@ -186,7 +186,7 @@ Additional Inherited Members diff --git a/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html b/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html index e89f8b3d75..6a640eab56 100644 --- a/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html +++ b/docs/d0/da2/classshaka_1_1media_1_1AACAudioSpecificConfig.html @@ -344,7 +344,7 @@ static const size_t  diff --git a/docs/d0/da2/classshaka_1_1media_1_1RequestSigner-members.html b/docs/d0/da2/classshaka_1_1media_1_1RequestSigner-members.html index 166b741e7c..6322e64bb0 100644 --- a/docs/d0/da2/classshaka_1_1media_1_1RequestSigner-members.html +++ b/docs/d0/da2/classshaka_1_1media_1_1RequestSigner-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/da2/structshaka_1_1xml_1_1XmlDeleter-members.html b/docs/d0/da2/structshaka_1_1xml_1_1XmlDeleter-members.html index 9ce5fd2581..a67c4035b4 100644 --- a/docs/d0/da2/structshaka_1_1xml_1_1XmlDeleter-members.html +++ b/docs/d0/da2/structshaka_1_1xml_1_1XmlDeleter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/da6/stream__descriptor_8cc_source.html b/docs/d0/da6/stream__descriptor_8cc_source.html index e00023ad20..7077b20940 100644 --- a/docs/d0/da6/stream__descriptor_8cc_source.html +++ b/docs/d0/da6/stream__descriptor_8cc_source.html @@ -265,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html b/docs/d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html index 5843889b28..9b74216c4b 100644 --- a/docs/d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html +++ b/docs/d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html @@ -119,13 +119,13 @@ Public Member Functions  Segmenter (const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov)   -Status Initialize (const std::vector< std::shared_ptr< StreamInfo >> &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener) +Status Initialize (const std::vector< std::shared_ptr< StreamInfo >> &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener)   -Status Finalize () +Status Finalize ()   -Status AddSample (size_t stream_id, std::shared_ptr< MediaSample > sample) +Status AddSample (size_t stream_id, std::shared_ptr< MediaSample > sample)   -Status FinalizeSegment (size_t stream_id, std::shared_ptr< SegmentInfo > segment_info) +Status FinalizeSegment (size_t stream_id, std::shared_ptr< SegmentInfo > segment_info)   uint32_t GetReferenceTimeScale () const @@ -261,7 +261,7 @@ void set_progress_target diff --git a/docs/d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html b/docs/d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html index 0e1839acef..d5007c1e57 100644 --- a/docs/d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html +++ b/docs/d0/dac/classshaka_1_1media_1_1EncryptionHandler-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html b/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html index c6bfbf62d6..945a0f2907 100644 --- a/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html +++ b/docs/d0/dac/classshaka_1_1media_1_1FixedKeySource.html @@ -111,13 +111,13 @@ Inheritance diagram for shaka::media::FixedKeySource:

Public Member Functions

KeySource implementation overrides.
-Status FetchKeys (EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override +Status FetchKeys (EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override   -Status GetKey (const std::string &stream_label, EncryptionKey *key) override +Status GetKey (const std::string &stream_label, EncryptionKey *key) override   -Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key) override +Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key) override   -Status GetCryptoPeriodKey (uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override +Status GetCryptoPeriodKey (uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override   diff --git a/docs/d1/d70/vp8__parser_8cc_source.html b/docs/d1/d70/vp8__parser_8cc_source.html index b95ff31623..3f85800c16 100644 --- a/docs/d1/d70/vp8__parser_8cc_source.html +++ b/docs/d1/d70/vp8__parser_8cc_source.html @@ -289,7 +289,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d72/language__utils_8cc_source.html b/docs/d1/d72/language__utils_8cc_source.html index 51b5898d67..5942b627b9 100644 --- a/docs/d1/d72/language__utils_8cc_source.html +++ b/docs/d1/d72/language__utils_8cc_source.html @@ -231,7 +231,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d74/mp2t__media__parser_8cc_source.html b/docs/d1/d74/mp2t__media__parser_8cc_source.html index 4c8ac4383d..f4731d4b1a 100644 --- a/docs/d1/d74/mp2t__media__parser_8cc_source.html +++ b/docs/d1/d74/mp2t__media__parser_8cc_source.html @@ -535,7 +535,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html b/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html index ae897f11bd..9777badec8 100644 --- a/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html +++ b/docs/d1/d79/classshaka_1_1media_1_1H265VideoSliceHeaderParser.html @@ -152,7 +152,7 @@ int64_t 

@@ -197,7 +197,7 @@ Static Public Member Functions

- + @@ -244,7 +244,7 @@ Static Public Member Functions diff --git a/docs/d0/dd0/structshaka_1_1media_1_1mp4_1_1CueSettingsBox.html b/docs/d0/dd0/structshaka_1_1media_1_1mp4_1_1CueSettingsBox.html index 105d800452..6ae00c3864 100644 --- a/docs/d0/dd0/structshaka_1_1media_1_1mp4_1_1CueSettingsBox.html +++ b/docs/d0/dd0/structshaka_1_1media_1_1mp4_1_1CueSettingsBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html b/docs/d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html index 6d66e37341..27e1ff3a5e 100644 --- a/docs/d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html +++ b/docs/d0/dd4/classshaka_1_1media_1_1ProtectionSystemSpecificInfo.html @@ -222,7 +222,7 @@ Static Public Member Functions diff --git a/docs/d0/dd6/webm__crypto__helpers_8cc_source.html b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html index eb2ee093a2..e5cc9839a6 100644 --- a/docs/d0/dd6/webm__crypto__helpers_8cc_source.html +++ b/docs/d0/dd6/webm__crypto__helpers_8cc_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html b/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html index ac03dc5d24..0a2ce17461 100644 --- a/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html +++ b/docs/d0/dd8/classshaka_1_1media_1_1AesCtrEncryptor.html @@ -165,7 +165,7 @@ AES_KEY * 
Status shaka::media::FixedKeySource::FetchKeys Status shaka::media::FixedKeySource::FetchKeys ( EmeInitDataType  init_data_type,
- + @@ -298,7 +298,7 @@ Static Public Member Functions
Status shaka::media::FixedKeySource::GetCryptoPeriodKey Status shaka::media::FixedKeySource::GetCryptoPeriodKey ( uint32_t  crypto_period_index,
- + @@ -345,7 +345,7 @@ Static Public Member Functions
Status shaka::media::FixedKeySource::GetKey Status shaka::media::FixedKeySource::GetKey ( const std::string &  stream_label,
- + @@ -391,7 +391,7 @@ Static Public Member Functions diff --git a/docs/d0/dae/file__util_8h_source.html b/docs/d0/dae/file__util_8h_source.html index 1d5a9faf19..432c896ab6 100644 --- a/docs/d0/dae/file__util_8h_source.html +++ b/docs/d0/dae/file__util_8h_source.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dbd/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html b/docs/d0/dbd/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html index e8d9f684bd..9f2dcb2f39 100644 --- a/docs/d0/dbd/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html +++ b/docs/d0/dbd/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter-members.html @@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::FixedKeySource::GetKey Status shaka::media::FixedKeySource::GetKey ( const std::vector< uint8_t > &  key_id,
diff --git a/docs/d0/dc0/structshaka_1_1media_1_1SegmentInfo.html b/docs/d0/dc0/structshaka_1_1media_1_1SegmentInfo.html index da2f246f88..25688d871a 100644 --- a/docs/d0/dc0/structshaka_1_1media_1_1SegmentInfo.html +++ b/docs/d0/dc0/structshaka_1_1media_1_1SegmentInfo.html @@ -121,7 +121,7 @@ std::shared_ptr< diff --git a/docs/d0/dc1/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html b/docs/d0/dc1/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html index 87dcf4f76d..13f1cc8517 100644 --- a/docs/d0/dc1/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html +++ b/docs/d0/dc1/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html b/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html index 9c51418622..5dfcb31491 100644 --- a/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html +++ b/docs/d0/dc8/classshaka_1_1xml_1_1AdaptationSetXmlNode-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html b/docs/d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html index b97635de80..55bcc6ebd4 100644 --- a/docs/d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html +++ b/docs/d0/dce/classshaka_1_1media_1_1RsaPrivateKey.html @@ -224,7 +224,7 @@ Static Public Member Functions
mutable_aes_key< diff --git a/docs/d0/dee/segmenter__test__base_8h_source.html b/docs/d0/dee/segmenter__test__base_8h_source.html index 03159bc861..b69f0eabb6 100644 --- a/docs/d0/dee/segmenter__test__base_8h_source.html +++ b/docs/d0/dee/segmenter__test__base_8h_source.html @@ -100,16 +100,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
11 
12 #include "packager/media/base/media_sample.h"
13 #include "packager/media/base/muxer_options.h"
-
14 #include "packager/media/base/status.h"
-
15 #include "packager/media/base/stream_info.h"
-
16 #include "packager/media/base/test/status_test_util.h"
-
17 #include "packager/media/base/video_stream_info.h"
-
18 #include "packager/media/file/file_closer.h"
-
19 #include "packager/media/file/file_test_util.h"
-
20 #include "packager/media/file/memory_file.h"
-
21 #include "packager/media/formats/webm/mkv_writer.h"
-
22 #include "packager/media/formats/webm/segmenter.h"
-
23 #include "packager/media/formats/webm/webm_parser.h"
+
14 #include "packager/media/base/stream_info.h"
+
15 #include "packager/media/base/video_stream_info.h"
+
16 #include "packager/media/file/file_closer.h"
+
17 #include "packager/media/file/file_test_util.h"
+
18 #include "packager/media/file/memory_file.h"
+
19 #include "packager/media/formats/webm/mkv_writer.h"
+
20 #include "packager/media/formats/webm/segmenter.h"
+
21 #include "packager/media/formats/webm/webm_parser.h"
+
22 #include "packager/status.h"
+
23 #include "packager/status_test_util.h"
24 
25 namespace shaka {
26 namespace media {
@@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/df3/packager__util_8cc_source.html b/docs/d0/df3/packager__util_8cc_source.html index 91a9725f44..d5d7823b3f 100644 --- a/docs/d0/df3/packager__util_8cc_source.html +++ b/docs/d0/df3/packager__util_8cc_source.html @@ -103,13 +103,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
14 #include "packager/media/base/muxer_options.h"
15 #include "packager/media/base/playready_key_source.h"
16 #include "packager/media/base/request_signer.h"
-
17 #include "packager/media/base/status.h"
-
18 #include "packager/media/base/widevine_key_source.h"
-
19 #include "packager/media/chunking/chunking_handler.h"
-
20 #include "packager/media/crypto/encryption_handler.h"
-
21 #include "packager/media/file/file.h"
-
22 #include "packager/mpd/base/mpd_options.h"
-
23 #include "packager/packager.h"
+
17 #include "packager/media/base/widevine_key_source.h"
+
18 #include "packager/media/chunking/chunking_handler.h"
+
19 #include "packager/media/crypto/encryption_handler.h"
+
20 #include "packager/media/file/file.h"
+
21 #include "packager/mpd/base/mpd_options.h"
+
22 #include "packager/packager.h"
+
23 #include "packager/status.h"
24 
25 namespace shaka {
26 namespace media {
@@ -333,7 +333,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
244  size_t num_handlers = handlers.size();
245  Status status;
246  for (size_t i = 1; i < num_handlers; ++i) {
-
247  status.Update(handlers[i - 1]->AddHandler(handlers[i]));
+
247  status.Update(handlers[i - 1]->AddHandler(handlers[i]));
248  }
249  return status;
250 }
@@ -342,7 +342,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
253 } // namespace shaka
static RsaRequestSigner * CreateSigner(const std::string &signer_name, const std::string &pkcs1_rsa_key)
static AesRequestSigner * CreateSigner(const std::string &signer_name, const std::vector< uint8_t > &aes_key, const std::vector< uint8_t > &iv)
-
void Update(const Status &new_status)
Definition: status.h:130
void SetCaFile(const std::string &ca_file)
Sets the Certificate Authority file for validating self-signed certificates.
double clear_lead_in_seconds
Clear lead duration in seconds.
@@ -352,7 +351,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d0/dfc/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry-members.html b/docs/d0/dfc/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry-members.html index 8e78d71cab..5ccf6f30e3 100644 --- a/docs/d0/dfc/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry-members.html +++ b/docs/d0/dfc/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html b/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html index 24d4e3b84c..cb4fcc2d01 100644 --- a/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html +++ b/docs/d1/d0a/classshaka_1_1media_1_1MkvWriter.html @@ -109,10 +109,10 @@ Inheritance diagram for shaka::media::MkvWriter: - + +Status  @@ -180,7 +180,7 @@ Public Member Functions

Public Member Functions

Status Open (const std::string &name)
Status Open (const std::string &name)
 
-Status Close ()
Close ()
 Closes the file. MUST call Open before calling any other methods.
 
mkvmuxer::int32 Write (const void *buf, mkvmuxer::uint32 len) override
- + @@ -376,7 +376,7 @@ Public Member Functions diff --git a/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html b/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html index 6b5a1d459d..4e41f2e8c4 100644 --- a/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html +++ b/docs/d1/d0a/structshaka_1_1media_1_1H264Sps.html @@ -242,7 +242,7 @@ int 
Status shaka::media::MkvWriter::Open Status shaka::media::MkvWriter::Open ( const std::string &  name)
chroma_array_type< diff --git a/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html b/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html index 6045609f56..d1421fca4d 100644 --- a/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html +++ b/docs/d1/d0b/hevc__decoder__configuration__record_8cc_source.html @@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d12/classshaka_1_1media_1_1mp2t_1_1EsParserH264-members.html b/docs/d1/d12/classshaka_1_1media_1_1mp2t_1_1EsParserH264-members.html index 8bb0947846..802418371b 100644 --- a/docs/d1/d12/classshaka_1_1media_1_1mp2t_1_1EsParserH264-members.html +++ b/docs/d1/d12/classshaka_1_1media_1_1mp2t_1_1EsParserH264-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d13/status_8h_source.html b/docs/d1/d13/status_8h_source.html deleted file mode 100644 index 8129369c8f..0000000000 --- a/docs/d1/d13/status_8h_source.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/base/status.h Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
status.h
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #ifndef MEDIA_BASE_STATUS_H_
-
8 #define MEDIA_BASE_STATUS_H_
-
9 
-
10 #include <iostream>
-
11 #include <string>
-
12 
-
13 namespace shaka {
-
14 namespace media {
-
15 
-
16 namespace error {
-
17 
-
19 enum Code {
-
20  // Not an error; returned on success
-
21  OK,
-
22 
-
23  // Unknown error. An example of where this error may be returned is
-
24  // errors raised by APIs that do not return enough error information
-
25  // may be converted to this error.
-
26  UNKNOWN,
-
27 
-
28  // The operation was cancelled (typically by the caller).
-
29  CANCELLED,
-
30 
-
31  // Client specified an invalid argument. INVALID_ARGUMENT indicates
-
32  // arguments that are problematic regardless of the state of the system
-
33  // (e.g. a malformed file name).
-
34  INVALID_ARGUMENT,
-
35 
-
36  // Operation is not implemented or not supported/enabled.
-
37  UNIMPLEMENTED,
-
38 
-
39  // Cannot open file.
-
40  FILE_FAILURE,
-
41 
-
42  // End of stream.
-
43  END_OF_STREAM,
-
44 
-
45  // Failure to get HTTP response successfully,
-
46  HTTP_FAILURE,
-
47 
-
48  // Unable to parse the media file.
-
49  PARSER_FAILURE,
-
50 
-
51  // Failed to do the encryption.
-
52  ENCRYPTION_FAILURE,
-
53 
-
54  // Error when trying to do chunking.
-
55  CHUNKING_ERROR,
-
56 
-
57  // Fail to mux the media file.
-
58  MUXER_FAILURE,
-
59 
-
60  // This track fragment is finalized.
-
61  FRAGMENT_FINALIZED,
-
62 
-
63  // Server errors. Receives malformed response from server.
-
64  SERVER_ERROR,
-
65 
-
66  // Internal errors. Some invariants have been broken.
-
67  INTERNAL_ERROR,
-
68 
-
69  // The operation was stopped.
-
70  STOPPED,
-
71 
-
72  // The operation timed out.
-
73  TIME_OUT,
-
74 
-
75  // Value was not found.
-
76  NOT_FOUND,
-
77 
-
78  // The entity that a client attempted to create (e.g., file or directory)
-
79  // already exists.
-
80  ALREADY_EXISTS,
-
81 
-
82  // Error when trying to generate trick play stream.
-
83  TRICK_PLAY_ERROR,
-
84 };
-
85 
-
86 } // namespace error
-
87 
-
88 class Status {
-
89  public:
-
91  Status() : error_code_(error::OK) {}
-
92 
-
96  Status(error::Code error_code, const std::string& error_message)
-
97  : error_code_(error_code) {
-
98  if (!ok())
-
99  error_message_ = error_message;
-
100  }
-
101 
-
102  ~Status() {}
-
103 
-
106  static const Status OK; // Identical to 0-arg constructor.
-
107  static const Status UNKNOWN;
-
109 
-
113  void SetError(error::Code error_code, const std::string& error_message) {
-
114  if (error_code == error::OK) {
-
115  Clear();
-
116  } else {
-
117  error_code_ = error_code;
-
118  error_message_ = error_message;
-
119  }
-
120  }
-
121 
-
130  void Update(const Status& new_status) {
-
131  if (ok())
-
132  *this = new_status;
-
133  }
-
134 
-
136  void Clear() {
-
137  error_code_ = error::OK;
-
138  error_message_ = "";
-
139  }
-
140 
-
141  bool ok() const { return error_code_ == error::OK; }
-
142  error::Code error_code() const { return error_code_; }
-
143  const std::string& error_message() const { return error_message_; }
-
144 
-
145  bool operator==(const Status& x) const {
-
146  return error_code_ == x.error_code() && error_message_ == x.error_message();
-
147  }
-
148  bool operator!=(const Status& x) const { return !(*this == x); }
-
149 
-
153  bool Matches(const Status& x) const { return error_code_ == x.error_code(); }
-
154 
-
156  std::string ToString() const;
-
157 
-
158  void Swap(Status* other) {
-
159  error::Code error_code = error_code_;
-
160  error_code_ = other->error_code_;
-
161  other->error_code_ = error_code;
-
162  error_message_.swap(other->error_message_);
-
163  }
-
164 
-
165  private:
-
166  error::Code error_code_;
-
167  std::string error_message_;
-
168 
-
169  // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler
-
170  // generated copy constructor and assignment operator.
-
171 };
-
172 
-
173 std::ostream& operator<<(std::ostream& os, const Status& x);
-
174 
-
175 } // namespace media
-
176 } // namespace shaka
-
177 
-
178 #endif // MEDIA_BASE_STATUS_H_
-
void SetError(error::Code error_code, const std::string &error_message)
Definition: status.h:113
-
bool Matches(const Status &x) const
Definition: status.h:153
-
std::string ToString() const
Definition: status.cc:68
-
void Update(const Status &new_status)
Definition: status.h:130
-
Status()
Creates a "successful" status.
Definition: status.h:91
-
void Clear()
Clear this status object to contain the OK code and no error message.
Definition: status.h:136
- -
Status(error::Code error_code, const std::string &error_message)
Definition: status.h:96
-
- - - - diff --git a/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html b/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html index 07aa9c9f0f..8e6eba252e 100644 --- a/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html +++ b/docs/d1/d1c/two__pass__single__segment__segmenter_8cc_source.html @@ -282,7 +282,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d1d/muxer__flags_8cc_source.html b/docs/d1/d1d/muxer__flags_8cc_source.html index 634ebb44d1..9d2ac1e2a6 100644 --- a/docs/d1/d1d/muxer__flags_8cc_source.html +++ b/docs/d1/d1d/muxer__flags_8cc_source.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html b/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html index e581f65098..e7388437a9 100644 --- a/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html +++ b/docs/d1/d1f/classshaka_1_1media_1_1KeySource.html @@ -112,13 +112,13 @@ Inheritance diagram for shaka::media::KeySource: - + - + - + - +

Public Member Functions

virtual Status FetchKeys (EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data)=0
virtual Status FetchKeys (EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data)=0
 
virtual Status GetKey (const std::string &stream_label, EncryptionKey *key)=0
virtual Status GetKey (const std::string &stream_label, EncryptionKey *key)=0
 
virtual Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key)=0
virtual Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key)=0
 
virtual Status GetCryptoPeriodKey (uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key)=0
virtual Status GetCryptoPeriodKey (uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key)=0
 

Detailed Description

@@ -134,7 +134,7 @@ Public Member Functions
- + @@ -179,7 +179,7 @@ Public Member Functions diff --git a/docs/d1/d2f/webvtt__media__parser_8cc_source.html b/docs/d1/d2f/webvtt__media__parser_8cc_source.html index b0c030bc80..8643f925b4 100644 --- a/docs/d1/d2f/webvtt__media__parser_8cc_source.html +++ b/docs/d1/d2f/webvtt__media__parser_8cc_source.html @@ -408,7 +408,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html b/docs/d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html index e0314aec84..572ebec7fd 100644 --- a/docs/d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html +++ b/docs/d1/d30/classshaka_1_1media_1_1mp2t_1_1TsSectionPes.html @@ -142,7 +142,7 @@ Additional Inherited Members diff --git a/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html b/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html index 4755d675bb..a85820f9e1 100644 --- a/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html +++ b/docs/d1/d31/classshaka_1_1xml_1_1XmlNode.html @@ -419,7 +419,7 @@ bool  +Status  +Status  - + @@ -132,12 +132,12 @@ bool  - + - + +Status  - + +Status  +Status  +Status  +Status  +Status  +Status  +Status  +Status 
virtual Status shaka::media::KeySource::FetchKeys virtual Status shaka::media::KeySource::FetchKeys ( EmeInitDataType  init_data_type,
- + @@ -231,7 +231,7 @@ Public Member Functions
virtual Status shaka::media::KeySource::GetCryptoPeriodKey virtual Status shaka::media::KeySource::GetCryptoPeriodKey ( uint32_t  crypto_period_index,
- + @@ -276,7 +276,7 @@ Public Member Functions
virtual Status shaka::media::KeySource::GetKey virtual Status shaka::media::KeySource::GetKey ( const std::string &  stream_label,
- + @@ -320,7 +320,7 @@ Public Member Functions diff --git a/docs/d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html b/docs/d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html index 29f4c2f843..3475310ff1 100644 --- a/docs/d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html +++ b/docs/d1/d20/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator.html @@ -235,7 +235,7 @@ Public Member Functions diff --git a/docs/d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html b/docs/d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html index a0b985120f..aefe83b1c7 100644 --- a/docs/d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html +++ b/docs/d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual Status shaka::media::KeySource::GetKey virtual Status shaka::media::KeySource::GetKey ( const std::vector< uint8_t > &  key_id,
diff --git a/docs/d1/d27/key__fetcher_8h_source.html b/docs/d1/d27/key__fetcher_8h_source.html index aa3b31538e..4d2046e6ad 100644 --- a/docs/d1/d27/key__fetcher_8h_source.html +++ b/docs/d1/d27/key__fetcher_8h_source.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MEDIA_BASE_KEY_FETCHER_H_
9 
10 #include "base/macros.h"
-
11 #include "packager/media/base/status.h"
+
11 #include "packager/status.h"
12 
13 namespace shaka {
14 namespace media {
@@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
19  KeyFetcher();
20  virtual ~KeyFetcher();
21 
-
28  virtual Status FetchKeys(const std::string& service_address,
+
28  virtual Status FetchKeys(const std::string& service_address,
29  const std::string& request,
30  std::string* response) = 0;
31 
@@ -122,11 +122,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
40 
virtual Status FetchKeys(const std::string &service_address, const std::string &request, std::string *response)=0
Base class for fetching keys from the license service.
Definition: key_fetcher.h:17
- diff --git a/docs/d1/d28/classshaka_1_1media_1_1mp2t_1_1AdtsHeader-members.html b/docs/d1/d28/classshaka_1_1media_1_1mp2t_1_1AdtsHeader-members.html index 088500e323..126e52e49c 100644 --- a/docs/d1/d28/classshaka_1_1media_1_1mp2t_1_1AdtsHeader-members.html +++ b/docs/d1/d28/classshaka_1_1media_1_1mp2t_1_1AdtsHeader-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d2a/decryptor__source_8cc_source.html b/docs/d1/d2a/decryptor__source_8cc_source.html index 17c3f3f0f4..8c479ec574 100644 --- a/docs/d1/d2a/decryptor__source_8cc_source.html +++ b/docs/d1/d2a/decryptor__source_8cc_source.html @@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2b/file__util_8cc_source.html b/docs/d1/d2b/file__util_8cc_source.html index 1c720d4b90..739efcb416 100644 --- a/docs/d1/d2b/file__util_8cc_source.html +++ b/docs/d1/d2b/file__util_8cc_source.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d2c/structshaka_1_1media_1_1mp4_1_1DataReference-members.html b/docs/d1/d2c/structshaka_1_1media_1_1mp4_1_1DataReference-members.html index 9e875acc63..3d0ab4297c 100644 --- a/docs/d1/d2c/structshaka_1_1media_1_1mp4_1_1DataReference-members.html +++ b/docs/d1/d2c/structshaka_1_1media_1_1mp4_1_1DataReference-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html b/docs/d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html index 4aef2d9b15..9448762335 100644 --- a/docs/d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html +++ b/docs/d1/d2d/structshaka_1_1media_1_1mp4_1_1Box.html @@ -385,7 +385,7 @@ class 
BoxBuffer
diff --git a/docs/d1/d34/structshaka_1_1media_1_1SubsampleEntry.html b/docs/d1/d34/structshaka_1_1media_1_1SubsampleEntry.html index ac5049ff9f..57ea0fe301 100644 --- a/docs/d1/d34/structshaka_1_1media_1_1SubsampleEntry.html +++ b/docs/d1/d34/structshaka_1_1media_1_1SubsampleEntry.html @@ -122,7 +122,7 @@ uint32_t cipher_bytes< diff --git a/docs/d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html b/docs/d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html index 0a6c3e0690..1a919f5755 100644 --- a/docs/d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html +++ b/docs/d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html @@ -116,14 +116,14 @@ void clear_stream_data_vec
 
- Public Member Functions inherited from shaka::media::MediaHandler
-Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
 Connect downstream handler at the specified output stream index.
 
-Status AddHandler (std::shared_ptr< MediaHandler > handler)
AddHandler (std::shared_ptr< MediaHandler > handler)
 Connect downstream handler to the next availble output stream index.
 
Status Initialize ()
Status Initialize ()
 
bool IsConnected ()

Protected Member Functions

Status InitializeInternal () override
Status InitializeInternal () override
 
Status Process (std::unique_ptr< StreamData > stream_data) override
Status Process (std::unique_ptr< StreamData > stream_data) override
 
-Status OnFlushRequest (size_t input_stream_index) override
OnFlushRequest (size_t input_stream_index) override
 Event handler for flush request at the specific input stream index.
 
@@ -145,38 +145,38 @@ bool  Validate if the stream at the specified index actually exists.
 
- Protected Member Functions inherited from shaka::media::MediaHandler
Status Dispatch (std::unique_ptr< StreamData > stream_data)
Status Dispatch (std::unique_ptr< StreamData > stream_data)
 
-Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)
DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)
 Dispatch the period info to downstream handlers.
 
-Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
 Dispatch the stream info to downstream handlers.
 
-Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)
DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)
 Dispatch the media sample to downstream handlers.
 
-Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)
DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)
 Dispatch the text sample to downsream handlers.
 
-Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)
DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)
 Dispatch the media event to downstream handlers.
 
-Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)
DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)
 Dispatch the segment info to downstream handlers.
 
-Status FlushDownstream (size_t output_stream_index)
FlushDownstream (size_t output_stream_index)
 Flush the downstream connected at the specified output stream index.
 
-Status FlushAllDownstreams ()
FlushAllDownstreams ()
 Flush all connected downstreams.
 
@@ -213,7 +213,7 @@ std::vector< std::unique_ptr
- + @@ -241,7 +241,7 @@ std::vector< std::unique_ptr
Status shaka::media::FakeMediaHandler::InitializeInternal Status shaka::media::FakeMediaHandler::InitializeInternal ( ) - + @@ -269,7 +269,7 @@ std::vector< std::unique_ptr
diff --git a/docs/d1/d37/es__parser__h264_8h_source.html b/docs/d1/d37/es__parser__h264_8h_source.html index 1c9b9987bf..76d42b2157 100644 --- a/docs/d1/d37/es__parser__h264_8h_source.html +++ b/docs/d1/d37/es__parser__h264_8h_source.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d3b/mpd__generator__flags_8h_source.html b/docs/d1/d3b/mpd__generator__flags_8h_source.html index 47fa7bab85..ec62b53760 100644 --- a/docs/d1/d3b/mpd__generator__flags_8h_source.html +++ b/docs/d1/d3b/mpd__generator__flags_8h_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d3e/structshaka_1_1media_1_1mp4_1_1MovieExtends.html b/docs/d1/d3e/structshaka_1_1media_1_1mp4_1_1MovieExtends.html index 2cd951c3fa..74ff3aa27e 100644 --- a/docs/d1/d3e/structshaka_1_1media_1_1mp4_1_1MovieExtends.html +++ b/docs/d1/d3e/structshaka_1_1media_1_1mp4_1_1MovieExtends.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/d1/d40/classshaka_1_1MpdWriter-members.html b/docs/d1/d40/classshaka_1_1MpdWriter-members.html index 23076fd503..20e1c85db3 100644 --- a/docs/d1/d40/classshaka_1_1MpdWriter-members.html +++ b/docs/d1/d40/classshaka_1_1MpdWriter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::FakeMediaHandler::Process Status shaka::media::FakeMediaHandler::Process ( std::unique_ptr< StreamData stream_data)
diff --git a/docs/d1/d45/decoding__time__iterator_8cc_source.html b/docs/d1/d45/decoding__time__iterator_8cc_source.html index 480958e846..64b817ce72 100644 --- a/docs/d1/d45/decoding__time__iterator_8cc_source.html +++ b/docs/d1/d45/decoding__time__iterator_8cc_source.html @@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d48/text__track__config_8h_source.html b/docs/d1/d48/text__track__config_8h_source.html index 3854bcca0c..d0a5dc6d95 100644 --- a/docs/d1/d48/text__track__config_8h_source.html +++ b/docs/d1/d48/text__track__config_8h_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d4f/classshaka_1_1media_1_1OffsetByteQueue-members.html b/docs/d1/d4f/classshaka_1_1media_1_1OffsetByteQueue-members.html index 5d0f2811ce..e96a3bf314 100644 --- a/docs/d1/d4f/classshaka_1_1media_1_1OffsetByteQueue-members.html +++ b/docs/d1/d4f/classshaka_1_1media_1_1OffsetByteQueue-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d5a/structshaka_1_1media_1_1EncryptionKey-members.html b/docs/d1/d5a/structshaka_1_1media_1_1EncryptionKey-members.html index 443019f2e4..f525f0f26a 100644 --- a/docs/d1/d5a/structshaka_1_1media_1_1EncryptionKey-members.html +++ b/docs/d1/d5a/structshaka_1_1media_1_1EncryptionKey-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d6e/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader.html b/docs/d1/d6e/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader.html index b323ee1742..92cfe6915e 100644 --- a/docs/d1/d6e/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader.html +++ b/docs/d1/d6e/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader.html @@ -222,7 +222,7 @@ Additional Inherited Members
diff --git a/docs/d1/d7d/webm__video__client_8cc_source.html b/docs/d1/d7d/webm__video__client_8cc_source.html index 607a054f12..c3704b440d 100644 --- a/docs/d1/d7d/webm__video__client_8cc_source.html +++ b/docs/d1/d7d/webm__video__client_8cc_source.html @@ -334,7 +334,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d81/structshaka_1_1media_1_1H265ReferencePictureSet-members.html b/docs/d1/d81/structshaka_1_1media_1_1H265ReferencePictureSet-members.html index 9000906e71..62980bd9ed 100644 --- a/docs/d1/d81/structshaka_1_1media_1_1H265ReferencePictureSet-members.html +++ b/docs/d1/d81/structshaka_1_1media_1_1H265ReferencePictureSet-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d1/d82/adts__constants_8h_source.html b/docs/d1/d82/adts__constants_8h_source.html index 6f97bd3973..6a62da684b 100644 --- a/docs/d1/d82/adts__constants_8h_source.html +++ b/docs/d1/d82/adts__constants_8h_source.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d82/classshaka_1_1media_1_1WebMParserClient-members.html b/docs/d1/d82/classshaka_1_1media_1_1WebMParserClient-members.html index d695244ceb..85b2aa05b3 100644 --- a/docs/d1/d82/classshaka_1_1media_1_1WebMParserClient-members.html +++ b/docs/d1/d82/classshaka_1_1media_1_1WebMParserClient-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d8e/webm__audio__client_8cc_source.html b/docs/d1/d8e/webm__audio__client_8cc_source.html index dc05ecd522..7fde2ee1a8 100644 --- a/docs/d1/d8e/webm__audio__client_8cc_source.html +++ b/docs/d1/d8e/webm__audio__client_8cc_source.html @@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d8f/retired__flags_8h_source.html b/docs/d1/d8f/retired__flags_8h_source.html index 10401b6b4f..b1a3be2ceb 100644 --- a/docs/d1/d8f/retired__flags_8h_source.html +++ b/docs/d1/d8f/retired__flags_8h_source.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d91/classshaka_1_1media_1_1H26xBitReader-members.html b/docs/d1/d91/classshaka_1_1media_1_1H26xBitReader-members.html index 1b9c86953b..5d348de2e0 100644 --- a/docs/d1/d91/classshaka_1_1media_1_1H26xBitReader-members.html +++ b/docs/d1/d91/classshaka_1_1media_1_1H26xBitReader-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d9d/classshaka_1_1media_1_1ByteQueue-members.html b/docs/d1/d9d/classshaka_1_1media_1_1ByteQueue-members.html index c06341359d..600f7759c3 100644 --- a/docs/d1/d9d/classshaka_1_1media_1_1ByteQueue-members.html +++ b/docs/d1/d9d/classshaka_1_1media_1_1ByteQueue-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d9d/tracks__builder_8h_source.html b/docs/d1/d9d/tracks__builder_8h_source.html index 862550b255..0c06a053d8 100644 --- a/docs/d1/d9d/tracks__builder_8h_source.html +++ b/docs/d1/d9d/tracks__builder_8h_source.html @@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/d9e/structshaka_1_1media_1_1mp4_1_1CodecConfiguration-members.html b/docs/d1/d9e/structshaka_1_1media_1_1mp4_1_1CodecConfiguration-members.html index e271aa17f9..1711274a4d 100644 --- a/docs/d1/d9e/structshaka_1_1media_1_1mp4_1_1CodecConfiguration-members.html +++ b/docs/d1/d9e/structshaka_1_1media_1_1mp4_1_1CodecConfiguration-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html b/docs/d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html index 2c25ee4d98..cfabf03462 100644 --- a/docs/d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html +++ b/docs/d1/da1/classshaka_1_1media_1_1mp4_1_1BoxBuffer.html @@ -589,7 +589,7 @@ bool ReadWriteInt64 (i diff --git a/docs/d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html b/docs/d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html index 40f3b58b26..08917226cd 100644 --- a/docs/d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html +++ b/docs/d1/da1/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample.html @@ -116,7 +116,7 @@ std::shared_ptr< diff --git a/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html b/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html index 4784be09ed..01f803a3d0 100644 --- a/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html +++ b/docs/d1/da2/classshaka_1_1media_1_1NalUnitToByteStreamConverter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html b/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html index c171dd625d..ccb163bce8 100644 --- a/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html +++ b/docs/d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html @@ -359,7 +359,7 @@ uint8_t chroma_location diff --git a/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html b/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html index 1acebd080e..e15efca12e 100644 --- a/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html +++ b/docs/d1/dad/classshaka_1_1media_1_1Demuxer-members.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html b/docs/d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html index 4d8ebb2222..8405342a8b 100644 --- a/docs/d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html +++ b/docs/d1/db0/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader.html @@ -191,7 +191,7 @@ Additional Inherited Members diff --git a/docs/d1/db2/decoder__configuration__record_8h_source.html b/docs/d1/db2/decoder__configuration__record_8h_source.html index e40fe332b0..8d34980b43 100644 --- a/docs/d1/db2/decoder__configuration__record_8h_source.html +++ b/docs/d1/db2/decoder__configuration__record_8h_source.html @@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dbe/classshaka_1_1media_1_1PlayReadyKeySource-members.html b/docs/d1/dbe/classshaka_1_1media_1_1PlayReadyKeySource-members.html index e9f53134e1..2b62da1eb8 100644 --- a/docs/d1/dbe/classshaka_1_1media_1_1PlayReadyKeySource-members.html +++ b/docs/d1/dbe/classshaka_1_1media_1_1PlayReadyKeySource-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dc2/h26x__bit__reader_8h_source.html b/docs/d1/dc2/h26x__bit__reader_8h_source.html index 8e6527fbad..832962179a 100644 --- a/docs/d1/dc2/h26x__bit__reader_8h_source.html +++ b/docs/d1/dc2/h26x__bit__reader_8h_source.html @@ -192,7 +192,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html b/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html index f7807b1310..604d452d14 100644 --- a/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html +++ b/docs/d1/dd5/classshaka_1_1media_1_1Cluster.html @@ -116,7 +116,7 @@ int size () const diff --git a/docs/d1/dd6/structshaka_1_1media_1_1mp4_1_1DataInformation-members.html b/docs/d1/dd6/structshaka_1_1media_1_1mp4_1_1DataInformation-members.html index b1c0215b70..d0506ef87c 100644 --- a/docs/d1/dd6/structshaka_1_1media_1_1mp4_1_1DataInformation-members.html +++ b/docs/d1/dd6/structshaka_1_1media_1_1mp4_1_1DataInformation-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dda/structshaka_1_1media_1_1EncryptionConfig-members.html b/docs/d1/dda/structshaka_1_1media_1_1EncryptionConfig-members.html index 9146a6ec7d..51fb723208 100644 --- a/docs/d1/dda/structshaka_1_1media_1_1EncryptionConfig-members.html +++ b/docs/d1/dda/structshaka_1_1media_1_1EncryptionConfig-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html b/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html index f52c2cef7e..314f17067b 100644 --- a/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html +++ b/docs/d1/de2/classshaka_1_1media_1_1VideoStreamInfo-members.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de2/composition__offset__iterator_8cc_source.html b/docs/d1/de2/composition__offset__iterator_8cc_source.html index d52dd243e4..bf9cdd79f3 100644 --- a/docs/d1/de2/composition__offset__iterator_8cc_source.html +++ b/docs/d1/de2/composition__offset__iterator_8cc_source.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de4/classshaka_1_1media_1_1KeyFetcher-members.html b/docs/d1/de4/classshaka_1_1media_1_1KeyFetcher-members.html index 9db7da1d61..375d13a336 100644 --- a/docs/d1/de4/classshaka_1_1media_1_1KeyFetcher-members.html +++ b/docs/d1/de4/classshaka_1_1media_1_1KeyFetcher-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html b/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html index 6ccdfbf817..ac5b581a4d 100644 --- a/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html +++ b/docs/d1/de7/classshaka_1_1xml_1_1AdaptationSetXmlNode.html @@ -201,7 +201,7 @@ Additional Inherited Members diff --git a/docs/d1/de7/structshaka_1_1media_1_1H265ReferencePictureListModifications-members.html b/docs/d1/de7/structshaka_1_1media_1_1H265ReferencePictureListModifications-members.html index 801bf16258..56f7b988eb 100644 --- a/docs/d1/de7/structshaka_1_1media_1_1H265ReferencePictureListModifications-members.html +++ b/docs/d1/de7/structshaka_1_1media_1_1H265ReferencePictureListModifications-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/de9/classshaka_1_1media_1_1ProgressListener-members.html b/docs/d1/de9/classshaka_1_1media_1_1ProgressListener-members.html index f537fd7dcb..8e9225ef5e 100644 --- a/docs/d1/de9/classshaka_1_1media_1_1ProgressListener-members.html +++ b/docs/d1/de9/classshaka_1_1media_1_1ProgressListener-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html b/docs/d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html index 66e55edda0..e406457c3b 100644 --- a/docs/d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html +++ b/docs/d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html @@ -468,7 +468,7 @@ template<typename T > diff --git a/docs/d1/dee/structshaka_1_1media_1_1mp4_1_1SampleTable.html b/docs/d1/dee/structshaka_1_1media_1_1mp4_1_1SampleTable.html index beada9fc19..ad126ea7d0 100644 --- a/docs/d1/dee/structshaka_1_1media_1_1mp4_1_1SampleTable.html +++ b/docs/d1/dee/structshaka_1_1media_1_1mp4_1_1SampleTable.html @@ -198,7 +198,7 @@ Additional Inherited Members diff --git a/docs/d1/df0/aes__encryptor_8h_source.html b/docs/d1/df0/aes__encryptor_8h_source.html index aa915cfed2..92a0012b2b 100644 --- a/docs/d1/df0/aes__encryptor_8h_source.html +++ b/docs/d1/df0/aes__encryptor_8h_source.html @@ -194,7 +194,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/df3/structshaka_1_1MpdOptions.html b/docs/d1/df3/structshaka_1_1MpdOptions.html index 9e2bdee9a4..8c4f750774 100644 --- a/docs/d1/df3/structshaka_1_1MpdOptions.html +++ b/docs/d1/df3/structshaka_1_1MpdOptions.html @@ -133,7 +133,7 @@ std::string default_langua diff --git a/docs/d1/df5/nalu__reader_8cc_source.html b/docs/d1/df5/nalu__reader_8cc_source.html index 30bc455d44..92d31ded86 100644 --- a/docs/d1/df5/nalu__reader_8cc_source.html +++ b/docs/d1/df5/nalu__reader_8cc_source.html @@ -574,7 +574,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d1/df9/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader-members.html b/docs/d1/df9/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader-members.html index 760c9468ad..1d4a8558e2 100644 --- a/docs/d1/df9/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader-members.html +++ b/docs/d1/df9/structshaka_1_1media_1_1mp4_1_1VideoMediaHeader-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d02/timestamp_8h_source.html b/docs/d2/d02/timestamp_8h_source.html index 6ac6c15d7a..f486a21c3f 100644 --- a/docs/d2/d02/timestamp_8h_source.html +++ b/docs/d2/d02/timestamp_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d0b/classshaka_1_1media_1_1SeekHead-members.html b/docs/d2/d0b/classshaka_1_1media_1_1SeekHead-members.html index 0768bc7b72..9e2f3493c2 100644 --- a/docs/d2/d0b/classshaka_1_1media_1_1SeekHead-members.html +++ b/docs/d2/d0b/classshaka_1_1media_1_1SeekHead-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html b/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html index 5420c39a66..c75151393c 100644 --- a/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html +++ b/docs/d2/d0f/classshaka_1_1MpdBuilder-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d0f/structshaka_1_1media_1_1wvm_1_1PrevSampleData.html b/docs/d2/d0f/structshaka_1_1media_1_1wvm_1_1PrevSampleData.html index 3e548be83d..02b541629e 100644 --- a/docs/d2/d0f/structshaka_1_1media_1_1wvm_1_1PrevSampleData.html +++ b/docs/d2/d0f/structshaka_1_1media_1_1wvm_1_1PrevSampleData.html @@ -132,7 +132,7 @@ int64_t video_sample_durat diff --git a/docs/d2/d11/classshaka_1_1media_1_1MuxerListener-members.html b/docs/d2/d11/classshaka_1_1media_1_1MuxerListener-members.html index 11a1b13a78..a780fd4aee 100644 --- a/docs/d2/d11/classshaka_1_1media_1_1MuxerListener-members.html +++ b/docs/d2/d11/classshaka_1_1media_1_1MuxerListener-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d17/ts__section__pat_8cc_source.html b/docs/d2/d17/ts__section__pat_8cc_source.html index eac39d81ab..dfc88d65f9 100644 --- a/docs/d2/d17/ts__section__pat_8cc_source.html +++ b/docs/d2/d17/ts__section__pat_8cc_source.html @@ -214,7 +214,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d23/threaded__io__file_8cc_source.html b/docs/d2/d23/threaded__io__file_8cc_source.html index 60a676804c..81b59bf1ea 100644 --- a/docs/d2/d23/threaded__io__file_8cc_source.html +++ b/docs/d2/d23/threaded__io__file_8cc_source.html @@ -317,7 +317,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d24/packager__util_8h_source.html b/docs/d2/d24/packager__util_8h_source.html index b60b7c0bea..003d641653 100644 --- a/docs/d2/d24/packager__util_8h_source.html +++ b/docs/d2/d24/packager__util_8h_source.html @@ -118,38 +118,37 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
29 
30 class MediaHandler;
31 class KeySource;
-
32 class Status;
-
33 struct ChunkingOptions;
-
34 struct EncryptionOptions;
-
35 struct MuxerOptions;
-
36 
-
43 std::unique_ptr<KeySource> CreateEncryptionKeySource(
-
44  FourCC protection_scheme,
-
45  const EncryptionParams& encryption_params);
-
46 
-
51 std::unique_ptr<KeySource> CreateDecryptionKeySource(
-
52  const DecryptionParams& decryption_params);
-
53 
-
55 ChunkingOptions GetChunkingOptions(const ChunkingParams& chunking_params);
-
56 
-
58 EncryptionOptions GetEncryptionOptions(
-
59  const EncryptionParams& encryption_params);
-
60 
-
62 MuxerOptions GetMuxerOptions(const std::string& temp_dir,
-
63  const Mp4OutputParams& mp4_params);
-
64 
-
66 MpdOptions GetMpdOptions(bool on_demand_profile, const MpdParams& mpd_params);
-
67 
-
72 Status ConnectHandlers(std::vector<std::shared_ptr<MediaHandler>>& handlers);
-
73 
-
74 } // namespace media
-
75 } // namespace shaka
-
76 
-
77 #endif // PACKAGER_APP_PACKAGER_UTIL_H_
+
32 struct ChunkingOptions;
+
33 struct EncryptionOptions;
+
34 struct MuxerOptions;
+
35 
+
42 std::unique_ptr<KeySource> CreateEncryptionKeySource(
+
43  FourCC protection_scheme,
+
44  const EncryptionParams& encryption_params);
+
45 
+
50 std::unique_ptr<KeySource> CreateDecryptionKeySource(
+
51  const DecryptionParams& decryption_params);
+
52 
+
54 ChunkingOptions GetChunkingOptions(const ChunkingParams& chunking_params);
+
55 
+
57 EncryptionOptions GetEncryptionOptions(
+
58  const EncryptionParams& encryption_params);
+
59 
+
61 MuxerOptions GetMuxerOptions(const std::string& temp_dir,
+
62  const Mp4OutputParams& mp4_params);
+
63 
+
65 MpdOptions GetMpdOptions(bool on_demand_profile, const MpdParams& mpd_params);
+
66 
+
71 Status ConnectHandlers(std::vector<std::shared_ptr<MediaHandler>>& handlers);
+
72 
+
73 } // namespace media
+
74 } // namespace shaka
+
75 
+
76 #endif // PACKAGER_APP_PACKAGER_UTIL_H_
diff --git a/docs/d2/d30/tracks__builder_8cc_source.html b/docs/d2/d30/tracks__builder_8cc_source.html index 7573651be3..505a1bd712 100644 --- a/docs/d2/d30/tracks__builder_8cc_source.html +++ b/docs/d2/d30/tracks__builder_8cc_source.html @@ -486,7 +486,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d33/video__slice__header__parser_8h_source.html b/docs/d2/d33/video__slice__header__parser_8h_source.html index cea235f68a..381ba55ac8 100644 --- a/docs/d2/d33/video__slice__header__parser_8h_source.html +++ b/docs/d2/d33/video__slice__header__parser_8h_source.html @@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html b/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html index 66eeedccb0..53938bdc4e 100644 --- a/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html +++ b/docs/d2/d35/classshaka_1_1media_1_1WidevineKeySource-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d3c/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html b/docs/d2/d3c/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html index 374952ad22..0162ee96f6 100644 --- a/docs/d2/d3c/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html +++ b/docs/d2/d3c/structshaka_1_1media_1_1mp4_1_1TrackFragmentHeader-members.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d45/program__map__table__writer_8cc_source.html b/docs/d2/d45/program__map__table__writer_8cc_source.html index ff557a8df9..af74aaca9c 100644 --- a/docs/d2/d45/program__map__table__writer_8cc_source.html +++ b/docs/d2/d45/program__map__table__writer_8cc_source.html @@ -495,7 +495,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html b/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html index 5141fc2b29..f9a8c5b863 100644 --- a/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html +++ b/docs/d2/d4c/nal__unit__to__byte__stream__converter_8cc_source.html @@ -486,7 +486,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d4d/file_8h_source.html b/docs/d2/d4d/file_8h_source.html index 21d97fbb6f..175bd9854d 100644 --- a/docs/d2/d4d/file_8h_source.html +++ b/docs/d2/d4d/file_8h_source.html @@ -191,7 +191,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d4f/structshaka_1_1Element-members.html b/docs/d2/d4f/structshaka_1_1Element-members.html index c8e3941359..4e1d4711c5 100644 --- a/docs/d2/d4f/structshaka_1_1Element-members.html +++ b/docs/d2/d4f/structshaka_1_1Element-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html b/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html index 7744a1a69e..469e55a7e6 100644 --- a/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html +++ b/docs/d2/d51/classshaka_1_1MockMpdNotifier-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html b/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html index 0dd0ecef68..f4edf456b2 100644 --- a/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html +++ b/docs/d2/d59/structshaka_1_1media_1_1H264SliceHeader.html @@ -264,7 +264,7 @@ int slice_beta_offset_div2 diff --git a/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html b/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html index d2d3551e48..f42321a051 100644 --- a/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html +++ b/docs/d2/d5b/classshaka_1_1media_1_1KeySource-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html b/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html index ca1aec3d70..ae650d7e33 100644 --- a/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html +++ b/docs/d2/d5c/classshaka_1_1SimpleMpdNotifier-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d61/structshaka_1_1media_1_1H264ModificationOfPicNum-members.html b/docs/d2/d61/structshaka_1_1media_1_1H264ModificationOfPicNum-members.html index 33e87deec0..7bba1682a8 100644 --- a/docs/d2/d61/structshaka_1_1media_1_1H264ModificationOfPicNum-members.html +++ b/docs/d2/d61/structshaka_1_1media_1_1H264ModificationOfPicNum-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d62/simple__mpd__notifier_8h_source.html b/docs/d2/d62/simple__mpd__notifier_8h_source.html index ece60b7dcb..98f4a99ee2 100644 --- a/docs/d2/d62/simple__mpd__notifier_8h_source.html +++ b/docs/d2/d62/simple__mpd__notifier_8h_source.html @@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d62/structshaka_1_1media_1_1mp4_1_1Movie-members.html b/docs/d2/d62/structshaka_1_1media_1_1mp4_1_1Movie-members.html index edd2490ccc..6f5ce1717f 100644 --- a/docs/d2/d62/structshaka_1_1media_1_1mp4_1_1Movie-members.html +++ b/docs/d2/d62/structshaka_1_1media_1_1mp4_1_1Movie-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d6a/classshaka_1_1media_1_1AesCryptor-members.html b/docs/d2/d6a/classshaka_1_1media_1_1AesCryptor-members.html index 94179f55f7..54c03bed04 100644 --- a/docs/d2/d6a/classshaka_1_1media_1_1AesCryptor-members.html +++ b/docs/d2/d6a/classshaka_1_1media_1_1AesCryptor-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d6f/classBandwidthEstimator.html b/docs/d2/d6f/classBandwidthEstimator.html index 33888a23d6..44131be41d 100644 --- a/docs/d2/d6f/classBandwidthEstimator.html +++ b/docs/d2/d6f/classBandwidthEstimator.html @@ -151,7 +151,7 @@ static const int kUseAllBl diff --git a/docs/d2/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html b/docs/d2/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html index 6ef0b24c65..abf3f15d27 100644 --- a/docs/d2/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html +++ b/docs/d2/d70/structshaka_1_1media_1_1mp4_1_1SchemeInfo.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html b/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html index 3a03333695..3d98a669f2 100644 --- a/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html +++ b/docs/d2/d7b/classshaka_1_1DashIopMpdNotifier-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d7b/simple__mpd__notifier_8cc_source.html b/docs/d2/d7b/simple__mpd__notifier_8cc_source.html index f4cd3f2008..abf176ce34 100644 --- a/docs/d2/d7b/simple__mpd__notifier_8cc_source.html +++ b/docs/d2/d7b/simple__mpd__notifier_8cc_source.html @@ -235,7 +235,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d7e/aac__audio__specific__config_8h_source.html b/docs/d2/d7e/aac__audio__specific__config_8h_source.html index 68879fc4b4..ca8fed68fb 100644 --- a/docs/d2/d7e/aac__audio__specific__config_8h_source.html +++ b/docs/d2/d7e/aac__audio__specific__config_8h_source.html @@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d7f/structshaka_1_1media_1_1mp4_1_1CuePayloadBox.html b/docs/d2/d7f/structshaka_1_1media_1_1mp4_1_1CuePayloadBox.html index af9dd419ae..41c06505b8 100644 --- a/docs/d2/d7f/structshaka_1_1media_1_1mp4_1_1CuePayloadBox.html +++ b/docs/d2/d7f/structshaka_1_1media_1_1mp4_1_1CuePayloadBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html b/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html index 33e971f04d..af186e0490 100644 --- a/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html +++ b/docs/d2/d8a/hls__notify__muxer__listener_8h_source.html @@ -177,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d91/structshaka_1_1media_1_1mp4_1_1CuePayloadBox-members.html b/docs/d2/d91/structshaka_1_1media_1_1mp4_1_1CuePayloadBox-members.html index a19e19933c..3674a26bda 100644 --- a/docs/d2/d91/structshaka_1_1media_1_1mp4_1_1CuePayloadBox-members.html +++ b/docs/d2/d91/structshaka_1_1media_1_1mp4_1_1CuePayloadBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d92/box__reader_8h_source.html b/docs/d2/d92/box__reader_8h_source.html index b262e74e19..1c92c40176 100644 --- a/docs/d2/d92/box__reader_8h_source.html +++ b/docs/d2/d92/box__reader_8h_source.html @@ -246,7 +246,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html b/docs/d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html index c19d1b4167..53ba65c7b8 100644 --- a/docs/d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html +++ b/docs/d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html @@ -387,7 +387,7 @@ const std::vector< uint8_t > &  diff --git a/docs/d2/da0/classshaka_1_1media_1_1TrickPlayHandler-members.html b/docs/d2/da0/classshaka_1_1media_1_1TrickPlayHandler-members.html index e62a2e5a7d..de5a9ac8ce 100644 --- a/docs/d2/da0/classshaka_1_1media_1_1TrickPlayHandler-members.html +++ b/docs/d2/da0/classshaka_1_1media_1_1TrickPlayHandler-members.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/da6/threaded__io__file_8h_source.html b/docs/d2/da6/threaded__io__file_8h_source.html index d2b8fcc561..59355a9cb5 100644 --- a/docs/d2/da6/threaded__io__file_8h_source.html +++ b/docs/d2/da6/threaded__io__file_8h_source.html @@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/da8/mp4_2segmenter_8cc_source.html b/docs/d2/da8/mp4_2segmenter_8cc_source.html index da12cf550b..357f4676db 100644 --- a/docs/d2/da8/mp4_2segmenter_8cc_source.html +++ b/docs/d2/da8/mp4_2segmenter_8cc_source.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
46 
47 Segmenter::~Segmenter() {}
48 
- +
50  const std::vector<std::shared_ptr<StreamInfo>>& streams,
51  MuxerListener* muxer_listener,
52  ProgressListener* progress_listener) {
@@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
97  return DoInitialize();
98 }
99 
- +
101  // Set movie duration. Note that the duration in mvhd, tkhd, mdhd should not
102  // be touched, i.e. kept at 0. The updated moov box will be written to output
103  // file for VOD case only.
@@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
112  return DoFinalize();
113 }
114 
-
115 Status Segmenter::AddSample(size_t stream_id,
+
115 Status Segmenter::AddSample(size_t stream_id,
116  std::shared_ptr<MediaSample> sample) {
117  // Set default sample duration if it has not been set yet.
118  if (moov_->extends.tracks[stream_id].default_sample_duration == 0) {
@@ -212,11 +212,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
123  DCHECK_LT(stream_id, fragmenters_.size());
124  Fragmenter* fragmenter = fragmenters_[stream_id].get();
125  if (fragmenter->fragment_finalized()) {
-
126  return Status(error::FRAGMENT_FINALIZED,
+
126  return Status(error::FRAGMENT_FINALIZED,
127  "Current fragment is finalized already.");
128  }
129 
-
130  Status status = fragmenter->AddSample(sample);
+
130  Status status = fragmenter->AddSample(sample);
131  if (!status.ok())
132  return status;
133 
@@ -226,7 +226,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
137  return Status::OK;
138 }
139 
- +
140 Status Segmenter::FinalizeSegment(size_t stream_id,
141  std::shared_ptr<SegmentInfo> segment_info) {
142  if (segment_info->key_rotation_encryption_config) {
143  FinalizeFragmentForKeyRotation(
@@ -237,7 +237,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
148  DCHECK_LT(stream_id, fragmenters_.size());
149  Fragmenter* fragmenter = fragmenters_[stream_id].get();
150  DCHECK(fragmenter);
-
151  Status status = fragmenter->FinalizeFragment();
+
151  Status status = fragmenter->FinalizeFragment();
152  if (!status.ok())
153  return status;
154 
@@ -290,7 +290,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
201  for (std::unique_ptr<Fragmenter>& fragmenter : fragmenters_)
202  fragmenter->ClearFragmentFinalized();
203  if (!segment_info->is_subsegment) {
-
204  Status status = DoFinalizeSegment();
+
204  Status status = DoFinalizeSegment();
205  // Reset segment information to initial state.
206  sidx_->references.clear();
207  return status;
@@ -398,7 +398,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status Initialize(StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener)
Definition: segmenter.cc:78
virtual void OnProgress(double progress)=0
-
void UpdateProgress(uint64_t progress)
Update segmentation progress using ProgressListener.
Definition: segmenter.cc:265
void WriteHeader(BufferWriter *writer)
Definition: box.cc:38
@@ -406,7 +405,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/da9/classshaka_1_1media_1_1BufferWriter-members.html b/docs/d2/da9/classshaka_1_1media_1_1BufferWriter-members.html index 1d112341e3..61a9d626e5 100644 --- a/docs/d2/da9/classshaka_1_1media_1_1BufferWriter-members.html +++ b/docs/d2/da9/classshaka_1_1media_1_1BufferWriter-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dae/classshaka_1_1MockAdaptationSet-members.html b/docs/d2/dae/classshaka_1_1MockAdaptationSet-members.html index 277dc169f1..e68b5fb3a3 100644 --- a/docs/d2/dae/classshaka_1_1MockAdaptationSet-members.html +++ b/docs/d2/dae/classshaka_1_1MockAdaptationSet-members.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dae/webm__muxer_8cc_source.html b/docs/d2/dae/webm__muxer_8cc_source.html index 150b6b203c..3abfca13a3 100644 --- a/docs/d2/dae/webm__muxer_8cc_source.html +++ b/docs/d2/dae/webm__muxer_8cc_source.html @@ -110,13 +110,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
21 WebMMuxer::WebMMuxer(const MuxerOptions& options) : Muxer(options) {}
22 WebMMuxer::~WebMMuxer() {}
23 
-
24 Status WebMMuxer::InitializeMuxer() {
+
24 Status WebMMuxer::InitializeMuxer() {
25  CHECK_EQ(streams().size(), 1U);
26 
27  if (streams()[0]->is_encrypted() &&
28  streams()[0]->encryption_config().protection_scheme != FOURCC_cenc) {
29  LOG(ERROR) << "WebM does not support protection scheme other than 'cenc'.";
-
30  return Status(error::INVALID_ARGUMENT,
+
30  return Status(error::INVALID_ARGUMENT,
31  "WebM does not support protection scheme other than 'cenc'.");
32  }
33 
@@ -216,13 +216,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
static int64_t GetFileSize(const char *file_name)
Definition: file.cc:176
-
virtual void OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type)=0
WebMMuxer(const MuxerOptions &options)
Create a WebMMuxer object from MuxerOptions.
Definition: webm_muxer.cc:21
diff --git a/docs/d2/db1/structshaka_1_1media_1_1mp4_1_1SampleToGroup-members.html b/docs/d2/db1/structshaka_1_1media_1_1mp4_1_1SampleToGroup-members.html index b8aa20c8e4..efd6de64c9 100644 --- a/docs/d2/db1/structshaka_1_1media_1_1mp4_1_1SampleToGroup-members.html +++ b/docs/d2/db1/structshaka_1_1media_1_1mp4_1_1SampleToGroup-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/db6/structshaka_1_1media_1_1mp4_1_1FileType-members.html b/docs/d2/db6/structshaka_1_1media_1_1mp4_1_1FileType-members.html index 29b58c9c28..f2364e17d3 100644 --- a/docs/d2/db6/structshaka_1_1media_1_1mp4_1_1FileType-members.html +++ b/docs/d2/db6/structshaka_1_1media_1_1mp4_1_1FileType-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/db8/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox-members.html b/docs/d2/db8/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox-members.html index 04f5acd3e5..d3d52aeb71 100644 --- a/docs/d2/db8/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox-members.html +++ b/docs/d2/db8/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html b/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html index e537a28676..82aac94435 100644 --- a/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html +++ b/docs/d2/dba/classshaka_1_1media_1_1SegmentTestBase.html @@ -183,7 +183,7 @@ bool single_segment_ diff --git a/docs/d2/dc3/structshaka_1_1media_1_1mp4_1_1Track-members.html b/docs/d2/dc3/structshaka_1_1media_1_1mp4_1_1Track-members.html index b76d5e42e6..8df73d10d3 100644 --- a/docs/d2/dc3/structshaka_1_1media_1_1mp4_1_1Track-members.html +++ b/docs/d2/dc3/structshaka_1_1media_1_1mp4_1_1Track-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dc7/media__handler__test__base_8cc_source.html b/docs/d2/dc7/media__handler__test__base_8cc_source.html index ab4dd91a04..f3af954a26 100644 --- a/docs/d2/dc7/media__handler__test__base_8cc_source.html +++ b/docs/d2/dc7/media__handler__test__base_8cc_source.html @@ -96,8 +96,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
7 #include "packager/media/base/media_handler_test_base.h"
8 
9 #include "packager/media/base/audio_stream_info.h"
-
10 #include "packager/media/base/test/status_test_util.h"
-
11 #include "packager/media/base/video_stream_info.h"
+
10 #include "packager/media/base/video_stream_info.h"
+
11 #include "packager/status_test_util.h"
12 
13 namespace {
14 
@@ -148,16 +148,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
59 namespace shaka {
60 namespace media {
61 
- +
63  return Status::OK;
64 }
65 
-
66 Status FakeMediaHandler::Process(std::unique_ptr<StreamData> stream_data) {
+
66 Status FakeMediaHandler::Process(std::unique_ptr<StreamData> stream_data) {
67  stream_data_vector_.push_back(std::move(stream_data));
68  return Status::OK;
69 }
70 
-
71 Status FakeMediaHandler::OnFlushRequest(size_t input_stream_index) {
+
71 Status FakeMediaHandler::OnFlushRequest(size_t input_stream_index) {
72  return Status::OK;
73 }
74 
@@ -263,7 +263,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status OnFlushRequest(size_t input_stream_index) override
Event handler for flush request at the specific input stream index.
Class to hold a media sample.
Definition: media_sample.h:22
-
Status Process(std::unique_ptr< StreamData > stream_data) override
Holds audio stream information.
std::unique_ptr< StreamData > GetSegmentInfoStreamData(int stream_index, int64_t start_timestamp, int64_t duration, bool is_subsegment)
@@ -272,7 +271,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dc7/structshaka_1_1MpdOptions-members.html b/docs/d2/dc7/structshaka_1_1MpdOptions-members.html index f49619e07e..7b6d0c736b 100644 --- a/docs/d2/dc7/structshaka_1_1MpdOptions-members.html +++ b/docs/d2/dc7/structshaka_1_1MpdOptions-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dcd/program__map__table__writer_8h_source.html b/docs/d2/dcd/program__map__table__writer_8h_source.html index 98766768c3..11fb156c40 100644 --- a/docs/d2/dcd/program__map__table__writer_8h_source.html +++ b/docs/d2/dcd/program__map__table__writer_8h_source.html @@ -190,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dcd/structshaka_1_1media_1_1mp4_1_1EditList-members.html b/docs/d2/dcd/structshaka_1_1media_1_1mp4_1_1EditList-members.html index 86b0a0054e..ecc9742f6a 100644 --- a/docs/d2/dcd/structshaka_1_1media_1_1mp4_1_1EditList-members.html +++ b/docs/d2/dcd/structshaka_1_1media_1_1mp4_1_1EditList-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dce/structshaka_1_1media_1_1ChunkingOptions-members.html b/docs/d2/dce/structshaka_1_1media_1_1ChunkingOptions-members.html index 25b88f4aea..55623c23cf 100644 --- a/docs/d2/dce/structshaka_1_1media_1_1ChunkingOptions-members.html +++ b/docs/d2/dce/structshaka_1_1media_1_1ChunkingOptions-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html b/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html index aae2ff283c..1042496491 100644 --- a/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html +++ b/docs/d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html @@ -113,7 +113,7 @@ Public Member Functions  
Segmenter implementation overrides.
-Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment) override +Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment) override  Finalize the (sub)segment.
  bool GetInitRangeStartAndEnd (uint64_t *start, uint64_t *end) override @@ -124,11 +124,11 @@ Public Member Functions  Segmenter (const MuxerOptions &options)   -Status Initialize (StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener) +Status Initialize (StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener)   -Status Finalize () +Status Finalize ()   -Status AddSample (std::shared_ptr< MediaSample > sample) +Status AddSample (std::shared_ptr< MediaSample > sample)   float GetDurationInSeconds () const   @@ -136,10 +136,10 @@ Public Member Functions

Protected Member Functions

-Status DoInitialize () override +Status DoInitialize () override   -Status DoFinalize () override +Status DoFinalize () override   - Protected Member Functions inherited from shaka::media::webm::Segmenter @@ -151,11 +151,11 @@ uint64_t  Converts the given time in WebM timecode to ISO BMFF timestamp.
 
-Status WriteSegmentHeader (uint64_t file_size, MkvWriter *writer) +Status WriteSegmentHeader (uint64_t file_size, MkvWriter *writer)  Writes the Segment header to writer.
  -Status SetCluster (uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer) +Status SetCluster (uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer)  Creates a Cluster object with the given parameters.
  @@ -280,7 +280,7 @@ uint64_t segment_payload_p diff --git a/docs/d2/dd6/mkv__writer_8h_source.html b/docs/d2/dd6/mkv__writer_8h_source.html index df3150ce4c..ea3b004f5c 100644 --- a/docs/d2/dd6/mkv__writer_8h_source.html +++ b/docs/d2/dd6/mkv__writer_8h_source.html @@ -99,8 +99,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include <memory>
11 #include <string>
12 
-
13 #include "packager/media/base/status.h"
-
14 #include "packager/media/file/file_closer.h"
+
13 #include "packager/media/file/file_closer.h"
+
14 #include "packager/status.h"
15 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
16 
17 namespace shaka {
@@ -111,8 +111,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
23  MkvWriter();
24  ~MkvWriter() override;
25 
-
30  Status Open(const std::string& name);
-
32  Status Close();
+
30  Status Open(const std::string& name);
+
32  Status Close();
33 
36  mkvmuxer::int32 Write(const void* buf, mkvmuxer::uint32 len) override;
39  mkvmuxer::int64 Position() const override;
@@ -144,7 +144,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void ElementStartNotify(mkvmuxer::uint64 element_id, mkvmuxer::int64 position) override
Definition: mkv_writer.cc:90
mkvmuxer::int64 Position() const override
Definition: mkv_writer.cc:71
An implementation of IMkvWriter using our File type.
Definition: mkv_writer.h:21
-
bool Seekable() const override
Definition: mkv_writer.cc:86
Status Open(const std::string &name)
Definition: mkv_writer.cc:16
Status Close()
Closes the file. MUST call Open before calling any other methods.
Definition: mkv_writer.cc:29
@@ -152,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dd8/classshaka_1_1media_1_1ChunkingHandler-members.html b/docs/d2/dd8/classshaka_1_1media_1_1ChunkingHandler-members.html index adc9a4c0be..be15b002c7 100644 --- a/docs/d2/dd8/classshaka_1_1media_1_1ChunkingHandler-members.html +++ b/docs/d2/dd8/classshaka_1_1media_1_1ChunkingHandler-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html b/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html index 2782dd8d63..8ba0d7d876 100644 --- a/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html +++ b/docs/d2/ddb/classshaka_1_1media_1_1WebMMediaParser.html @@ -257,7 +257,7 @@ std::shared_ptr< diff --git a/docs/d2/de1/webvtt__timestamp_8h_source.html b/docs/d2/de1/webvtt__timestamp_8h_source.html index 6c6166a32d..a90a4f21a7 100644 --- a/docs/d2/de1/webvtt__timestamp_8h_source.html +++ b/docs/d2/de1/webvtt__timestamp_8h_source.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html b/docs/d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html index 9699f1f403..ffadceaaff 100644 --- a/docs/d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html +++ b/docs/d2/de3/classshaka_1_1media_1_1mp2t_1_1TsSectionPmt.html @@ -155,7 +155,7 @@ void Reset () override diff --git a/docs/d2/de6/packager__main_8cc_source.html b/docs/d2/de6/packager__main_8cc_source.html index 4df2f9b5ce..12dba53bbc 100644 --- a/docs/d2/de6/packager__main_8cc_source.html +++ b/docs/d2/de6/packager__main_8cc_source.html @@ -409,7 +409,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
320  stream_descriptors.push_back(stream_descriptor.value());
321  }
322  Packager packager;
-
323  media::Status status =
+
323  Status status =
324  packager.Initialize(packaging_params.value(), stream_descriptors);
325  if (!status.ok()) {
326  LOG(ERROR) << "Failed to initialize packager: " << status.ToString();
@@ -461,7 +461,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html b/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html index a1fc332661..01ae536aea 100644 --- a/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html +++ b/docs/d2/de7/classshaka_1_1media_1_1TextStreamInfo-members.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de7/structshaka_1_1media_1_1mp4_1_1Edit-members.html b/docs/d2/de7/structshaka_1_1media_1_1mp4_1_1Edit-members.html index 97b2beb1cf..9b7ad2feca 100644 --- a/docs/d2/de7/structshaka_1_1media_1_1mp4_1_1Edit-members.html +++ b/docs/d2/de7/structshaka_1_1media_1_1mp4_1_1Edit-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/de9/media__handler_8cc_source.html b/docs/d2/de9/media__handler_8cc_source.html index 4fcf71660d..464dcbef24 100644 --- a/docs/d2/de9/media__handler_8cc_source.html +++ b/docs/d2/de9/media__handler_8cc_source.html @@ -98,10 +98,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 namespace shaka {
10 namespace media {
11 
-
12 Status MediaHandler::SetHandler(size_t output_stream_index,
+
12 Status MediaHandler::SetHandler(size_t output_stream_index,
13  std::shared_ptr<MediaHandler> handler) {
14  if (output_handlers_.find(output_stream_index) != output_handlers_.end()) {
-
15  return Status(error::ALREADY_EXISTS,
+
15  return Status(error::ALREADY_EXISTS,
16  "The handler at the specified index already exists.");
17  }
18  output_handlers_[output_stream_index] =
@@ -110,15 +110,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
21  return Status::OK;
22 }
23 
- +
25  if (initialized_)
26  return Status::OK;
-
27  Status status = InitializeInternal();
+
27  Status status = InitializeInternal();
28  if (!status.ok())
29  return status;
30  for (auto& pair : output_handlers_) {
31  if (!ValidateOutputStreamIndex(pair.first))
-
32  return Status(error::INVALID_ARGUMENT, "Invalid output stream index");
+
32  return Status(error::INVALID_ARGUMENT, "Invalid output stream index");
33  status = pair.second.first->Initialize();
34  if (!status.ok())
35  return status;
@@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
38  return Status::OK;
39 }
40 
-
41 Status MediaHandler::OnFlushRequest(size_t input_stream_index) {
+
41 Status MediaHandler::OnFlushRequest(size_t input_stream_index) {
42  // The default implementation treats the output stream index to be identical
43  // to the input stream index, which is true for most handlers.
44  const size_t output_stream_index = input_stream_index;
@@ -138,29 +138,29 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
49  return stream_index < num_input_streams_;
50 }
51 
-
52 Status MediaHandler::Dispatch(std::unique_ptr<StreamData> stream_data) {
+
52 Status MediaHandler::Dispatch(std::unique_ptr<StreamData> stream_data) {
53  size_t output_stream_index = stream_data->stream_index;
54  auto handler_it = output_handlers_.find(output_stream_index);
55  if (handler_it == output_handlers_.end()) {
-
56  return Status(error::NOT_FOUND,
+
56  return Status(error::NOT_FOUND,
57  "No output handler exist at the specified index.");
58  }
59  stream_data->stream_index = handler_it->second.second;
60  return handler_it->second.first->Process(std::move(stream_data));
61 }
62 
-
63 Status MediaHandler::FlushDownstream(size_t output_stream_index) {
+
63 Status MediaHandler::FlushDownstream(size_t output_stream_index) {
64  auto handler_it = output_handlers_.find(output_stream_index);
65  if (handler_it == output_handlers_.end()) {
-
66  return Status(error::NOT_FOUND,
+
66  return Status(error::NOT_FOUND,
67  "No output handler exist at the specified index.");
68  }
69  return handler_it->second.first->OnFlushRequest(handler_it->second.second);
70 }
71 
- +
73  for (const auto& pair : output_handlers_) {
-
74  Status status = pair.second.first->OnFlushRequest(pair.second.second);
+
74  Status status = pair.second.first->OnFlushRequest(pair.second.second);
75  if (!status.ok()) {
76  return status;
77  }
@@ -176,13 +176,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual Status OnFlushRequest(size_t input_stream_index)
Event handler for flush request at the specific input stream index.
Status FlushAllDownstreams()
Flush all connected downstreams.
Status FlushDownstream(size_t output_stream_index)
Flush the downstream connected at the specified output stream index.
-
Status SetHandler(size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
Connect downstream handler at the specified output stream index.
diff --git a/docs/d2/de9/mock__muxer__listener_8h_source.html b/docs/d2/de9/mock__muxer__listener_8h_source.html index 7253044af6..6d39d322ad 100644 --- a/docs/d2/de9/mock__muxer__listener_8h_source.html +++ b/docs/d2/de9/mock__muxer__listener_8h_source.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/deb/es__parser_8h_source.html b/docs/d2/deb/es__parser_8h_source.html index 88dfd204a2..39d26143e6 100644 --- a/docs/d2/deb/es__parser_8h_source.html +++ b/docs/d2/deb/es__parser_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dee/classshaka_1_1media_1_1mp2t_1_1TsSectionPes-members.html b/docs/d2/dee/classshaka_1_1media_1_1mp2t_1_1TsSectionPes-members.html index 66a39e1d53..66226475f6 100644 --- a/docs/d2/dee/classshaka_1_1media_1_1mp2t_1_1TsSectionPes-members.html +++ b/docs/d2/dee/classshaka_1_1media_1_1mp2t_1_1TsSectionPes-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dee/pes__packet__generator_8cc_source.html b/docs/d2/dee/pes__packet__generator_8cc_source.html index 92d2c1585b..f04198f93d 100644 --- a/docs/d2/dee/pes__packet__generator_8cc_source.html +++ b/docs/d2/dee/pes__packet__generator_8cc_source.html @@ -232,7 +232,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html b/docs/d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html index 01f51eead4..b9d77e396c 100644 --- a/docs/d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html +++ b/docs/d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html @@ -131,7 +131,7 @@ size_t cluster_count ( diff --git a/docs/d2/dfc/classshaka_1_1media_1_1MkvWriter-members.html b/docs/d2/dfc/classshaka_1_1media_1_1MkvWriter-members.html index 7bda82d4e5..d012482482 100644 --- a/docs/d2/dfc/classshaka_1_1media_1_1MkvWriter-members.html +++ b/docs/d2/dfc/classshaka_1_1media_1_1MkvWriter-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d2/dfd/adts__header_8h_source.html b/docs/d2/dfd/adts__header_8h_source.html index b303367700..b70ded4deb 100644 --- a/docs/d2/dfd/adts__header_8h_source.html +++ b/docs/d2/dfd/adts__header_8h_source.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d07/classshaka_1_1media_1_1mp4_1_1BoxReader-members.html b/docs/d3/d07/classshaka_1_1media_1_1mp4_1_1BoxReader-members.html index e8449ab91d..d8b8a3c3a4 100644 --- a/docs/d3/d07/classshaka_1_1media_1_1mp4_1_1BoxReader-members.html +++ b/docs/d3/d07/classshaka_1_1media_1_1mp4_1_1BoxReader-members.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d09/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator-members.html b/docs/d3/d09/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator-members.html index 0e50b0da4d..adfb711b6b 100644 --- a/docs/d3/d09/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator-members.html +++ b/docs/d3/d09/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html b/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html index 890afcc45f..78d3b78d09 100644 --- a/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html +++ b/docs/d3/d0a/classshaka_1_1media_1_1MediaParser.html @@ -299,7 +299,7 @@ Public Member Functions diff --git a/docs/d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html b/docs/d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html index 1be8015306..9f3dd41c9b 100644 --- a/docs/d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html +++ b/docs/d3/d0c/classshaka_1_1media_1_1mp2t_1_1AdtsHeader.html @@ -336,7 +336,7 @@ Static Public Member Functions diff --git a/docs/d3/d12/classshaka_1_1media_1_1LibcryptoThreading-members.html b/docs/d3/d12/classshaka_1_1media_1_1LibcryptoThreading-members.html index 83d1e21171..bf0b12d48d 100644 --- a/docs/d3/d12/classshaka_1_1media_1_1LibcryptoThreading-members.html +++ b/docs/d3/d12/classshaka_1_1media_1_1LibcryptoThreading-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d18/classshaka_1_1media_1_1mp2t_1_1TsSectionPat-members.html b/docs/d3/d18/classshaka_1_1media_1_1mp2t_1_1TsSectionPat-members.html index ddd319b3c4..012580ef29 100644 --- a/docs/d3/d18/classshaka_1_1media_1_1mp2t_1_1TsSectionPat-members.html +++ b/docs/d3/d18/classshaka_1_1media_1_1mp2t_1_1TsSectionPat-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d19/io__cache_8h_source.html b/docs/d3/d19/io__cache_8h_source.html index f942e0748a..5d2a9975c6 100644 --- a/docs/d3/d19/io__cache_8h_source.html +++ b/docs/d3/d19/io__cache_8h_source.html @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d35/video__slice__header__parser_8cc_source.html b/docs/d3/d35/video__slice__header__parser_8cc_source.html index 429d3a5b81..35e009ac16 100644 --- a/docs/d3/d35/video__slice__header__parser_8cc_source.html +++ b/docs/d3/d35/video__slice__header__parser_8cc_source.html @@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html b/docs/d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html index 4bf545dc60..a0db1c028f 100644 --- a/docs/d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html +++ b/docs/d3/d47/structshaka_1_1media_1_1mp4_1_1PrivFrame.html @@ -129,7 +129,7 @@ std::string value diff --git a/docs/d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html b/docs/d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html index 03e7f5dc9b..051b94a18d 100644 --- a/docs/d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html +++ b/docs/d3/d51/classshaka_1_1media_1_1LibcryptoThreading.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d56/decrypt__config_8cc_source.html b/docs/d3/d56/decrypt__config_8cc_source.html index 9916c661c7..f84d4885f6 100644 --- a/docs/d3/d56/decrypt__config_8cc_source.html +++ b/docs/d3/d56/decrypt__config_8cc_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d61/classshaka_1_1media_1_1File.html b/docs/d3/d61/classshaka_1_1media_1_1File.html index ae33dba8df..7e3f386fed 100644 --- a/docs/d3/d61/classshaka_1_1media_1_1File.html +++ b/docs/d3/d61/classshaka_1_1media_1_1File.html @@ -811,7 +811,7 @@ class ThreadedIoFile diff --git a/docs/d3/d62/continuity__counter_8h_source.html b/docs/d3/d62/continuity__counter_8h_source.html index 8977a47c31..7456e908b0 100644 --- a/docs/d3/d62/continuity__counter_8h_source.html +++ b/docs/d3/d62/continuity__counter_8h_source.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d62/rcheck_8h_source.html b/docs/d3/d62/rcheck_8h_source.html index 17f3558237..7200a6f112 100644 --- a/docs/d3/d62/rcheck_8h_source.html +++ b/docs/d3/d62/rcheck_8h_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d66/structshaka_1_1media_1_1mp4_1_1DataEntryUrl-members.html b/docs/d3/d66/structshaka_1_1media_1_1mp4_1_1DataEntryUrl-members.html index 6e0f011416..d78af5ce48 100644 --- a/docs/d3/d66/structshaka_1_1media_1_1mp4_1_1DataEntryUrl-members.html +++ b/docs/d3/d66/structshaka_1_1media_1_1mp4_1_1DataEntryUrl-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html b/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html index 28f1a7a9f7..130fd3f7e9 100644 --- a/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html +++ b/docs/d3/d67/classshaka_1_1media_1_1WebMVideoClient.html @@ -199,7 +199,7 @@ An empty pointer if there was unexpected values in the provided parameters or vi diff --git a/docs/d3/d6b/fixed__key__source_8cc_source.html b/docs/d3/d6b/fixed__key__source_8cc_source.html index d91ac1a214..1ce2839121 100644 --- a/docs/d3/d6b/fixed__key__source_8cc_source.html +++ b/docs/d3/d6b/fixed__key__source_8cc_source.html @@ -104,13 +104,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
15 
16 FixedKeySource::~FixedKeySource() {}
17 
-
18 Status FixedKeySource::FetchKeys(EmeInitDataType init_data_type,
+
18 Status FixedKeySource::FetchKeys(EmeInitDataType init_data_type,
19  const std::vector<uint8_t>& init_data) {
20  // Do nothing for fixed key encryption/decryption.
21  return Status::OK;
22 }
23 
-
24 Status FixedKeySource::GetKey(const std::string& stream_label,
+
24 Status FixedKeySource::GetKey(const std::string& stream_label,
25  EncryptionKey* key) {
26  DCHECK(key);
27  DCHECK(encryption_key_);
@@ -118,12 +118,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
29  return Status::OK;
30 }
31 
-
32 Status FixedKeySource::GetKey(const std::vector<uint8_t>& key_id,
+
32 Status FixedKeySource::GetKey(const std::vector<uint8_t>& key_id,
33  EncryptionKey* key) {
34  DCHECK(key);
35  DCHECK(encryption_key_);
36  if (key_id != encryption_key_->key_id) {
-
37  return Status(error::NOT_FOUND,
+
37  return Status(error::NOT_FOUND,
38  std::string("Key for key ID ") +
39  base::HexEncode(&key_id[0], key_id.size()) +
40  " was not found.");
@@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
43  return Status::OK;
44 }
45 
-
46 Status FixedKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
+
46 Status FixedKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
47  const std::string& stream_label,
48  EncryptionKey* key) {
49  // Create a copy of the key.
@@ -220,12 +220,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
A key source that uses fixed keys for encryption.
-
static std::unique_ptr< FixedKeySource > Create(const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &key, const std::vector< uint8_t > &pssh_boxes, const std::vector< uint8_t > &iv)
diff --git a/docs/d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html b/docs/d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html index 7d6173f3d1..fd6fd8f030 100644 --- a/docs/d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html +++ b/docs/d3/d71/classshaka_1_1media_1_1mp2t_1_1TsMuxer.html @@ -129,14 +129,14 @@ const std::vector
  - Public Member Functions inherited from shaka::media::MediaHandler -Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler) +Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)  Connect downstream handler at the specified output stream index.
  -Status AddHandler (std::shared_ptr< MediaHandler > handler) +Status AddHandler (std::shared_ptr< MediaHandler > handler)  Connect downstream handler to the next availble output stream index.
  -Status Initialize () +Status Initialize ()   bool IsConnected () @@ -158,12 +158,12 @@ const base::Clock * clock ()   -Status InitializeInternal () override +Status InitializeInternal () override   -Status Process (std::unique_ptr< StreamData > stream_data) override +Status Process (std::unique_ptr< StreamData > stream_data) override   -Status OnFlushRequest (size_t input_stream_index) override +Status OnFlushRequest (size_t input_stream_index) override  Event handler for flush request at the specific input stream index.
  - Protected Member Functions inherited from shaka::media::MediaHandler @@ -171,38 +171,38 @@ base::Clock * clock () virtual bool ValidateOutputStreamIndex (size_t stream_index) const  Validate if the stream at the specified index actually exists.
  -Status Dispatch (std::unique_ptr< StreamData > stream_data) +Status Dispatch (std::unique_ptr< StreamData > stream_data)   -Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info) +Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)  Dispatch the period info to downstream handlers.
  -Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info) +Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)  Dispatch the stream info to downstream handlers.
  -Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample) +Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)  Dispatch the media sample to downstream handlers.
  -Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample) +Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)  Dispatch the text sample to downsream handlers.
  -Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event) +Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)  Dispatch the media event to downstream handlers.
  -Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info) +Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)  Dispatch the segment info to downstream handlers.
  -Status FlushDownstream (size_t output_stream_index) +Status FlushDownstream (size_t output_stream_index)  Flush the downstream connected at the specified output stream index.
  -Status FlushAllDownstreams () +Status FlushAllDownstreams ()  Flush all connected downstreams.
  @@ -231,7 +231,7 @@ std::pair< std::shared_ptr
diff --git a/docs/d3/d72/fixed__key__source_8h_source.html b/docs/d3/d72/fixed__key__source_8h_source.html index f6a31fa12c..d908f75d81 100644 --- a/docs/d3/d72/fixed__key__source_8h_source.html +++ b/docs/d3/d72/fixed__key__source_8h_source.html @@ -116,12 +116,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
28  public:
29  ~FixedKeySource() override;
30 
-
33  Status FetchKeys(EmeInitDataType init_data_type,
+
33  Status FetchKeys(EmeInitDataType init_data_type,
34  const std::vector<uint8_t>& init_data) override;
-
35  Status GetKey(const std::string& stream_label, EncryptionKey* key) override;
-
36  Status GetKey(const std::vector<uint8_t>& key_id,
+
35  Status GetKey(const std::string& stream_label, EncryptionKey* key) override;
+
36  Status GetKey(const std::vector<uint8_t>& key_id,
37  EncryptionKey* key) override;
-
38  Status GetCryptoPeriodKey(uint32_t crypto_period_index,
+
38  Status GetCryptoPeriodKey(uint32_t crypto_period_index,
39  const std::string& stream_label,
40  EncryptionKey* key) override;
42 
@@ -152,13 +152,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status FetchKeys(EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override
A key source that uses fixed keys for encryption.
-
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:45
static std::unique_ptr< FixedKeySource > Create(const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &key, const std::vector< uint8_t > &pssh_boxes, const std::vector< uint8_t > &iv)
diff --git a/docs/d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html b/docs/d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html index b072d0b0de..80aecc850b 100644 --- a/docs/d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html +++ b/docs/d3/d73/classshaka_1_1media_1_1webm_1_1WebMMuxer.html @@ -133,14 +133,14 @@ const std::vector
  - Public Member Functions inherited from shaka::media::MediaHandler -Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler) +Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)  Connect downstream handler at the specified output stream index.
  -Status AddHandler (std::shared_ptr< MediaHandler > handler) +Status AddHandler (std::shared_ptr< MediaHandler > handler)  Connect downstream handler to the next availble output stream index.
  -Status Initialize () +Status Initialize ()   bool IsConnected () @@ -162,12 +162,12 @@ const base::Clock * clock ()   -Status InitializeInternal () override +Status InitializeInternal () override   -Status Process (std::unique_ptr< StreamData > stream_data) override +Status Process (std::unique_ptr< StreamData > stream_data) override   -Status OnFlushRequest (size_t input_stream_index) override +Status OnFlushRequest (size_t input_stream_index) override  Event handler for flush request at the specific input stream index.
  - Protected Member Functions inherited from shaka::media::MediaHandler @@ -175,38 +175,38 @@ base::Clock * clock () virtual bool ValidateOutputStreamIndex (size_t stream_index) const  Validate if the stream at the specified index actually exists.
  -Status Dispatch (std::unique_ptr< StreamData > stream_data) +Status Dispatch (std::unique_ptr< StreamData > stream_data)   -Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info) +Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)  Dispatch the period info to downstream handlers.
  -Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info) +Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)  Dispatch the stream info to downstream handlers.
  -Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample) +Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)  Dispatch the media sample to downstream handlers.
  -Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample) +Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)  Dispatch the text sample to downsream handlers.
  -Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event) +Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)  Dispatch the media event to downstream handlers.
  -Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info) +Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)  Dispatch the segment info to downstream handlers.
  -Status FlushDownstream (size_t output_stream_index) +Status FlushDownstream (size_t output_stream_index)  Flush the downstream connected at the specified output stream index.
  -Status FlushAllDownstreams () +Status FlushAllDownstreams ()  Flush all connected downstreams.
  @@ -235,7 +235,7 @@ std::pair< std::shared_ptr
diff --git a/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html b/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html index 547b132311..f410a0eb97 100644 --- a/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html +++ b/docs/d3/d75/classshaka_1_1media_1_1AesEncryptor.html @@ -236,7 +236,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d3/d75/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html b/docs/d3/d75/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html index ad5018b276..5875f82c47 100644 --- a/docs/d3/d75/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html +++ b/docs/d3/d75/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d76/muxer__flags_8h_source.html b/docs/d3/d76/muxer__flags_8h_source.html index c030209195..f14d2c44b9 100644 --- a/docs/d3/d76/muxer__flags_8h_source.html +++ b/docs/d3/d76/muxer__flags_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d77/structshaka_1_1media_1_1mp4_1_1TextSampleEntry-members.html b/docs/d3/d77/structshaka_1_1media_1_1mp4_1_1TextSampleEntry-members.html index d498e365fc..9ed544698f 100644 --- a/docs/d3/d77/structshaka_1_1media_1_1mp4_1_1TextSampleEntry-members.html +++ b/docs/d3/d77/structshaka_1_1media_1_1mp4_1_1TextSampleEntry-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d7b/classshaka_1_1media_1_1RsaPublicKey-members.html b/docs/d3/d7b/classshaka_1_1media_1_1RsaPublicKey-members.html index ac3680ea92..457b9c273c 100644 --- a/docs/d3/d7b/classshaka_1_1media_1_1RsaPublicKey-members.html +++ b/docs/d3/d7b/classshaka_1_1media_1_1RsaPublicKey-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html b/docs/d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html index 1160971149..2e05f7e67b 100644 --- a/docs/d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html +++ b/docs/d3/d7c/classshaka_1_1media_1_1WebMAudioClient.html @@ -223,7 +223,7 @@ An empty pointer if there was unexpected values in the provided parameters or au diff --git a/docs/d3/d80/muxer__util_8h_source.html b/docs/d3/d80/muxer__util_8h_source.html index 0200e6f9e3..5717a92a0f 100644 --- a/docs/d3/d80/muxer__util_8h_source.html +++ b/docs/d3/d80/muxer__util_8h_source.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d87/structshaka_1_1media_1_1mp4_1_1SampleToChunk.html b/docs/d3/d87/structshaka_1_1media_1_1mp4_1_1SampleToChunk.html index 5ef561df23..a24f5c10ab 100644 --- a/docs/d3/d87/structshaka_1_1media_1_1mp4_1_1SampleToChunk.html +++ b/docs/d3/d87/structshaka_1_1media_1_1mp4_1_1SampleToChunk.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d3/d87/trick__play__handler_8cc_source.html b/docs/d3/d87/trick__play__handler_8cc_source.html index 273f68d25c..1ffa579794 100644 --- a/docs/d3/d87/trick__play__handler_8cc_source.html +++ b/docs/d3/d87/trick__play__handler_8cc_source.html @@ -122,13 +122,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
33  SetHandler(trick_play_factors_.size(), std::move(handler));
34 }
35 
- +
37  if (!HasMainStream()) {
-
38  return Status(error::TRICK_PLAY_ERROR,
+
38  return Status(error::TRICK_PLAY_ERROR,
39  "Trick play does not have main stream");
40  }
41  if (trick_play_factors_.empty()) {
-
42  return Status(error::TRICK_PLAY_ERROR,
+
42  return Status(error::TRICK_PLAY_ERROR,
43  "Trick play factors are not specified.");
44  }
45  size_t num_trick_play_factors = trick_play_factors_.size();
@@ -138,14 +138,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
49  return Status::OK;
50 }
51 
- +
53  std::unique_ptr<StreamData> input_stream_data) {
54  // The non-trick play stream is dispatched at index 0.
55  // The trick-play streams are dispatched to index 1, index 2 and so on.
56  DCHECK_EQ(input_stream_data->stream_index, 0u);
57  std::unique_ptr<StreamData> output_stream_data(new StreamData());
58  *output_stream_data = *input_stream_data;
-
59  Status status = Dispatch(std::move(output_stream_data));
+
59  Status status = Dispatch(std::move(output_stream_data));
60  if (!status.ok()) {
61  return status;
62  }
@@ -153,14 +153,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
64  std::shared_ptr<StreamData> stream_data(std::move(input_stream_data));
65  if (stream_data->stream_data_type == StreamDataType::kStreamInfo) {
66  if (stream_data->stream_info->stream_type() != kStreamVideo) {
-
67  status.SetError(error::TRICK_PLAY_ERROR,
+
67  status.SetError(error::TRICK_PLAY_ERROR,
68  "Trick play does not support non-video stream");
69  return status;
70  }
71  const VideoStreamInfo& video_stream_info =
72  static_cast<const VideoStreamInfo&>(*stream_data->stream_info);
73  if (video_stream_info.trick_play_factor() > 0) {
-
74  status.SetError(error::TRICK_PLAY_ERROR,
+
74  status.SetError(error::TRICK_PLAY_ERROR,
75  "This stream is alreay a trick play stream.");
76  return status;
77  }
@@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
113  if (playback_rates_[i] == 0)
114  playback_rates_[i] = total_frames_;
115 
-
116  Status status =
+
116  Status status =
117  ProcessCachedStreamData(i + 1, &cached_stream_data_[i]);
118  if (!status.ok())
119  return status;
@@ -227,7 +227,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
138  return stream_index <= trick_play_factors_.size();
139 };
140 
-
141 Status TrickPlayHandler::OnFlushRequest(size_t input_stream_index) {
+
141 Status TrickPlayHandler::OnFlushRequest(size_t input_stream_index) {
142  DCHECK_EQ(input_stream_index, 0u)
143  << "Trick Play Handler should only have single input.";
144  for (size_t i = 0; i < cached_stream_data_.size(); ++i) {
@@ -307,7 +307,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
218 
219 } // namespace media
220 } // namespace shaka
-
void SetError(error::Code error_code, const std::string &error_message)
Definition: status.h:113
Status DispatchMediaSample(size_t stream_index, std::shared_ptr< MediaSample > media_sample)
Dispatch the media sample to downstream handlers.
Status Dispatch(std::unique_ptr< StreamData > stream_data)
@@ -315,7 +314,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status FlushAllDownstreams()
Flush all connected downstreams.
Status DispatchStreamInfo(size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
Dispatch the stream info to downstream handlers.
Status OnFlushRequest(size_t input_stream_index) override
Event handler for flush request at the specific input stream index.
-
static std::shared_ptr< MediaSample > CopyFrom(const uint8_t *data, size_t size, bool is_key_frame)
Definition: media_sample.cc:45
Holds video stream information.
@@ -324,7 +322,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html b/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html index 5448ab2bbf..65a06c41a1 100644 --- a/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html +++ b/docs/d3/d8b/structshaka_1_1media_1_1FileCloser.html @@ -112,7 +112,7 @@ void operator() ( diff --git a/docs/d3/d8d/webm__audio__client_8h_source.html b/docs/d3/d8d/webm__audio__client_8h_source.html index cd4fe3070e..bd99e2a058 100644 --- a/docs/d3/d8d/webm__audio__client_8h_source.html +++ b/docs/d3/d8d/webm__audio__client_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d90/ec3__audio__util_8cc_source.html b/docs/d3/d90/ec3__audio__util_8cc_source.html index ce7a964366..9adda1deec 100644 --- a/docs/d3/d90/ec3__audio__util_8cc_source.html +++ b/docs/d3/d90/ec3__audio__util_8cc_source.html @@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d91/classshaka_1_1media_1_1H264Parser.html b/docs/d3/d91/classshaka_1_1media_1_1H264Parser.html index 537f580871..df41299cb5 100644 --- a/docs/d3/d91/classshaka_1_1media_1_1H264Parser.html +++ b/docs/d3/d91/classshaka_1_1media_1_1H264Parser.html @@ -135,7 +135,7 @@ Result ParseSEI (const diff --git a/docs/d3/d93/media__handler_8h_source.html b/docs/d3/d93/media__handler_8h_source.html index 025fcebf19..19347f11a2 100644 --- a/docs/d3/d93/media__handler_8h_source.html +++ b/docs/d3/d93/media__handler_8h_source.html @@ -101,9 +101,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
12 #include <utility>
13 
14 #include "packager/media/base/media_sample.h"
-
15 #include "packager/media/base/status.h"
-
16 #include "packager/media/base/stream_info.h"
-
17 #include "packager/media/base/text_sample.h"
+
15 #include "packager/media/base/stream_info.h"
+
16 #include "packager/media/base/text_sample.h"
+
17 #include "packager/status.h"
18 
19 namespace shaka {
20 namespace media {
@@ -150,29 +150,29 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
76  MediaHandler() = default;
77  virtual ~MediaHandler() = default;
78 
-
80  Status SetHandler(size_t output_stream_index,
+
80  Status SetHandler(size_t output_stream_index,
81  std::shared_ptr<MediaHandler> handler);
82 
-
84  Status AddHandler(std::shared_ptr<MediaHandler> handler) {
+
84  Status AddHandler(std::shared_ptr<MediaHandler> handler) {
85  return SetHandler(next_output_stream_index_, handler);
86  }
87 
- +
90  Status Initialize();
91 
93  bool IsConnected() { return num_input_streams_ > 0; }
94 
95  protected:
-
98  virtual Status InitializeInternal() = 0;
+
98  virtual Status InitializeInternal() = 0;
99 
-
104  virtual Status Process(std::unique_ptr<StreamData> stream_data) = 0;
+
104  virtual Status Process(std::unique_ptr<StreamData> stream_data) = 0;
105 
-
107  virtual Status OnFlushRequest(size_t input_stream_index);
+
107  virtual Status OnFlushRequest(size_t input_stream_index);
108 
110  virtual bool ValidateOutputStreamIndex(size_t stream_index) const;
111 
-
114  Status Dispatch(std::unique_ptr<StreamData> stream_data);
+
114  Status Dispatch(std::unique_ptr<StreamData> stream_data);
115 
-
117  Status DispatchPeriodInfo(size_t stream_index,
+
117  Status DispatchPeriodInfo(size_t stream_index,
118  std::shared_ptr<PeriodInfo> period_info) {
119  std::unique_ptr<StreamData> stream_data(new StreamData);
120  stream_data->stream_index = stream_index;
@@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
123  return Dispatch(std::move(stream_data));
124  }
125 
-
127  Status DispatchStreamInfo(size_t stream_index,
+
127  Status DispatchStreamInfo(size_t stream_index,
128  std::shared_ptr<StreamInfo> stream_info) {
129  std::unique_ptr<StreamData> stream_data(new StreamData);
130  stream_data->stream_index = stream_index;
@@ -190,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
133  return Dispatch(std::move(stream_data));
134  }
135 
-
137  Status DispatchMediaSample(size_t stream_index,
+
137  Status DispatchMediaSample(size_t stream_index,
138  std::shared_ptr<MediaSample> media_sample) {
139  std::unique_ptr<StreamData> stream_data(new StreamData);
140  stream_data->stream_index = stream_index;
@@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
144  }
145 
147  // DispatchTextSample should only be override for testing.
-
148  Status DispatchTextSample(size_t stream_index,
+
148  Status DispatchTextSample(size_t stream_index,
149  std::shared_ptr<TextSample> text_sample) {
150  std::unique_ptr<StreamData> stream_data(new StreamData);
151  stream_data->stream_index = stream_index;
@@ -209,7 +209,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
154  return Dispatch(std::move(stream_data));
155  }
156 
-
158  Status DispatchMediaEvent(size_t stream_index,
+
158  Status DispatchMediaEvent(size_t stream_index,
159  std::shared_ptr<MediaEvent> media_event) {
160  std::unique_ptr<StreamData> stream_data(new StreamData);
161  stream_data->stream_index = stream_index;
@@ -218,7 +218,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
164  return Dispatch(std::move(stream_data));
165  }
166 
-
168  Status DispatchSegmentInfo(size_t stream_index,
+
168  Status DispatchSegmentInfo(size_t stream_index,
169  std::shared_ptr<SegmentInfo> segment_info) {
170  std::unique_ptr<StreamData> stream_data(new StreamData);
171  stream_data->stream_index = stream_index;
@@ -227,9 +227,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
174  return Dispatch(std::move(stream_data));
175  }
176 
-
178  Status FlushDownstream(size_t output_stream_index);
+
178  Status FlushDownstream(size_t output_stream_index);
179 
- +
181  Status FlushAllDownstreams();
182 
183  bool initialized() { return initialized_; }
184  size_t num_input_streams() const { return num_input_streams_; }
@@ -276,7 +276,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status DispatchTextSample(size_t stream_index, std::shared_ptr< TextSample > text_sample)
Dispatch the text sample to downsream handlers.
Status AddHandler(std::shared_ptr< MediaHandler > handler)
Connect downstream handler to the next availble output stream index.
Definition: media_handler.h:84
Status FlushDownstream(size_t output_stream_index)
Flush the downstream connected at the specified output stream index.
-
Status DispatchSegmentInfo(size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)
Dispatch the segment info to downstream handlers.
Status SetHandler(size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
Connect downstream handler at the specified output stream index.
@@ -284,7 +283,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/d9c/encryption__handler_8cc_source.html b/docs/d3/d9c/encryption__handler_8cc_source.html index 8ffc9de9d1..2176940ed8 100644 --- a/docs/d3/d9c/encryption__handler_8cc_source.html +++ b/docs/d3/d9c/encryption__handler_8cc_source.html @@ -173,19 +173,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
84 
85 EncryptionHandler::~EncryptionHandler() {}
86 
- +
88  if (!encryption_options_.stream_label_func) {
-
89  return Status(error::INVALID_ARGUMENT, "Stream label function not set.");
+
89  return Status(error::INVALID_ARGUMENT, "Stream label function not set.");
90  }
91  if (num_input_streams() != 1 || next_output_stream_index() != 1) {
-
92  return Status(error::INVALID_ARGUMENT,
+
92  return Status(error::INVALID_ARGUMENT,
93  "Expects exactly one input and output.");
94  }
95  return Status::OK;
96 }
97 
-
98 Status EncryptionHandler::Process(std::unique_ptr<StreamData> stream_data) {
-
99  Status status;
+
98 Status EncryptionHandler::Process(std::unique_ptr<StreamData> stream_data) {
+
99  Status status;
100  switch (stream_data->stream_data_type) {
101  case StreamDataType::kStreamInfo:
102  status = ProcessStreamInfo(stream_data->stream_info.get());
@@ -216,9 +216,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
127  return status.ok() ? Dispatch(std::move(stream_data)) : status;
128 }
129 
-
130 Status EncryptionHandler::ProcessStreamInfo(StreamInfo* stream_info) {
+
130 Status EncryptionHandler::ProcessStreamInfo(StreamInfo* stream_info) {
131  if (stream_info->is_encrypted()) {
-
132  return Status(error::INVALID_ARGUMENT,
+
132  return Status(error::INVALID_ARGUMENT,
133  "Input stream is already encrypted.");
134  }
135 
@@ -616,11 +616,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
static bool GenerateRandomIv(FourCC protection_scheme, std::vector< uint8_t > *iv)
Definition: aes_cryptor.cc:107
double clear_lead_in_seconds
Clear lead duration in seconds.
FourCC protection_scheme
The protection scheme: 'cenc', 'cens', 'cbc1', 'cbcs'.
- diff --git a/docs/d3/da0/ec3__audio__util_8h_source.html b/docs/d3/da0/ec3__audio__util_8h_source.html index bc7613597b..6bb22851fe 100644 --- a/docs/d3/da0/ec3__audio__util_8h_source.html +++ b/docs/d3/da0/ec3__audio__util_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html b/docs/d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html index 74a4425f06..c459d31e10 100644 --- a/docs/d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html +++ b/docs/d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html @@ -114,7 +114,7 @@ Public Member Functions  
Segmenter implementation overrides.
-Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment) override +Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment) override  Finalize the (sub)segment.
  bool GetInitRangeStartAndEnd (uint64_t *start, uint64_t *end) override @@ -125,11 +125,11 @@ Public Member Functions  Segmenter (const MuxerOptions &options)   -Status Initialize (StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener) +Status Initialize (StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener)   -Status Finalize () +Status Finalize ()   -Status AddSample (std::shared_ptr< MediaSample > sample) +Status AddSample (std::shared_ptr< MediaSample > sample)   float GetDurationInSeconds () const   @@ -155,10 +155,10 @@ void set_index_end (ui void set_writer (std::unique_ptr< MkvWriter > writer)   -Status DoInitialize () override +Status DoInitialize () override   -Status DoFinalize () override +Status DoFinalize () override   - Protected Member Functions inherited from shaka::media::webm::Segmenter @@ -170,11 +170,11 @@ uint64_t  Converts the given time in WebM timecode to ISO BMFF timestamp.
 
-Status WriteSegmentHeader (uint64_t file_size, MkvWriter *writer) +Status WriteSegmentHeader (uint64_t file_size, MkvWriter *writer)  Writes the Segment header to writer.
  -Status SetCluster (uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer) +Status SetCluster (uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer)  Creates a Cluster object with the given parameters.
  @@ -299,7 +299,7 @@ uint64_t segment_payload_p diff --git a/docs/d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html b/docs/d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html index 4e6e33c81e..f5ba58b70d 100644 --- a/docs/d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html +++ b/docs/d3/da2/structshaka_1_1media_1_1mp4_1_1SchemeType.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html b/docs/d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html index f82cf933c0..efb1e9fd1d 100644 --- a/docs/d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html +++ b/docs/d3/dad/structshaka_1_1media_1_1mp4_1_1ID3v2.html @@ -189,7 +189,7 @@ Additional Inherited Members diff --git a/docs/d3/db3/structshaka_1_1media_1_1EncryptionOptions-members.html b/docs/d3/db3/structshaka_1_1media_1_1EncryptionOptions-members.html index 1d0591d7be..74c4a677aa 100644 --- a/docs/d3/db3/structshaka_1_1media_1_1EncryptionOptions-members.html +++ b/docs/d3/db3/structshaka_1_1media_1_1EncryptionOptions-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html b/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html index 0c9ac36f96..6f0dab23e2 100644 --- a/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html +++ b/docs/d3/db4/classshaka_1_1media_1_1WebMWebVTTParser-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html b/docs/d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html index f4b75f3279..3ed51235ae 100644 --- a/docs/d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html +++ b/docs/d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d3/db6/webm__parser_8cc_source.html b/docs/d3/db6/webm__parser_8cc_source.html index 0eff509c93..192e91bbd1 100644 --- a/docs/d3/db6/webm__parser_8cc_source.html +++ b/docs/d3/db6/webm__parser_8cc_source.html @@ -1088,7 +1088,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dbc/seek__head_8cc_source.html b/docs/d3/dbc/seek__head_8cc_source.html index 899a571c7d..6211b239c6 100644 --- a/docs/d3/dbc/seek__head_8cc_source.html +++ b/docs/d3/dbc/seek__head_8cc_source.html @@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dbe/demuxer_8cc_source.html b/docs/d3/dbe/demuxer_8cc_source.html index 0438d384d5..21eb6acf39 100644 --- a/docs/d3/dbe/demuxer_8cc_source.html +++ b/docs/d3/dbe/demuxer_8cc_source.html @@ -173,13 +173,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
84  key_source_ = std::move(key_source);
85 }
86 
- +
87 Status Demuxer::Run() {
88  LOG(INFO) << "Demuxer::Run() on file '" << file_name_ << "'.";
-
89  Status status = InitializeParser();
+
89  Status status = InitializeParser();
90  // ParserInitEvent callback is called after a few calls to Parse(), which sets
91  // up the streams. Only after that, we can verify the outputs below.
92  while (!all_streams_ready_ && status.ok())
-
93  status.Update(Parse());
+
93  status.Update(Parse());
94  // If no output is defined, then return success after receiving all stream
95  // info.
96  if (all_streams_ready_ && output_handlers().empty())
@@ -194,14 +194,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
105  stream_indexes_.end()) {
106  LOG(ERROR) << "Invalid argument, stream=" << GetStreamLabel(pair.first)
107  << " not available.";
-
108  return Status(error::INVALID_ARGUMENT, "Stream not available");
+
108  return Status(error::INVALID_ARGUMENT, "Stream not available");
109  }
110  }
111 
112  while (!cancelled_ && status.ok())
-
113  status.Update(Parse());
+
113  status.Update(Parse());
114  if (cancelled_ && status.ok())
-
115  return Status(error::CANCELLED, "Demuxer run cancelled");
+
115  return Status(error::CANCELLED, "Demuxer run cancelled");
116 
117  if (status.error_code() == error::END_OF_STREAM) {
118  for (size_t stream_index : stream_indexes_) {
@@ -218,11 +218,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
129  cancelled_ = true;
130 }
131 
-
132 Status Demuxer::SetHandler(const std::string& stream_label,
+
132 Status Demuxer::SetHandler(const std::string& stream_label,
133  std::shared_ptr<MediaHandler> handler) {
134  size_t stream_index = kInvalidStreamIndex;
135  if (!GetStreamIndex(stream_label, &stream_index)) {
-
136  return Status(error::INVALID_ARGUMENT,
+
136  return Status(error::INVALID_ARGUMENT,
137  "Invalid stream: " + stream_label);
138  }
139  return MediaHandler::SetHandler(stream_index, std::move(handler));
@@ -350,11 +350,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
261  stream_info->set_language(iter->second);
262  }
263  if (stream_info->is_encrypted()) {
-
264  init_event_status_.SetError(
+
264  init_event_status_.SetError(
265  error::INVALID_ARGUMENT,
266  "A decryption key source is not provided for an encrypted stream.");
267  } else {
-
268  init_event_status_.Update(
+
268  init_event_status_.Update(
269  DispatchStreamInfo(stream_index, stream_info));
270  }
271  } else {
@@ -429,25 +429,22 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
340 } // namespace media
341 } // namespace shaka
virtual bool Open()=0
Internal open. Should not be used directly.
-
void SetError(error::Code error_code, const std::string &error_message)
Definition: status.h:113
Status DispatchMediaSample(size_t stream_index, std::shared_ptr< MediaSample > media_sample)
Dispatch the media sample to downstream handlers.
Status SetHandler(const std::string &stream_label, std::shared_ptr< MediaHandler > handler)
Definition: demuxer.cc:132
virtual bool Close()=0
void SetLanguageOverride(const std::string &stream_label, const std::string &language_override)
Definition: demuxer.cc:142
-
void Update(const Status &new_status)
Definition: status.h:130
Status DispatchStreamInfo(size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
Dispatch the stream info to downstream handlers.
void SetKeySource(std::unique_ptr< KeySource > key_source)
Definition: demuxer.cc:83
virtual int64_t Read(void *buffer, uint64_t length)=0
Status FlushDownstream(size_t output_stream_index)
Flush the downstream connected at the specified output stream index.
Demuxer(const std::string &file_name)
Definition: demuxer.cc:75
-
Status SetHandler(size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
Connect downstream handler at the specified output stream index.
diff --git a/docs/d3/dbe/structshaka_1_1media_1_1mp4_1_1EditList.html b/docs/d3/dbe/structshaka_1_1media_1_1mp4_1_1EditList.html index 1ba75e5477..2983719bac 100644 --- a/docs/d3/dbe/structshaka_1_1media_1_1mp4_1_1EditList.html +++ b/docs/d3/dbe/structshaka_1_1media_1_1mp4_1_1EditList.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html b/docs/d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html index fedb225415..408f1957bb 100644 --- a/docs/d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html +++ b/docs/d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html @@ -257,7 +257,7 @@ std::shared_ptr< diff --git a/docs/d3/dd0/classshaka_1_1MpdNotifier.html b/docs/d3/dd0/classshaka_1_1MpdNotifier.html index bce8e5f6ae..8fa81a04b6 100644 --- a/docs/d3/dd0/classshaka_1_1MpdNotifier.html +++ b/docs/d3/dd0/classshaka_1_1MpdNotifier.html @@ -500,7 +500,7 @@ Public Member Functions diff --git a/docs/d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html b/docs/d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html index 45f0bed507..46349857b7 100644 --- a/docs/d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html +++ b/docs/d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html @@ -177,7 +177,7 @@ std::vector< FourCC > < diff --git a/docs/d3/de4/seek__head_8h_source.html b/docs/d3/de4/seek__head_8h_source.html index ad7c20f628..772fd7e70a 100644 --- a/docs/d3/de4/seek__head_8h_source.html +++ b/docs/d3/de4/seek__head_8h_source.html @@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/de9/classshaka_1_1media_1_1mp4_1_1BoxBuffer-members.html b/docs/d3/de9/classshaka_1_1media_1_1mp4_1_1BoxBuffer-members.html index 5cf4968b4f..69409ff4ed 100644 --- a/docs/d3/de9/classshaka_1_1media_1_1mp4_1_1BoxBuffer-members.html +++ b/docs/d3/de9/classshaka_1_1media_1_1mp4_1_1BoxBuffer-members.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/de9/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription-members.html b/docs/d3/de9/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription-members.html index fdd4414319..d5e9066e09 100644 --- a/docs/d3/de9/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription-members.html +++ b/docs/d3/de9/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/df1/box__reader_8cc_source.html b/docs/d3/df1/box__reader_8cc_source.html index 9ef489b34a..9d1e93a5f3 100644 --- a/docs/d3/df1/box__reader_8cc_source.html +++ b/docs/d3/df1/box__reader_8cc_source.html @@ -259,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html b/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html index c5e0f1a37e..3695595635 100644 --- a/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html +++ b/docs/d3/dfe/classshaka_1_1media_1_1AesPatternCryptor.html @@ -297,7 +297,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html b/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html index 45b0d34e0d..bb11ca0c45 100644 --- a/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html +++ b/docs/d4/d00/mp4_2multi__segment__segmenter_8cc_source.html @@ -137,19 +137,19 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
48  return false;
49 }
50 
-
51 Status MultiSegmentSegmenter::DoInitialize() {
+
51 Status MultiSegmentSegmenter::DoInitialize() {
52  DCHECK(ftyp());
53  DCHECK(moov());
54  // Generate the output file with init segment.
55  File* file = File::Open(options().output_file_name.c_str(), "w");
56  if (file == NULL) {
-
57  return Status(error::FILE_FAILURE,
+
57  return Status(error::FILE_FAILURE,
58  "Cannot open file for write " + options().output_file_name);
59  }
60  std::unique_ptr<BufferWriter> buffer(new BufferWriter);
61  ftyp()->Write(buffer.get());
62  moov()->Write(buffer.get());
-
63  Status status = buffer->WriteToFile(file);
+
63  Status status = buffer->WriteToFile(file);
64  if (!file->Close()) {
65  LOG(WARNING) << "Failed to close the file properly: "
66  << options().output_file_name;
@@ -300,13 +300,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
bool GetInitRange(size_t *offset, size_t *size) override
bool GetIndexRange(size_t *offset, size_t *size) override
-
void Write(BufferWriter *writer)
Definition: box.cc:25
Status WriteToFile(File *file)
diff --git a/docs/d4/d08/classshaka_1_1media_1_1mp4_1_1MP4MediaParser-members.html b/docs/d4/d08/classshaka_1_1media_1_1mp4_1_1MP4MediaParser-members.html index 6535e2fd9e..728434ab20 100644 --- a/docs/d4/d08/classshaka_1_1media_1_1mp4_1_1MP4MediaParser-members.html +++ b/docs/d4/d08/classshaka_1_1media_1_1mp4_1_1MP4MediaParser-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d0b/classshaka_1_1media_1_1TextTrack.html b/docs/d4/d0b/classshaka_1_1media_1_1TextTrack.html index f362ea1a6d..dfacd7929d 100644 --- a/docs/d4/d0b/classshaka_1_1media_1_1TextTrack.html +++ b/docs/d4/d0b/classshaka_1_1media_1_1TextTrack.html @@ -109,7 +109,7 @@ virtual void addWebVTTCue< diff --git a/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html b/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html index 792c0c2802..67ddf390f6 100644 --- a/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html +++ b/docs/d4/d14/classshaka_1_1media_1_1WebVttMediaParser-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d15/gflags__hex__bytes_8cc_source.html b/docs/d4/d15/gflags__hex__bytes_8cc_source.html index cb6b82c6ce..57534572c6 100644 --- a/docs/d4/d15/gflags__hex__bytes_8cc_source.html +++ b/docs/d4/d15/gflags__hex__bytes_8cc_source.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d18/structshaka_1_1media_1_1mp4_1_1EditListEntry.html b/docs/d4/d18/structshaka_1_1media_1_1mp4_1_1EditListEntry.html index 288bfea0a8..56c2b96234 100644 --- a/docs/d4/d18/structshaka_1_1media_1_1mp4_1_1EditListEntry.html +++ b/docs/d4/d18/structshaka_1_1media_1_1mp4_1_1EditListEntry.html @@ -118,7 +118,7 @@ int16_t media_rate_fractio diff --git a/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html b/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html index 83fb61c25f..94912a8e0e 100644 --- a/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html +++ b/docs/d4/d20/classshaka_1_1media_1_1AesCbcEncryptor.html @@ -235,7 +235,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/d4/d20/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html b/docs/d4/d20/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html index c92ea819b8..f038065e19 100644 --- a/docs/d4/d20/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html +++ b/docs/d4/d20/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d2c/structshaka_1_1media_1_1mp4_1_1ID3v2-members.html b/docs/d4/d2c/structshaka_1_1media_1_1mp4_1_1ID3v2-members.html index bb922ff4f2..ffda36f955 100644 --- a/docs/d4/d2c/structshaka_1_1media_1_1mp4_1_1ID3v2-members.html +++ b/docs/d4/d2c/structshaka_1_1media_1_1mp4_1_1ID3v2-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html b/docs/d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html index b18f20a851..9f343d4edc 100644 --- a/docs/d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html +++ b/docs/d4/d33/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d4/d37/io__cache_8cc_source.html b/docs/d4/d37/io__cache_8cc_source.html index 82904c35b4..d43d0cd63b 100644 --- a/docs/d4/d37/io__cache_8cc_source.html +++ b/docs/d4/d37/io__cache_8cc_source.html @@ -246,7 +246,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d3a/structshaka_1_1media_1_1H264Sps-members.html b/docs/d4/d3a/structshaka_1_1media_1_1H264Sps-members.html index 0e4e93edee..1a8fe8d249 100644 --- a/docs/d4/d3a/structshaka_1_1media_1_1H264Sps-members.html +++ b/docs/d4/d3a/structshaka_1_1media_1_1H264Sps-members.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d43/classshaka_1_1media_1_1ChunkingHandler.html b/docs/d4/d43/classshaka_1_1media_1_1ChunkingHandler.html index a23a8d99d9..37160c8b1f 100644 --- a/docs/d4/d43/classshaka_1_1media_1_1ChunkingHandler.html +++ b/docs/d4/d43/classshaka_1_1media_1_1ChunkingHandler.html @@ -113,14 +113,14 @@ Public Member Functions   - Public Member Functions inherited from shaka::media::MediaHandler -Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler) +Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)  Connect downstream handler at the specified output stream index.
  -Status AddHandler (std::shared_ptr< MediaHandler > handler) +Status AddHandler (std::shared_ptr< MediaHandler > handler)  Connect downstream handler to the next availble output stream index.
  -Status Initialize () +Status Initialize ()   bool IsConnected () @@ -130,12 +130,12 @@ bool 

Protected Member Functions

MediaHandler implementation overrides.
-Status InitializeInternal () override +Status InitializeInternal () override   -Status Process (std::unique_ptr< StreamData > stream_data) override +Status Process (std::unique_ptr< StreamData > stream_data) override   -Status OnFlushRequest (size_t input_stream_index) override +Status OnFlushRequest (size_t input_stream_index) override  Event handler for flush request at the specific input stream index.
  - Protected Member Functions inherited from shaka::media::MediaHandler @@ -143,38 +143,38 @@ Protected Member Functions virtual bool ValidateOutputStreamIndex (size_t stream_index) const  Validate if the stream at the specified index actually exists.
  -Status Dispatch (std::unique_ptr< StreamData > stream_data) +Status Dispatch (std::unique_ptr< StreamData > stream_data)   -Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info) +Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)  Dispatch the period info to downstream handlers.
  -Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info) +Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)  Dispatch the stream info to downstream handlers.
  -Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample) +Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)  Dispatch the media sample to downstream handlers.
  -Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample) +Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)  Dispatch the text sample to downsream handlers.
  -Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event) +Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)  Dispatch the media event to downstream handlers.
  -Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info) +Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)  Dispatch the segment info to downstream handlers.
  -Status FlushDownstream (size_t output_stream_index) +Status FlushDownstream (size_t output_stream_index)  Flush the downstream connected at the specified output stream index.
  -Status FlushAllDownstreams () +Status FlushAllDownstreams ()  Flush all connected downstreams.
  @@ -217,7 +217,7 @@ class ChunkingHandlerTest< - + @@ -245,7 +245,7 @@ class 
Status shaka::media::ChunkingHandler::InitializeInternal Status shaka::media::ChunkingHandler::InitializeInternal ( ) ChunkingHandlerTest< - + @@ -273,7 +273,7 @@ class 
Status shaka::media::ChunkingHandler::Process Status shaka::media::ChunkingHandler::Process ( std::unique_ptr< StreamData stream_data)ChunkingHandlerTest< diff --git a/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html b/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html index 30c8608e23..08878750fa 100644 --- a/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html +++ b/docs/d4/d4a/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d4/d4c/structshaka_1_1media_1_1H264WeightingFactors.html b/docs/d4/d4c/structshaka_1_1media_1_1H264WeightingFactors.html index b4268e506c..aee6d45f86 100644 --- a/docs/d4/d4c/structshaka_1_1media_1_1H264WeightingFactors.html +++ b/docs/d4/d4c/structshaka_1_1media_1_1H264WeightingFactors.html @@ -124,7 +124,7 @@ int 
chroma_offset [32] diff --git a/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html b/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html index f9d5c1a830..02add4f32b 100644 --- a/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html +++ b/docs/d4/d58/classshaka_1_1media_1_1Nalu-members.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html b/docs/d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html index fe10284d41..ca92a81319 100644 --- a/docs/d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html +++ b/docs/d4/d59/classshaka_1_1media_1_1WebMWebVTTParser.html @@ -111,7 +111,7 @@ static void  diff --git a/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html b/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html index f2084fcfa5..23365c27b2 100644 --- a/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html +++ b/docs/d4/d5c/classshaka_1_1media_1_1DecryptConfig-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html b/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html index a3c3ae6978..ebb5d42f10 100644 --- a/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html +++ b/docs/d4/d5d/classshaka_1_1media_1_1UdpFile-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html b/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html index 4d1cc08acc..0ebf693efe 100644 --- a/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html +++ b/docs/d4/d70/classshaka_1_1DashIopMpdNotifier.html @@ -475,7 +475,7 @@ class DashIopMpdNotifierTe diff --git a/docs/d4/d70/structshaka_1_1SegmentInfo-members.html b/docs/d4/d70/structshaka_1_1SegmentInfo-members.html index 1e41441dc7..b05e723d0a 100644 --- a/docs/d4/d70/structshaka_1_1SegmentInfo-members.html +++ b/docs/d4/d70/structshaka_1_1SegmentInfo-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d83/cue_8cc_source.html b/docs/d4/d83/cue_8cc_source.html index c16bd56657..15217449b2 100644 --- a/docs/d4/d83/cue_8cc_source.html +++ b/docs/d4/d83/cue_8cc_source.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d87/nalu__reader_8h_source.html b/docs/d4/d87/nalu__reader_8h_source.html index c1a6166bfb..f195b47e6c 100644 --- a/docs/d4/d87/nalu__reader_8h_source.html +++ b/docs/d4/d87/nalu__reader_8h_source.html @@ -320,7 +320,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d87/text__sample_8cc_source.html b/docs/d4/d87/text__sample_8cc_source.html index 5eba04a965..c6d6b5bb48 100644 --- a/docs/d4/d87/text__sample_8cc_source.html +++ b/docs/d4/d87/text__sample_8cc_source.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/d8a/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord.html b/docs/d4/d8a/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord.html index a350ea2e7b..b0deaef8fa 100644 --- a/docs/d4/d8a/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord.html +++ b/docs/d4/d8a/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord.html @@ -171,7 +171,7 @@ void  diff --git a/docs/d4/d8d/structshaka_1_1media_1_1mp4_1_1EC3Specific.html b/docs/d4/d8d/structshaka_1_1media_1_1mp4_1_1EC3Specific.html index 255634abc9..ee5a4f8e8b 100644 --- a/docs/d4/d8d/structshaka_1_1media_1_1mp4_1_1EC3Specific.html +++ b/docs/d4/d8d/structshaka_1_1media_1_1mp4_1_1EC3Specific.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d4/d8e/classshaka_1_1media_1_1UdpOptions.html b/docs/d4/d8e/classshaka_1_1media_1_1UdpOptions.html index 7988545a85..527737857c 100644 --- a/docs/d4/d8e/classshaka_1_1media_1_1UdpOptions.html +++ b/docs/d4/d8e/classshaka_1_1media_1_1UdpOptions.html @@ -170,7 +170,7 @@ Static Public Member Functions diff --git a/docs/d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html b/docs/d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html index 2af528a338..dced2dc7df 100644 --- a/docs/d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html +++ b/docs/d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html @@ -402,7 +402,7 @@ void  diff --git a/docs/d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html b/docs/d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html index af0267265e..832693383b 100644 --- a/docs/d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html +++ b/docs/d4/da6/classshaka_1_1media_1_1PlayReadyKeySource.html @@ -116,20 +116,20 @@ Public Member Functions  PlayReadyKeySource (const std::string &server_url, const std::string &client_cert_file, const std::string &client_cert_private_key_file, const std::string &client_cert_private_key_password)   -virtual Status FetchKeysWithProgramIdentifier (const std::string &program_identifier) +virtual Status FetchKeysWithProgramIdentifier (const std::string &program_identifier)   void SetCaFile (const std::string &ca_file)  Sets the Certificate Authority file for validating self-signed certificates.
 
KeySource implementation overrides.
-Status FetchKeys (EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override +Status FetchKeys (EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override   -Status GetKey (const std::string &stream_label, EncryptionKey *key) override +Status GetKey (const std::string &stream_label, EncryptionKey *key) override   -Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key) override +Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key) override   -Status GetCryptoPeriodKey (uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override +Status GetCryptoPeriodKey (uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override   diff --git a/docs/d4/dfa/structshaka_1_1media_1_1mp4_1_1AC3Specific.html b/docs/d4/dfa/structshaka_1_1media_1_1mp4_1_1AC3Specific.html index 9a0b1b3226..b3e13bb9c8 100644 --- a/docs/d4/dfa/structshaka_1_1media_1_1mp4_1_1AC3Specific.html +++ b/docs/d4/dfa/structshaka_1_1media_1_1mp4_1_1AC3Specific.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d4/dfd/structshaka_1_1media_1_1H265Sps.html b/docs/d4/dfd/structshaka_1_1media_1_1H265Sps.html index 80f7c0a095..e7230eb1fd 100644 --- a/docs/d4/dfd/structshaka_1_1media_1_1H265Sps.html +++ b/docs/d4/dfd/structshaka_1_1media_1_1H265Sps.html @@ -256,7 +256,7 @@ bool  diff --git a/docs/d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html b/docs/d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html index aa40475e48..0435e3acc7 100644 --- a/docs/d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html +++ b/docs/d5/d05/structshaka_1_1media_1_1mp4_1_1OriginalFormat.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d5/d09/structshaka_1_1media_1_1mp4_1_1CueIDBox.html b/docs/d5/d09/structshaka_1_1media_1_1mp4_1_1CueIDBox.html index 3a28c7439d..212459d7a3 100644 --- a/docs/d5/d09/structshaka_1_1media_1_1mp4_1_1CueIDBox.html +++ b/docs/d5/d09/structshaka_1_1media_1_1mp4_1_1CueIDBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d5/d11/classshaka_1_1media_1_1WebMInfoParser-members.html b/docs/d5/d11/classshaka_1_1media_1_1WebMInfoParser-members.html index 4d886c2242..fa1389abfd 100644 --- a/docs/d5/d11/classshaka_1_1media_1_1WebMInfoParser-members.html +++ b/docs/d5/d11/classshaka_1_1media_1_1WebMInfoParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');

@@ -264,7 +264,7 @@ Static Public Member Functions

- + @@ -311,7 +311,7 @@ Static Public Member Functions diff --git a/docs/d4/de6/classshaka_1_1media_1_1ProgressListener.html b/docs/d4/de6/classshaka_1_1media_1_1ProgressListener.html index 498815f7b0..b2498fd2ab 100644 --- a/docs/d4/de6/classshaka_1_1media_1_1ProgressListener.html +++ b/docs/d4/de6/classshaka_1_1media_1_1ProgressListener.html @@ -146,7 +146,7 @@ Public Member Functions diff --git a/docs/d4/de7/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html b/docs/d4/de7/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html index f562e23939..cec0977bbf 100644 --- a/docs/d4/de7/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html +++ b/docs/d4/de7/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::PlayReadyKeySource::FetchKeys Status shaka::media::PlayReadyKeySource::FetchKeys ( EmeInitDataType  init_data_type,
- + @@ -365,7 +365,7 @@ Static Public Member Functions
Status shaka::media::PlayReadyKeySource::GetCryptoPeriodKey Status shaka::media::PlayReadyKeySource::GetCryptoPeriodKey ( uint32_t  crypto_period_index,
- + @@ -412,7 +412,7 @@ Static Public Member Functions diff --git a/docs/d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html b/docs/d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html index a6118f228c..39e3d2622a 100644 --- a/docs/d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html +++ b/docs/d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html @@ -140,7 +140,7 @@ static const uint8_t 
Status shaka::media::PlayReadyKeySource::GetKey Status shaka::media::PlayReadyKeySource::GetKey ( const std::string &  stream_label,
- + @@ -458,7 +458,7 @@ Static Public Member Functions diff --git a/docs/d4/da7/segmenter__test__base_8cc_source.html b/docs/d4/da7/segmenter__test__base_8cc_source.html index 77cd9761d2..e9e0b56135 100644 --- a/docs/d4/da7/segmenter__test__base_8cc_source.html +++ b/docs/d4/da7/segmenter__test__base_8cc_source.html @@ -309,7 +309,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html b/docs/d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html index 5f7d02def6..b6594f578a 100644 --- a/docs/d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html +++ b/docs/d4/dad/structshaka_1_1media_1_1mp4_1_1SampleEncryption.html @@ -250,7 +250,7 @@ Additional Inherited Members diff --git a/docs/d4/db1/structshaka_1_1media_1_1mp4_1_1CompactSampleSize-members.html b/docs/d4/db1/structshaka_1_1media_1_1mp4_1_1CompactSampleSize-members.html index 55cbd79c9b..c0428bc564 100644 --- a/docs/d4/db1/structshaka_1_1media_1_1mp4_1_1CompactSampleSize-members.html +++ b/docs/d4/db1/structshaka_1_1media_1_1mp4_1_1CompactSampleSize-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::PlayReadyKeySource::GetKey Status shaka::media::PlayReadyKeySource::GetKey ( const std::vector< uint8_t > &  key_id,
diff --git a/docs/d4/db2/cluster__builder_8h_source.html b/docs/d4/db2/cluster__builder_8h_source.html index a1c07c251d..5c788fbe06 100644 --- a/docs/d4/db2/cluster__builder_8h_source.html +++ b/docs/d4/db2/cluster__builder_8h_source.html @@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html b/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html index da7a2f63b4..7883210e5f 100644 --- a/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html +++ b/docs/d4/db4/classshaka_1_1MpdNotifierFactory.html @@ -113,7 +113,7 @@ virtual std::unique_ptr
diff --git a/docs/d4/db9/structshaka_1_1media_1_1mp4_1_1MediaHeader.html b/docs/d4/db9/structshaka_1_1media_1_1mp4_1_1MediaHeader.html index 6683c565de..cbd75b888c 100644 --- a/docs/d4/db9/structshaka_1_1media_1_1mp4_1_1MediaHeader.html +++ b/docs/d4/db9/structshaka_1_1media_1_1mp4_1_1MediaHeader.html @@ -194,7 +194,7 @@ Additional Inherited Members
kElem diff --git a/docs/d4/dd3/bit__reader_8h_source.html b/docs/d4/dd3/bit__reader_8h_source.html index 66d446796b..037be3339a 100644 --- a/docs/d4/dd3/bit__reader_8h_source.html +++ b/docs/d4/dd3/bit__reader_8h_source.html @@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/dd4/structshaka_1_1media_1_1mp4_1_1FullBox-members.html b/docs/d4/dd4/structshaka_1_1media_1_1mp4_1_1FullBox-members.html index f0e1fc1e81..38bd6f8cf2 100644 --- a/docs/d4/dd4/structshaka_1_1media_1_1mp4_1_1FullBox-members.html +++ b/docs/d4/dd4/structshaka_1_1media_1_1mp4_1_1FullBox-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html b/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html index 2082018c84..384ee4e8cf 100644 --- a/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html +++ b/docs/d4/ddb/classshaka_1_1media_1_1MemoryFile-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d4/dde/webvtt__util_8h_source.html b/docs/d4/dde/webvtt__util_8h_source.html index b1a00ff3b2..c1345862c3 100644 --- a/docs/d4/dde/webvtt__util_8h_source.html +++ b/docs/d4/dde/webvtt__util_8h_source.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/de3/structshaka_1_1media_1_1mp4_1_1DataReference.html b/docs/d4/de3/structshaka_1_1media_1_1mp4_1_1DataReference.html index 8a478b7408..85c4bf56e1 100644 --- a/docs/d4/de3/structshaka_1_1media_1_1mp4_1_1DataReference.html +++ b/docs/d4/de3/structshaka_1_1media_1_1mp4_1_1DataReference.html @@ -182,7 +182,7 @@ Additional Inherited Members
diff --git a/docs/d4/dec/hls__flags_8h_source.html b/docs/d4/dec/hls__flags_8h_source.html index 31f7ad8d58..214179ac10 100644 --- a/docs/d4/dec/hls__flags_8h_source.html +++ b/docs/d4/dec/hls__flags_8h_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/df5/request__signer_8cc_source.html b/docs/d4/df5/request__signer_8cc_source.html index 0d024fb08b..2e4b55b471 100644 --- a/docs/d4/df5/request__signer_8cc_source.html +++ b/docs/d4/df5/request__signer_8cc_source.html @@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/df5/webvtt__sample__converter_8cc_source.html b/docs/d4/df5/webvtt__sample__converter_8cc_source.html index 43d64dc867..841ff7dcc4 100644 --- a/docs/d4/df5/webvtt__sample__converter_8cc_source.html +++ b/docs/d4/df5/webvtt__sample__converter_8cc_source.html @@ -416,7 +416,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html b/docs/d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html index 285163d258..7e249da2c3 100644 --- a/docs/d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html +++ b/docs/d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html @@ -194,7 +194,7 @@ Additional Inherited Members
vui_parameters_presen diff --git a/docs/d4/dff/webm__media__parser_8cc_source.html b/docs/d4/dff/webm__media__parser_8cc_source.html index f525408aa7..d85f90a8e4 100644 --- a/docs/d4/dff/webm__media__parser_8cc_source.html +++ b/docs/d4/dff/webm__media__parser_8cc_source.html @@ -367,7 +367,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html b/docs/d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html index a2e66c7d7a..378295cde6 100644 --- a/docs/d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html +++ b/docs/d5/d03/structshaka_1_1media_1_1mp4_1_1FileType.html @@ -182,7 +182,7 @@ Additional Inherited Members
diff --git a/docs/d5/d11/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html b/docs/d5/d11/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html index 2c7df77870..68afc78515 100644 --- a/docs/d5/d11/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html +++ b/docs/d5/d11/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d5/d13/classshaka_1_1media_1_1ESDescriptor.html b/docs/d5/d13/classshaka_1_1media_1_1ESDescriptor.html index 8be5ce29fc..4b7c8b7db8 100644 --- a/docs/d5/d13/classshaka_1_1media_1_1ESDescriptor.html +++ b/docs/d5/d13/classshaka_1_1media_1_1ESDescriptor.html @@ -181,7 +181,7 @@ bool IsDTS () const diff --git a/docs/d5/d15/producer__consumer__queue_8h_source.html b/docs/d5/d15/producer__consumer__queue_8h_source.html index 8a7dd98b01..bf107dda48 100644 --- a/docs/d5/d15/producer__consumer__queue_8h_source.html +++ b/docs/d5/d15/producer__consumer__queue_8h_source.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
13 #include "packager/base/synchronization/condition_variable.h"
14 #include "packager/base/synchronization/lock.h"
15 #include "packager/base/timer/elapsed_timer.h"
-
16 #include "packager/media/base/status.h"
+
16 #include "packager/status.h"
17 
18 namespace shaka {
19 namespace media {
@@ -119,11 +119,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
40 
42 
-
51  Status Push(const T& element, int64_t timeout_ms);
+
51  Status Push(const T& element, int64_t timeout_ms);
52 
-
60  Status Pop(T* element, int64_t timeout_ms);
+
60  Status Pop(T* element, int64_t timeout_ms);
61 
-
74  Status Peek(size_t pos, T* element, int64_t timeout_ms);
+
74  Status Peek(size_t pos, T* element, int64_t timeout_ms);
75 
79  void Stop() {
80  base::AutoLock l(lock_);
@@ -199,13 +199,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
159 
160 template <class T>
-
161 Status ProducerConsumerQueue<T>::Push(const T& element, int64_t timeout_ms) {
+
161 Status ProducerConsumerQueue<T>::Push(const T& element, int64_t timeout_ms) {
162  base::AutoLock l(lock_);
163  bool woken = false;
164 
165  // Check for queue shutdown.
166  if (stop_requested_)
-
167  return Status(error::STOPPED, "");
+
167  return Status(error::STOPPED, "");
168 
169  base::ElapsedTimer timer;
170  base::TimeDelta timeout_delta = base::TimeDelta::FromMilliseconds(timeout_ms);
@@ -222,12 +222,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
181  not_full_cv_.TimedWait(timeout_delta - elapsed);
182  } else {
183  // We're through waiting.
-
184  return Status(error::TIME_OUT, "Time out on pushing.");
+
184  return Status(error::TIME_OUT, "Time out on pushing.");
185  }
186  }
187  // Re-check for queue shutdown after waking from Wait.
188  if (stop_requested_)
-
189  return Status(error::STOPPED, "");
+
189  return Status(error::STOPPED, "");
190 
191  woken = true;
192  }
@@ -248,7 +248,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
207 }
208 
209 template <class T>
-
210 Status ProducerConsumerQueue<T>::Pop(T* element, int64_t timeout_ms) {
+
210 Status ProducerConsumerQueue<T>::Pop(T* element, int64_t timeout_ms) {
211  base::AutoLock l(lock_);
212  bool woken = false;
213 
@@ -257,7 +257,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
216 
217  while (q_.empty()) {
218  if (stop_requested_)
-
219  return Status(error::STOPPED, "");
+
219  return Status(error::STOPPED, "");
220 
221  if (timeout_ms < 0) {
222  // Wait forever, or until Stop.
@@ -269,7 +269,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
228  not_empty_cv_.TimedWait(timeout_delta - elapsed);
229  } else {
230  // We're through waiting.
-
231  return Status(error::TIME_OUT, "Time out on popping.");
+
231  return Status(error::TIME_OUT, "Time out on popping.");
232  }
233  }
234  woken = true;
@@ -290,12 +290,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
249 }
250 
251 template <class T>
- +
253  T* element,
254  int64_t timeout_ms) {
255  base::AutoLock l(lock_);
256  if (pos < head_pos_) {
-
257  return Status(
+
257  return Status(
258  error::INVALID_ARGUMENT,
259  base::StringPrintf(
260  "pos (%zu) is too small; head is at %zu.", pos, head_pos_));
@@ -311,7 +311,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
270 
271  while (pos >= head_pos_ + q_.size()) {
272  if (stop_requested_)
-
273  return Status(error::STOPPED, "");
+
273  return Status(error::STOPPED, "");
274 
275  if (timeout_ms < 0) {
276  // Wait forever, or until Stop.
@@ -323,7 +323,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
282  new_element_cv_.TimedWait(timeout_delta - elapsed);
283  } else {
284  // We're through waiting.
-
285  return Status(error::TIME_OUT, "Time out on peeking.");
+
285  return Status(error::TIME_OUT, "Time out on peeking.");
286  }
287  }
288  // Move head to create some space (move the sliding window centered @ pos).
@@ -368,13 +368,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status Pop(T *element, int64_t timeout_ms)
-
Status Push(const T &element, int64_t timeout_ms)
diff --git a/docs/d5/d1a/ts__section_8h_source.html b/docs/d5/d1a/ts__section_8h_source.html index 1d6004493f..6d94d5e1ba 100644 --- a/docs/d5/d1a/ts__section_8h_source.html +++ b/docs/d5/d1a/ts__section_8h_source.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d26/classshaka_1_1media_1_1mp4_1_1TrackRunIterator-members.html b/docs/d5/d26/classshaka_1_1media_1_1mp4_1_1TrackRunIterator-members.html index d9d7bf283e..04005c0d7d 100644 --- a/docs/d5/d26/classshaka_1_1media_1_1mp4_1_1TrackRunIterator-members.html +++ b/docs/d5/d26/classshaka_1_1media_1_1mp4_1_1TrackRunIterator-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d27/key__fetcher_8cc_source.html b/docs/d5/d27/key__fetcher_8cc_source.html index fce49f5785..367149ad84 100644 --- a/docs/d5/d27/key__fetcher_8cc_source.html +++ b/docs/d5/d27/key__fetcher_8cc_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html b/docs/d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html index d7da4d35b4..6d5d8b3d49 100644 --- a/docs/d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html +++ b/docs/d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html @@ -102,11 +102,11 @@ Public Member Functions    ProducerConsumerQueue (size_t capacity, size_t starting_pos)   -Status Push (const T &element, int64_t timeout_ms) +Status Push (const T &element, int64_t timeout_ms)   -Status Pop (T *element, int64_t timeout_ms) +Status Pop (T *element, int64_t timeout_ms)   -Status Peek (size_t pos, T *element, int64_t timeout_ms) +Status Peek (size_t pos, T *element, int64_t timeout_ms)   void Stop ()   @@ -266,7 +266,7 @@ template<class T > template<class T > - + @@ -312,7 +312,7 @@ template<class T > template<class T >
Status shaka::media::ProducerConsumerQueue< T >::Peek Status shaka::media::ProducerConsumerQueue< T >::Peek ( size_t  pos,
- + @@ -351,7 +351,7 @@ template<class T > template<class T >
Status shaka::media::ProducerConsumerQueue< T >::Pop Status shaka::media::ProducerConsumerQueue< T >::Pop ( T *  element,
- + @@ -501,7 +501,7 @@ template<class T > diff --git a/docs/d5/d3b/structshaka_1_1media_1_1mp4_1_1Media-members.html b/docs/d5/d3b/structshaka_1_1media_1_1mp4_1_1Media-members.html index cc35ae189c..939f56d0b5 100644 --- a/docs/d5/d3b/structshaka_1_1media_1_1mp4_1_1Media-members.html +++ b/docs/d5/d3b/structshaka_1_1media_1_1mp4_1_1Media-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::ProducerConsumerQueue< T >::Push Status shaka::media::ProducerConsumerQueue< T >::Push ( const T &  element,
diff --git a/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html b/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html index 7d1d649519..5c3e8c990a 100644 --- a/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html +++ b/docs/d5/d40/webm_2single__segment__segmenter_8h_source.html @@ -99,8 +99,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include "packager/media/formats/webm/segmenter.h"
11 
12 #include <memory>
-
13 #include "packager/media/base/status.h"
-
14 #include "packager/media/formats/webm/mkv_writer.h"
+
13 #include "packager/media/formats/webm/mkv_writer.h"
+
14 #include "packager/status.h"
15 
16 namespace shaka {
17 namespace media {
@@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
28  explicit SingleSegmentSegmenter(const MuxerOptions& options);
29  ~SingleSegmentSegmenter() override;
30 
-
33  Status FinalizeSegment(uint64_t start_timestamp,
+
33  Status FinalizeSegment(uint64_t start_timestamp,
34  uint64_t duration_timestamp,
35  bool is_subsegment) override;
36  bool GetInitRangeStartAndEnd(uint64_t* start, uint64_t* end) override;
@@ -131,12 +131,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
48  }
49 
50  // Segmenter implementation overrides.
-
51  Status DoInitialize() override;
-
52  Status DoFinalize() override;
+
51  Status DoInitialize() override;
+
52  Status DoFinalize() override;
53 
54  private:
55  // Segmenter implementation overrides.
-
56  Status NewSegment(uint64_t start_timestamp, bool is_subsegment) override;
+
56  Status NewSegment(uint64_t start_timestamp, bool is_subsegment) override;
57 
58  std::unique_ptr<MkvWriter> writer_;
59  uint64_t init_end_;
@@ -158,11 +158,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
An implementation of IMkvWriter using our File type.
Definition: mkv_writer.h:21
Status FinalizeSegment(uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment) override
Finalize the (sub)segment.
- diff --git a/docs/d5/d4b/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi-members.html b/docs/d5/d4b/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi-members.html index f14d75ff5c..1b55e99b75 100644 --- a/docs/d5/d4b/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi-members.html +++ b/docs/d5/d4b/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d4d/box_8cc_source.html b/docs/d5/d4d/box_8cc_source.html index 2a11a10e28..e4b217a715 100644 --- a/docs/d5/d4d/box_8cc_source.html +++ b/docs/d5/d4d/box_8cc_source.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d52/ts__section__pes_8h_source.html b/docs/d5/d52/ts__section__pes_8h_source.html index 0f6a8e5817..0fdbd0c74f 100644 --- a/docs/d5/d52/ts__section__pes_8h_source.html +++ b/docs/d5/d52/ts__section__pes_8h_source.html @@ -160,7 +160,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d53/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html b/docs/d5/d53/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html index 7a30698fa1..8f06e9d83c 100644 --- a/docs/d5/d53/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html +++ b/docs/d5/d53/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d57/classshaka_1_1RepresentationStateChangeListener-members.html b/docs/d5/d57/classshaka_1_1RepresentationStateChangeListener-members.html index 7096d5540a..57a049b02c 100644 --- a/docs/d5/d57/classshaka_1_1RepresentationStateChangeListener-members.html +++ b/docs/d5/d57/classshaka_1_1RepresentationStateChangeListener-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d59/classshaka_1_1MockRepresentation-members.html b/docs/d5/d59/classshaka_1_1MockRepresentation-members.html index 07eca5ceae..433841f173 100644 --- a/docs/d5/d59/classshaka_1_1MockRepresentation-members.html +++ b/docs/d5/d59/classshaka_1_1MockRepresentation-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d5a/webvtt__timestamp_8cc_source.html b/docs/d5/d5a/webvtt__timestamp_8cc_source.html index 4a354432cd..d19a27ffbd 100644 --- a/docs/d5/d5a/webvtt__timestamp_8cc_source.html +++ b/docs/d5/d5a/webvtt__timestamp_8cc_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d5c/continuity__counter_8cc_source.html b/docs/d5/d5c/continuity__counter_8cc_source.html index 0aaf19a0d0..075fa0fc96 100644 --- a/docs/d5/d5c/continuity__counter_8cc_source.html +++ b/docs/d5/d5c/continuity__counter_8cc_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d63/classshaka_1_1media_1_1mp2t_1_1EsParserH265.html b/docs/d5/d63/classshaka_1_1media_1_1mp2t_1_1EsParserH265.html index 62a706ec9d..808e0288fb 100644 --- a/docs/d5/d63/classshaka_1_1media_1_1mp2t_1_1EsParserH265.html +++ b/docs/d5/d63/classshaka_1_1media_1_1mp2t_1_1EsParserH265.html @@ -161,7 +161,7 @@ const
diff --git a/docs/d5/d63/network__util_8cc_source.html b/docs/d5/d63/network__util_8cc_source.html index fe64c576ad..b665623500 100644 --- a/docs/d5/d63/network__util_8cc_source.html +++ b/docs/d5/d63/network__util_8cc_source.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html b/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html index 3e262716a3..ebb02bb2c7 100644 --- a/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html +++ b/docs/d5/d66/classshaka_1_1media_1_1NalUnitToByteStreamConverter.html @@ -298,7 +298,7 @@ class NalUnitToByteStreamC diff --git a/docs/d5/d6f/vlog__flags_8cc_source.html b/docs/d5/d6f/vlog__flags_8cc_source.html index 28f1b58bc9..5b7f9f1440 100644 --- a/docs/d5/d6f/vlog__flags_8cc_source.html +++ b/docs/d5/d6f/vlog__flags_8cc_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html b/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html index 753fcedacd..cd7b11660e 100644 --- a/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html +++ b/docs/d5/d72/avc__decoder__configuration__record_8cc_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d7b/box__definitions_8h_source.html b/docs/d5/d7b/box__definitions_8h_source.html index 63c25d5984..49e3287ad4 100644 --- a/docs/d5/d7b/box__definitions_8h_source.html +++ b/docs/d5/d7b/box__definitions_8h_source.html @@ -1000,7 +1000,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d86/structshaka_1_1media_1_1mp4_1_1MediaInformation.html b/docs/d5/d86/structshaka_1_1media_1_1mp4_1_1MediaInformation.html index bfa6a157c7..c40413b503 100644 --- a/docs/d5/d86/structshaka_1_1media_1_1mp4_1_1MediaInformation.html +++ b/docs/d5/d86/structshaka_1_1media_1_1mp4_1_1MediaInformation.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d5/d89/widevine__key__source_8cc_source.html b/docs/d5/d89/widevine__key__source_8cc_source.html index ba89d43198..d8fab677be 100644 --- a/docs/d5/d89/widevine__key__source_8cc_source.html +++ b/docs/d5/d89/widevine__key__source_8cc_source.html @@ -244,7 +244,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
155  }
156 }
157 
-
158 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& content_id,
+
158 Status WidevineKeySource::FetchKeys(const std::vector<uint8_t>& content_id,
159  const std::string& policy) {
160  base::AutoLock scoped_lock(lock_);
161  request_dict_.Clear();
@@ -267,7 +267,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
178  return FetchKeysInternal(!kEnableKeyRotation, 0, false);
179 }
180 
-
181 Status WidevineKeySource::FetchKeys(EmeInitDataType init_data_type,
+
181 Status WidevineKeySource::FetchKeys(EmeInitDataType init_data_type,
182  const std::vector<uint8_t>& init_data) {
183  std::vector<uint8_t> pssh_data;
184  uint32_t asset_id = 0;
@@ -278,7 +278,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
189  std::vector<ProtectionSystemSpecificInfo> protection_systems_info;
191  init_data.data(), init_data.size(), &protection_systems_info)) {
-
192  return Status(error::PARSER_FAILURE, "Error parsing the PSSH boxes.");
+
192  return Status(error::PARSER_FAILURE, "Error parsing the PSSH boxes.");
193  }
194  for (const auto& info: protection_systems_info) {
195  // Use Widevine PSSH if available otherwise construct a Widevine PSSH
@@ -294,7 +294,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
205  }
206  }
207  if (pssh_data.empty())
-
208  return Status(error::INVALID_ARGUMENT, "No supported PSSHs found.");
+
208  return Status(error::INVALID_ARGUMENT, "No supported PSSHs found.");
209  break;
210  }
211  case EmeInitDataType::WEBM:
@@ -302,13 +302,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
213  break;
214  case EmeInitDataType::WIDEVINE_CLASSIC:
215  if (init_data.size() < sizeof(asset_id))
-
216  return Status(error::INVALID_ARGUMENT, "Invalid asset id.");
+
216  return Status(error::INVALID_ARGUMENT, "Invalid asset id.");
217  asset_id = ntohlFromBuffer(init_data.data());
218  break;
219  default:
220  LOG(ERROR) << "Init data type " << static_cast<int>(init_data_type)
221  << " not supported.";
-
222  return Status(error::INVALID_ARGUMENT, "Unsupported init data type.");
+
222  return Status(error::INVALID_ARGUMENT, "Unsupported init data type.");
223  }
224  const bool widevine_classic =
225  init_data_type == EmeInitDataType::WIDEVINE_CLASSIC;
@@ -326,18 +326,18 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
237  return FetchKeysInternal(!kEnableKeyRotation, 0, widevine_classic);
238 }
239 
-
240 Status WidevineKeySource::GetKey(const std::string& stream_label,
+
240 Status WidevineKeySource::GetKey(const std::string& stream_label,
241  EncryptionKey* key) {
242  DCHECK(key);
243  if (encryption_key_map_.find(stream_label) == encryption_key_map_.end()) {
-
244  return Status(error::INTERNAL_ERROR,
+
244  return Status(error::INTERNAL_ERROR,
245  "Cannot find key for '" + stream_label + "'.");
246  }
247  *key = *encryption_key_map_[stream_label];
248  return Status::OK;
249 }
250 
-
251 Status WidevineKeySource::GetKey(const std::vector<uint8_t>& key_id,
+
251 Status WidevineKeySource::GetKey(const std::vector<uint8_t>& key_id,
252  EncryptionKey* key) {
253  DCHECK(key);
254  for (const auto& pair : encryption_key_map_) {
@@ -346,11 +346,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
257  return Status::OK;
258  }
259  }
-
260  return Status(error::INTERNAL_ERROR,
+
260  return Status(error::INTERNAL_ERROR,
261  "Cannot find key with specified key ID");
262 }
263 
-
264 Status WidevineKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
+
264 Status WidevineKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
265  const std::string& stream_label,
266  EncryptionKey* key) {
267  DCHECK(key_production_thread_.HasBeenStarted());
@@ -381,14 +381,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
292  key_fetcher_ = std::move(key_fetcher);
293 }
294 
-
295 Status WidevineKeySource::GetKeyInternal(uint32_t crypto_period_index,
+
295 Status WidevineKeySource::GetKeyInternal(uint32_t crypto_period_index,
296  const std::string& stream_label,
297  EncryptionKey* key) {
298  DCHECK(key_pool_);
299  DCHECK(key);
300 
301  std::shared_ptr<EncryptionKeyMap> encryption_key_map;
-
302  Status status = key_pool_->Peek(crypto_period_index, &encryption_key_map,
+
302  Status status = key_pool_->Peek(crypto_period_index, &encryption_key_map,
303  kGetKeyTimeoutInSeconds * 1000);
304  if (!status.ok()) {
305  if (status.error_code() == error::STOPPED) {
@@ -717,14 +717,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status GetKey(const std::string &stream_label, EncryptionKey *key) override
void set_key_fetcher(std::unique_ptr< KeyFetcher > key_fetcher)
WidevineKeySource(const std::string &server_url, bool add_common_pssh)
-
Status GetCryptoPeriodKey(uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override
void set_signer(std::unique_ptr< RequestSigner > signer)
Status FetchKeys(EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override
diff --git a/docs/d5/d8c/structshaka_1_1media_1_1mp4_1_1CompositionOffset.html b/docs/d5/d8c/structshaka_1_1media_1_1mp4_1_1CompositionOffset.html index f70c58f851..e909ee2189 100644 --- a/docs/d5/d8c/structshaka_1_1media_1_1mp4_1_1CompositionOffset.html +++ b/docs/d5/d8c/structshaka_1_1media_1_1mp4_1_1CompositionOffset.html @@ -112,7 +112,7 @@ int64_t sample_offset< diff --git a/docs/d5/d8f/webm__cluster__parser_8cc_source.html b/docs/d5/d8f/webm__cluster__parser_8cc_source.html index 61cfa10bf4..8a60b7ec1d 100644 --- a/docs/d5/d8f/webm__cluster__parser_8cc_source.html +++ b/docs/d5/d8f/webm__cluster__parser_8cc_source.html @@ -730,7 +730,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d91/es__parser__adts_8cc_source.html b/docs/d5/d91/es__parser__adts_8cc_source.html index b177304838..6a7b08521c 100644 --- a/docs/d5/d91/es__parser__adts_8cc_source.html +++ b/docs/d5/d91/es__parser__adts_8cc_source.html @@ -364,7 +364,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d95/structshaka_1_1media_1_1mp4_1_1EditListEntry-members.html b/docs/d5/d95/structshaka_1_1media_1_1mp4_1_1EditListEntry-members.html index 2f3deb708a..d0593d65ea 100644 --- a/docs/d5/d95/structshaka_1_1media_1_1mp4_1_1EditListEntry-members.html +++ b/docs/d5/d95/structshaka_1_1media_1_1mp4_1_1EditListEntry-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d98/encryptor_8cc_source.html b/docs/d5/d98/encryptor_8cc_source.html index ed30fe1695..1ea5c84387 100644 --- a/docs/d5/d98/encryptor_8cc_source.html +++ b/docs/d5/d98/encryptor_8cc_source.html @@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d9b/vp__codec__configuration__record_8h_source.html b/docs/d5/d9b/vp__codec__configuration__record_8h_source.html index 3023965782..d36571cd39 100644 --- a/docs/d5/d9b/vp__codec__configuration__record_8h_source.html +++ b/docs/d5/d9b/vp__codec__configuration__record_8h_source.html @@ -317,7 +317,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/d9d/structshaka_1_1media_1_1H265ReferencePictureListModifications.html b/docs/d5/d9d/structshaka_1_1media_1_1H265ReferencePictureListModifications.html index 6ea8478083..087ee1da1a 100644 --- a/docs/d5/d9d/structshaka_1_1media_1_1H265ReferencePictureListModifications.html +++ b/docs/d5/d9d/structshaka_1_1media_1_1H265ReferencePictureListModifications.html @@ -119,7 +119,7 @@ std::vector< int > l diff --git a/docs/d5/da4/aes__encryptor_8cc_source.html b/docs/d5/da4/aes__encryptor_8cc_source.html index db10ed486a..a79533bf42 100644 --- a/docs/d5/da4/aes__encryptor_8cc_source.html +++ b/docs/d5/da4/aes__encryptor_8cc_source.html @@ -297,7 +297,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dad/structshaka_1_1media_1_1H265ReferencePictureSet.html b/docs/d5/dad/structshaka_1_1media_1_1H265ReferencePictureSet.html index f6b06194a8..66fcb8fb83 100644 --- a/docs/d5/dad/structshaka_1_1media_1_1H265ReferencePictureSet.html +++ b/docs/d5/dad/structshaka_1_1media_1_1H265ReferencePictureSet.html @@ -127,7 +127,7 @@ int num_delta_pocs diff --git a/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html b/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html index 6a6c428fa8..81c9144a6f 100644 --- a/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html +++ b/docs/d5/db1/classshaka_1_1media_1_1StreamInfo.html @@ -243,7 +243,7 @@ void set_encryption_config diff --git a/docs/d5/db9/classshaka_1_1media_1_1mp2t_1_1EsParserH264.html b/docs/d5/db9/classshaka_1_1media_1_1mp2t_1_1EsParserH264.html index 79253faa11..8bb26c085f 100644 --- a/docs/d5/db9/classshaka_1_1media_1_1mp2t_1_1EsParserH264.html +++ b/docs/d5/db9/classshaka_1_1media_1_1mp2t_1_1EsParserH264.html @@ -161,7 +161,7 @@ const
diff --git a/docs/d5/dba/ts__packet_8cc_source.html b/docs/d5/dba/ts__packet_8cc_source.html index 569f89dfa9..ed50fb5dd3 100644 --- a/docs/d5/dba/ts__packet_8cc_source.html +++ b/docs/d5/dba/ts__packet_8cc_source.html @@ -307,7 +307,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dc1/webm__webvtt__parser_8cc_source.html b/docs/d5/dc1/webm__webvtt__parser_8cc_source.html index a056f54783..243e3465f7 100644 --- a/docs/d5/dc1/webm__webvtt__parser_8cc_source.html +++ b/docs/d5/dc1/webm__webvtt__parser_8cc_source.html @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dc8/structshaka_1_1media_1_1mp4_1_1TrackFragment-members.html b/docs/d5/dc8/structshaka_1_1media_1_1mp4_1_1TrackFragment-members.html index bf5226004f..43cff32b2b 100644 --- a/docs/d5/dc8/structshaka_1_1media_1_1mp4_1_1TrackFragment-members.html +++ b/docs/d5/dc8/structshaka_1_1media_1_1mp4_1_1TrackFragment-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dca/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html b/docs/d5/dca/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html index 4ba44ff71f..c9b3b4a5cf 100644 --- a/docs/d5/dca/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html +++ b/docs/d5/dca/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationOffset.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d5/dcf/rsa__key_8h_source.html b/docs/d5/dcf/rsa__key_8h_source.html index 28cd1128b0..81d006a408 100644 --- a/docs/d5/dcf/rsa__key_8h_source.html +++ b/docs/d5/dcf/rsa__key_8h_source.html @@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dda/ts__section__psi_8h_source.html b/docs/d5/dda/ts__section__psi_8h_source.html index 8fbc14dcda..bc49ccbd28 100644 --- a/docs/d5/dda/ts__section__psi_8h_source.html +++ b/docs/d5/dda/ts__section__psi_8h_source.html @@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/de0/bit__reader_8cc_source.html b/docs/d5/de0/bit__reader_8cc_source.html index e27ab82212..4ff44c44cc 100644 --- a/docs/d5/de0/bit__reader_8cc_source.html +++ b/docs/d5/de0/bit__reader_8cc_source.html @@ -197,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html b/docs/d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html index e6ed6e5648..9cab2ec3cc 100644 --- a/docs/d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html +++ b/docs/d5/de0/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator.html @@ -271,7 +271,7 @@ class PesPacketGeneratorTe diff --git a/docs/d5/dec/classshaka_1_1media_1_1WebMParserClient.html b/docs/d5/dec/classshaka_1_1media_1_1WebMParserClient.html index a9a0a78b76..9158039a69 100644 --- a/docs/d5/dec/classshaka_1_1media_1_1WebMParserClient.html +++ b/docs/d5/dec/classshaka_1_1media_1_1WebMParserClient.html @@ -151,7 +151,7 @@ Protected Member Functions diff --git a/docs/d5/dec/decoder__configuration__record_8cc_source.html b/docs/d5/dec/decoder__configuration__record_8cc_source.html index f1711cabb4..bad174c760 100644 --- a/docs/d5/dec/decoder__configuration__record_8cc_source.html +++ b/docs/d5/dec/decoder__configuration__record_8cc_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dec/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html b/docs/d5/dec/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html index c81977b2ba..7702aed604 100644 --- a/docs/d5/dec/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html +++ b/docs/d5/dec/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/def/ts__section__pmt_8h_source.html b/docs/d5/def/ts__section__pmt_8h_source.html index 6ccbb44adb..e79b25398e 100644 --- a/docs/d5/def/ts__section__pmt_8h_source.html +++ b/docs/d5/def/ts__section__pmt_8h_source.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html b/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html index 0c587b048c..11bf0d6de0 100644 --- a/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html +++ b/docs/d5/dfa/classshaka_1_1media_1_1HlsNotifyMuxerListener.html @@ -535,7 +535,7 @@ Additional Inherited Members diff --git a/docs/d5/dfa/classshaka_1_1media_1_1MediaParser-members.html b/docs/d5/dfa/classshaka_1_1media_1_1MediaParser-members.html index ed9018bf04..c2c4dd5d84 100644 --- a/docs/d5/dfa/classshaka_1_1media_1_1MediaParser-members.html +++ b/docs/d5/dfa/classshaka_1_1media_1_1MediaParser-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d5/dfc/file_8cc_source.html b/docs/d5/dfc/file_8cc_source.html index 736dbadf62..293a779b5d 100644 --- a/docs/d5/dfc/file_8cc_source.html +++ b/docs/d5/dfc/file_8cc_source.html @@ -376,7 +376,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d02/playready__key__encryption__flags_8h_source.html b/docs/d6/d02/playready__key__encryption__flags_8h_source.html index d0d2a9f3b7..4e5f2def3a 100644 --- a/docs/d6/d02/playready__key__encryption__flags_8h_source.html +++ b/docs/d6/d02/playready__key__encryption__flags_8h_source.html @@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d03/classshaka_1_1media_1_1AesCbcDecryptor-members.html b/docs/d6/d03/classshaka_1_1media_1_1AesCbcDecryptor-members.html index 7d6bf523d3..7dd3be2355 100644 --- a/docs/d6/d03/classshaka_1_1media_1_1AesCbcDecryptor-members.html +++ b/docs/d6/d03/classshaka_1_1media_1_1AesCbcDecryptor-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d09/aes__pattern__cryptor_8h_source.html b/docs/d6/d09/aes__pattern__cryptor_8h_source.html index df4f0eeacb..0d51a83330 100644 --- a/docs/d6/d09/aes__pattern__cryptor_8h_source.html +++ b/docs/d6/d09/aes__pattern__cryptor_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d16/text__stream__info_8cc_source.html b/docs/d6/d16/text__stream__info_8cc_source.html index f6f56c81d1..1c041290f9 100644 --- a/docs/d6/d16/text__stream__info_8cc_source.html +++ b/docs/d6/d16/text__stream__info_8cc_source.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d17/es__parser__h264_8cc_source.html b/docs/d6/d17/es__parser__h264_8cc_source.html index ae9bf32831..4d3e49141e 100644 --- a/docs/d6/d17/es__parser__h264_8cc_source.html +++ b/docs/d6/d17/es__parser__h264_8cc_source.html @@ -267,7 +267,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d1a/structshaka_1_1media_1_1mp4_1_1MovieHeader.html b/docs/d6/d1a/structshaka_1_1media_1_1mp4_1_1MovieHeader.html index 81e0d1953a..c2a89d00c6 100644 --- a/docs/d6/d1a/structshaka_1_1media_1_1mp4_1_1MovieHeader.html +++ b/docs/d6/d1a/structshaka_1_1media_1_1mp4_1_1MovieHeader.html @@ -200,7 +200,7 @@ Additional Inherited Members diff --git a/docs/d6/d1a/ts__packet__writer__util_8cc_source.html b/docs/d6/d1a/ts__packet__writer__util_8cc_source.html index 0f0c5d2ba1..48769d3818 100644 --- a/docs/d6/d1a/ts__packet__writer__util_8cc_source.html +++ b/docs/d6/d1a/ts__packet__writer__util_8cc_source.html @@ -255,7 +255,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html b/docs/d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html index 4bf37c64ab..06ac33cdd6 100644 --- a/docs/d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html +++ b/docs/d6/d26/structshaka_1_1media_1_1VideoStreamInfoParameters.html @@ -146,7 +146,7 @@ bool is_encrypted diff --git a/docs/d6/d2e/mpd__notifier__util_8cc_source.html b/docs/d6/d2e/mpd__notifier__util_8cc_source.html index d44182073f..8b23495fc7 100644 --- a/docs/d6/d2e/mpd__notifier__util_8cc_source.html +++ b/docs/d6/d2e/mpd__notifier__util_8cc_source.html @@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d32/classshaka_1_1media_1_1TextTrack-members.html b/docs/d6/d32/classshaka_1_1media_1_1TextTrack-members.html index 73cafa1b67..ea98c96589 100644 --- a/docs/d6/d32/classshaka_1_1media_1_1TextTrack-members.html +++ b/docs/d6/d32/classshaka_1_1media_1_1TextTrack-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d35/webm__content__encodings_8cc_source.html b/docs/d6/d35/webm__content__encodings_8cc_source.html index 1c100c1013..5d99f06ca6 100644 --- a/docs/d6/d35/webm__content__encodings_8cc_source.html +++ b/docs/d6/d35/webm__content__encodings_8cc_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d3b/chunk__info__iterator_8cc_source.html b/docs/d6/d3b/chunk__info__iterator_8cc_source.html index 3e9bf53a8a..bab58183b2 100644 --- a/docs/d6/d3b/chunk__info__iterator_8cc_source.html +++ b/docs/d6/d3b/chunk__info__iterator_8cc_source.html @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html b/docs/d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html index df6f03f220..b4a931d90b 100644 --- a/docs/d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html +++ b/docs/d6/d4c/classshaka_1_1media_1_1EncryptionHandler.html @@ -111,14 +111,14 @@ Public Member Functions   - Public Member Functions inherited from shaka::media::MediaHandler -Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler) +Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)  Connect downstream handler at the specified output stream index.
  -Status AddHandler (std::shared_ptr< MediaHandler > handler) +Status AddHandler (std::shared_ptr< MediaHandler > handler)  Connect downstream handler to the next availble output stream index.
  -Status Initialize () +Status Initialize ()   bool IsConnected () @@ -128,51 +128,51 @@ bool 

Protected Member Functions

MediaHandler implementation overrides.
-Status InitializeInternal () override +Status InitializeInternal () override   -Status Process (std::unique_ptr< StreamData > stream_data) override +Status Process (std::unique_ptr< StreamData > stream_data) override   - Protected Member Functions inherited from shaka::media::MediaHandler -virtual Status OnFlushRequest (size_t input_stream_index) +virtual Status OnFlushRequest (size_t input_stream_index)  Event handler for flush request at the specific input stream index.
  virtual bool ValidateOutputStreamIndex (size_t stream_index) const  Validate if the stream at the specified index actually exists.
  -Status Dispatch (std::unique_ptr< StreamData > stream_data) +Status Dispatch (std::unique_ptr< StreamData > stream_data)   -Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info) +Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)  Dispatch the period info to downstream handlers.
  -Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info) +Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)  Dispatch the stream info to downstream handlers.
  -Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample) +Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)  Dispatch the media sample to downstream handlers.
  -Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample) +Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)  Dispatch the text sample to downsream handlers.
  -Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event) +Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)  Dispatch the media event to downstream handlers.
  -Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info) +Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)  Dispatch the segment info to downstream handlers.
  -Status FlushDownstream (size_t output_stream_index) +Status FlushDownstream (size_t output_stream_index)  Flush the downstream connected at the specified output stream index.
  -Status FlushAllDownstreams () +Status FlushAllDownstreams ()  Flush all connected downstreams.
  @@ -208,7 +208,7 @@ class EncryptionHandlerTes - + @@ -236,7 +236,7 @@ class  diff --git a/docs/d6/d7b/webm__tracks__parser_8h_source.html b/docs/d6/d7b/webm__tracks__parser_8h_source.html index 4fa0df8efb..0c44ede810 100644 --- a/docs/d6/d7b/webm__tracks__parser_8h_source.html +++ b/docs/d6/d7b/webm__tracks__parser_8h_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d7c/structshaka_1_1media_1_1mp4_1_1AC3Specific-members.html b/docs/d6/d7c/structshaka_1_1media_1_1mp4_1_1AC3Specific-members.html index e7ab93fd52..c4ca80a970 100644 --- a/docs/d6/d7c/structshaka_1_1media_1_1mp4_1_1AC3Specific-members.html +++ b/docs/d6/d7c/structshaka_1_1media_1_1mp4_1_1AC3Specific-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::EncryptionHandler::InitializeInternal Status shaka::media::EncryptionHandler::InitializeInternal ( ) EncryptionHandlerTes - + @@ -264,7 +264,7 @@ class 
Status shaka::media::EncryptionHandler::Process Status shaka::media::EncryptionHandler::Process ( std::unique_ptr< StreamData stream_data)EncryptionHandlerTes diff --git a/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html b/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html index 5e5bb397c2..7641dd8821 100644 --- a/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html +++ b/docs/d6/d4e/webm_2multi__segment__segmenter_8cc_source.html @@ -110,16 +110,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
21 
22 MultiSegmentSegmenter::~MultiSegmentSegmenter() {}
23 
- +
24 Status MultiSegmentSegmenter::FinalizeSegment(uint64_t start_timestamp,
25  uint64_t duration_timestamp,
26  bool is_subsegment) {
27  CHECK(cluster());
-
28  Status status = Segmenter::FinalizeSegment(start_timestamp,
+
28  Status status = Segmenter::FinalizeSegment(start_timestamp,
29  duration_timestamp, is_subsegment);
30  if (!status.ok())
31  return status;
32  if (!cluster()->Finalize())
-
33  return Status(error::FILE_FAILURE, "Error finalizing segment.");
+
33  return Status(error::FILE_FAILURE, "Error finalizing segment.");
34  if (!is_subsegment) {
35  if (muxer_listener()) {
36  const uint64_t size = cluster()->Size();
@@ -141,16 +141,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
52  return false;
53 }
54 
-
55 Status MultiSegmentSegmenter::DoInitialize() {
+
55 Status MultiSegmentSegmenter::DoInitialize() {
56  std::unique_ptr<MkvWriter> writer(new MkvWriter);
-
57  Status status = writer->Open(options().output_file_name);
+
57  Status status = writer->Open(options().output_file_name);
58  if (!status.ok())
59  return status;
60  writer_ = std::move(writer);
61  return WriteSegmentHeader(0, writer_.get());
62 }
63 
-
64 Status MultiSegmentSegmenter::DoFinalize() {
+
64 Status MultiSegmentSegmenter::DoFinalize() {
65  return writer_->Close();
66 }
67 
@@ -177,12 +177,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
88 } // namespace shaka
virtual void OnNewSegment(const std::string &segment_name, uint64_t start_time, uint64_t duration, uint64_t segment_file_size)=0
An implementation of IMkvWriter using our File type.
Definition: mkv_writer.h:21
-
Status FinalizeSegment(size_t stream_id, std::shared_ptr< SegmentInfo > segment_info)
Definition: segmenter.cc:140
diff --git a/docs/d6/d55/aes__cryptor_8cc_source.html b/docs/d6/d55/aes__cryptor_8cc_source.html index b1f18a330f..7bad09695d 100644 --- a/docs/d6/d55/aes__cryptor_8cc_source.html +++ b/docs/d6/d55/aes__cryptor_8cc_source.html @@ -227,7 +227,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html b/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html index 212d7fdd96..5f3146f112 100644 --- a/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html +++ b/docs/d6/d57/classshaka_1_1media_1_1AVCDecoderConfigurationRecord.html @@ -251,7 +251,7 @@ void 
diff --git a/docs/d6/d59/protection__system__specific__info_8h_source.html b/docs/d6/d59/protection__system__specific__info_8h_source.html index ec29078b2e..6245c5ba33 100644 --- a/docs/d6/d59/protection__system__specific__info_8h_source.html +++ b/docs/d6/d59/protection__system__specific__info_8h_source.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html b/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html index 39b8f60ecf..48973e3f14 100644 --- a/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html +++ b/docs/d6/d60/classshaka_1_1media_1_1VPCodecConfigurationRecord-members.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d6/d6a/cue_8h_source.html b/docs/d6/d6a/cue_8h_source.html index 7ec5724081..e3ceee4951 100644 --- a/docs/d6/d6a/cue_8h_source.html +++ b/docs/d6/d6a/cue_8h_source.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d6c/h26x__bit__reader_8cc_source.html b/docs/d6/d6c/h26x__bit__reader_8cc_source.html index e4dd60ca0d..affb3514b7 100644 --- a/docs/d6/d6c/h26x__bit__reader_8cc_source.html +++ b/docs/d6/d6c/h26x__bit__reader_8cc_source.html @@ -259,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d6e/ts__section__pes_8cc_source.html b/docs/d6/d6e/ts__section__pes_8cc_source.html index f0dbe9b690..60dd48d7e7 100644 --- a/docs/d6/d6e/ts__section__pes_8cc_source.html +++ b/docs/d6/d6e/ts__section__pes_8cc_source.html @@ -407,7 +407,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d71/scoped__xml__ptr_8h_source.html b/docs/d6/d71/scoped__xml__ptr_8h_source.html index 42bd812fb8..b2c9d43814 100644 --- a/docs/d6/d71/scoped__xml__ptr_8h_source.html +++ b/docs/d6/d71/scoped__xml__ptr_8h_source.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html b/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html index bd989a746d..9e39d2802b 100644 --- a/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html +++ b/docs/d6/d77/dash__iop__mpd__notifier_8h_source.html @@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html b/docs/d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html index 7c5552efc1..eced8e20ab 100644 --- a/docs/d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html +++ b/docs/d6/d79/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox.html @@ -173,7 +173,7 @@ Additional Inherited Members
diff --git a/docs/d6/d82/structshaka_1_1media_1_1EncryptionOptions.html b/docs/d6/d82/structshaka_1_1media_1_1EncryptionOptions.html index 54d80ec7e4..7ceaebdf3b 100644 --- a/docs/d6/d82/structshaka_1_1media_1_1EncryptionOptions.html +++ b/docs/d6/d82/structshaka_1_1media_1_1EncryptionOptions.html @@ -161,7 +161,7 @@ EncryptionParams::EncryptedStreamAttributes
diff --git a/docs/d6/d86/bandwidth__estimator_8cc_source.html b/docs/d6/d86/bandwidth__estimator_8cc_source.html index 6c557557ef..dad0fde1e9 100644 --- a/docs/d6/d86/bandwidth__estimator_8cc_source.html +++ b/docs/d6/d86/bandwidth__estimator_8cc_source.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d8a/classshaka_1_1media_1_1FakeMediaHandler-members.html b/docs/d6/d8a/classshaka_1_1media_1_1FakeMediaHandler-members.html index 841adc2d82..b0b95389f1 100644 --- a/docs/d6/d8a/classshaka_1_1media_1_1FakeMediaHandler-members.html +++ b/docs/d6/d8a/classshaka_1_1media_1_1FakeMediaHandler-members.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d8a/vp9__parser_8cc_source.html b/docs/d6/d8a/vp9__parser_8cc_source.html index 635f1b39cf..1dd55edd59 100644 --- a/docs/d6/d8a/vp9__parser_8cc_source.html +++ b/docs/d6/d8a/vp9__parser_8cc_source.html @@ -697,7 +697,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html b/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html index 205a518ad6..abe960cb96 100644 --- a/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html +++ b/docs/d6/d8f/classshaka_1_1xml_1_1RepresentationBaseXmlNode-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d9b/h264__parser_8h_source.html b/docs/d6/d9b/h264__parser_8h_source.html index 724f52a1c4..dd7614ce15 100644 --- a/docs/d6/d9b/h264__parser_8h_source.html +++ b/docs/d6/d9b/h264__parser_8h_source.html @@ -443,7 +443,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/d9f/hls__flags_8cc_source.html b/docs/d6/d9f/hls__flags_8cc_source.html index 8316b3937d..7b88397e39 100644 --- a/docs/d6/d9f/hls__flags_8cc_source.html +++ b/docs/d6/d9f/hls__flags_8cc_source.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da0/ts__section__pat_8h_source.html b/docs/d6/da0/ts__section__pat_8h_source.html index acaab438dc..7e7546fad0 100644 --- a/docs/d6/da0/ts__section__pat_8h_source.html +++ b/docs/d6/da0/ts__section__pat_8h_source.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da3/mpd__builder_8h_source.html b/docs/d6/da3/mpd__builder_8h_source.html index 0d52f35cad..ade6377678 100644 --- a/docs/d6/da3/mpd__builder_8h_source.html +++ b/docs/d6/da3/mpd__builder_8h_source.html @@ -530,7 +530,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da4/classshaka_1_1media_1_1AVCDecoderConfigurationRecord-members.html b/docs/d6/da4/classshaka_1_1media_1_1AVCDecoderConfigurationRecord-members.html index 6fddc4487b..f50a9f73ef 100644 --- a/docs/d6/da4/classshaka_1_1media_1_1AVCDecoderConfigurationRecord-members.html +++ b/docs/d6/da4/classshaka_1_1media_1_1AVCDecoderConfigurationRecord-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da6/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html b/docs/d6/da6/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html index bb50c1c16a..e66a1510ac 100644 --- a/docs/d6/da6/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html +++ b/docs/d6/da6/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/da9/classshaka_1_1media_1_1BitReader.html b/docs/d6/da9/classshaka_1_1media_1_1BitReader.html index be4f5bf7a1..5502975637 100644 --- a/docs/d6/da9/classshaka_1_1media_1_1BitReader.html +++ b/docs/d6/da9/classshaka_1_1media_1_1BitReader.html @@ -365,7 +365,7 @@ template<typename T > diff --git a/docs/d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html b/docs/d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html index c7773bd732..cba24ed704 100644 --- a/docs/d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html +++ b/docs/d6/daa/structshaka_1_1media_1_1mp4_1_1VTTCueBox.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html b/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html index 374e61f55f..b536a59318 100644 --- a/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html +++ b/docs/d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html @@ -468,7 +468,7 @@ void set_encryption_config diff --git a/docs/d6/db1/structshaka_1_1media_1_1VideoStreamInfoParameters-members.html b/docs/d6/db1/structshaka_1_1media_1_1VideoStreamInfoParameters-members.html index a46db4eb0e..7bed6597f8 100644 --- a/docs/d6/db1/structshaka_1_1media_1_1VideoStreamInfoParameters-members.html +++ b/docs/d6/db1/structshaka_1_1media_1_1VideoStreamInfoParameters-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dc6/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo-members.html b/docs/d6/dc6/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo-members.html index 4c6e6cfa10..916860f756 100644 --- a/docs/d6/dc6/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo-members.html +++ b/docs/d6/dc6/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html b/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html index 47bf854ea3..d3e2cd3ad1 100644 --- a/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html +++ b/docs/d6/dc7/classshaka_1_1media_1_1mp2t_1_1EsParserH26x-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dc8/mkv__writer_8cc_source.html b/docs/d6/dc8/mkv__writer_8cc_source.html index e104f8daa2..fc7d015a6a 100644 --- a/docs/d6/dc8/mkv__writer_8cc_source.html +++ b/docs/d6/dc8/mkv__writer_8cc_source.html @@ -102,11 +102,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
13 
14 MkvWriter::~MkvWriter() {}
15 
-
16 Status MkvWriter::Open(const std::string& name) {
+
16 Status MkvWriter::Open(const std::string& name) {
17  DCHECK(!file_);
18  file_.reset(File::Open(name.c_str(), "w"));
19  if (!file_)
-
20  return Status(error::FILE_FAILURE, "Unable to open file for writing.");
+
20  return Status(error::FILE_FAILURE, "Unable to open file for writing.");
21 
22  // This may produce an error message; however there isn't a seekable method
23  // on File.
@@ -115,10 +115,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
26  return Status::OK;
27 }
28 
- +
29 Status MkvWriter::Close() {
30  const std::string file_name = file_->file_name();
31  if (!file_.release()->Close()) {
-
32  return Status(error::FILE_FAILURE, "Cannot close file " + file_name);
+
32  return Status(error::FILE_FAILURE, "Cannot close file " + file_name);
33  }
34  return Status::OK;
35 }
@@ -187,7 +187,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void ElementStartNotify(mkvmuxer::uint64 element_id, mkvmuxer::int64 position) override
Definition: mkv_writer.cc:90
mkvmuxer::int64 Position() const override
Definition: mkv_writer.cc:71
static int64_t CopyFile(File *source, File *destination)
Definition: file.cc:232
-
bool Seekable() const override
Definition: mkv_writer.cc:86
Status Open(const std::string &name)
Definition: mkv_writer.cc:16
Status Close()
Closes the file. MUST call Open before calling any other methods.
Definition: mkv_writer.cc:29
@@ -195,7 +194,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html b/docs/d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html index a14d983d34..75fbf55f59 100644 --- a/docs/d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html +++ b/docs/d6/dcb/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry.html @@ -250,7 +250,7 @@ std::vector< diff --git a/docs/d6/dcc/classshaka_1_1media_1_1VP9Parser-members.html b/docs/d6/dcc/classshaka_1_1media_1_1VP9Parser-members.html index 806c50e96a..8851bc52c2 100644 --- a/docs/d6/dcc/classshaka_1_1media_1_1VP9Parser-members.html +++ b/docs/d6/dcc/classshaka_1_1media_1_1VP9Parser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dce/structshaka_1_1media_1_1mp4_1_1SegmentReference-members.html b/docs/d6/dce/structshaka_1_1media_1_1mp4_1_1SegmentReference-members.html index 01e20fab46..7043d6ec5c 100644 --- a/docs/d6/dce/structshaka_1_1media_1_1mp4_1_1SegmentReference-members.html +++ b/docs/d6/dce/structshaka_1_1media_1_1mp4_1_1SegmentReference-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dcf/classshaka_1_1media_1_1mp2t_1_1EsParserAdts.html b/docs/d6/dcf/classshaka_1_1media_1_1mp2t_1_1EsParserAdts.html index 1eb8c1cff7..7a65ae49a7 100644 --- a/docs/d6/dcf/classshaka_1_1media_1_1mp2t_1_1EsParserAdts.html +++ b/docs/d6/dcf/classshaka_1_1media_1_1mp2t_1_1EsParserAdts.html @@ -148,7 +148,7 @@ const std::shared_ptr
diff --git a/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html b/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html index 6142b4b509..93943fa381 100644 --- a/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html +++ b/docs/d6/dd0/structshaka_1_1media_1_1H264SEIMessage.html @@ -127,7 +127,7 @@ union { diff --git a/docs/d6/dde/structshaka_1_1media_1_1H265VuiParameters-members.html b/docs/d6/dde/structshaka_1_1media_1_1H265VuiParameters-members.html index b553e8832b..c8eb9ff34c 100644 --- a/docs/d6/dde/structshaka_1_1media_1_1H265VuiParameters-members.html +++ b/docs/d6/dde/structshaka_1_1media_1_1H265VuiParameters-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de4/structshaka_1_1media_1_1mp4_1_1CueTimeBox-members.html b/docs/d6/de4/structshaka_1_1media_1_1mp4_1_1CueTimeBox-members.html index 6f32cb73e6..8e828f603d 100644 --- a/docs/d6/de4/structshaka_1_1media_1_1mp4_1_1CueTimeBox-members.html +++ b/docs/d6/de4/structshaka_1_1media_1_1mp4_1_1CueTimeBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de7/structshaka_1_1media_1_1VPxFrameInfo-members.html b/docs/d6/de7/structshaka_1_1media_1_1VPxFrameInfo-members.html index a2bf2803c8..6b2765050d 100644 --- a/docs/d6/de7/structshaka_1_1media_1_1VPxFrameInfo-members.html +++ b/docs/d6/de7/structshaka_1_1media_1_1VPxFrameInfo-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de8/local__file_8cc_source.html b/docs/d6/de8/local__file_8cc_source.html index 18315fdad2..f3f9464a42 100644 --- a/docs/d6/de8/local__file_8cc_source.html +++ b/docs/d6/de8/local__file_8cc_source.html @@ -211,7 +211,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de8/network__util_8h_source.html b/docs/d6/de8/network__util_8h_source.html index fce5807bc2..118bfe7ea2 100644 --- a/docs/d6/de8/network__util_8h_source.html +++ b/docs/d6/de8/network__util_8h_source.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/de9/ts__segmenter_8cc_source.html b/docs/d6/de9/ts__segmenter_8cc_source.html index e24d773800..3a3bc69a88 100644 --- a/docs/d6/de9/ts__segmenter_8cc_source.html +++ b/docs/d6/de9/ts__segmenter_8cc_source.html @@ -98,8 +98,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 #include <memory>
10 
11 #include "packager/media/base/muxer_util.h"
-
12 #include "packager/media/base/status.h"
-
13 #include "packager/media/event/muxer_listener.h"
+
12 #include "packager/media/event/muxer_listener.h"
+
13 #include "packager/status.h"
14 
15 namespace shaka {
16 namespace media {
@@ -116,13 +116,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
27  pes_packet_generator_(new PesPacketGenerator()) {}
28 TsSegmenter::~TsSegmenter() {}
29 
- +
30 Status TsSegmenter::Initialize(const StreamInfo& stream_info) {
31  if (muxer_options_.segment_template.empty())
-
32  return Status(error::MUXER_FAILURE, "Segment template not specified.");
+
32  return Status(error::MUXER_FAILURE, "Segment template not specified.");
33  if (!ts_writer_->Initialize(stream_info))
-
34  return Status(error::MUXER_FAILURE, "Failed to initialize TsWriter.");
+
34  return Status(error::MUXER_FAILURE, "Failed to initialize TsWriter.");
35  if (!pes_packet_generator_->Initialize(stream_info)) {
-
36  return Status(error::MUXER_FAILURE,
+
36  return Status(error::MUXER_FAILURE,
37  "Failed to initialize PesPacketGenerator.");
38  }
39 
@@ -130,11 +130,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
41  return Status::OK;
42 }
43 
- +
45  return Status::OK;
46 }
47 
-
48 Status TsSegmenter::AddSample(std::shared_ptr<MediaSample> sample) {
+
48 Status TsSegmenter::AddSample(std::shared_ptr<MediaSample> sample) {
49  if (sample->is_encrypted())
50  ts_writer_->SignalEncrypted();
51 
@@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
53  LOG(WARNING) << "A segment will start with a non key frame.";
54 
55  if (!pes_packet_generator_->PushSample(sample)) {
-
56  return Status(error::MUXER_FAILURE,
+
56  return Status(error::MUXER_FAILURE,
57  "Failed to add sample to PesPacketGenerator.");
58  }
59  return WritePesPacketsToFile();
@@ -161,41 +161,41 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
72  ts_writer_file_opened_ = value;
73 }
74 
-
75 Status TsSegmenter::OpenNewSegmentIfClosed(uint32_t next_pts) {
+
75 Status TsSegmenter::OpenNewSegmentIfClosed(uint32_t next_pts) {
76  if (ts_writer_file_opened_)
77  return Status::OK;
78  const std::string segment_name =
79  GetSegmentName(muxer_options_.segment_template, next_pts,
80  segment_number_++, muxer_options_.bandwidth);
81  if (!ts_writer_->NewSegment(segment_name))
-
82  return Status(error::MUXER_FAILURE, "Failed to initilize TsPacketWriter.");
+
82  return Status(error::MUXER_FAILURE, "Failed to initilize TsPacketWriter.");
83  current_segment_path_ = segment_name;
84  ts_writer_file_opened_ = true;
85  return Status::OK;
86 }
87 
-
88 Status TsSegmenter::WritePesPacketsToFile() {
+
88 Status TsSegmenter::WritePesPacketsToFile() {
89  while (pes_packet_generator_->NumberOfReadyPesPackets() > 0u) {
90  std::unique_ptr<PesPacket> pes_packet =
91  pes_packet_generator_->GetNextPesPacket();
92 
-
93  Status status = OpenNewSegmentIfClosed(pes_packet->pts());
+
93  Status status = OpenNewSegmentIfClosed(pes_packet->pts());
94  if (!status.ok())
95  return status;
96 
97  if (!ts_writer_->AddPesPacket(std::move(pes_packet)))
-
98  return Status(error::MUXER_FAILURE, "Failed to add PES packet.");
+
98  return Status(error::MUXER_FAILURE, "Failed to add PES packet.");
99  }
100  return Status::OK;
101 }
102 
-
103 Status TsSegmenter::FinalizeSegment(uint64_t start_timestamp,
+
103 Status TsSegmenter::FinalizeSegment(uint64_t start_timestamp,
104  uint64_t duration) {
105  if (!pes_packet_generator_->Flush()) {
-
106  return Status(error::MUXER_FAILURE,
+
106  return Status(error::MUXER_FAILURE,
107  "Failed to flush PesPacketGenerator.");
108  }
-
109  Status status = WritePesPacketsToFile();
+
109  Status status = WritePesPacketsToFile();
110  if (!status.ok())
111  return status;
112 
@@ -203,7 +203,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
114  // be false.
115  if (ts_writer_file_opened_) {
116  if (!ts_writer_->FinalizeSegment()) {
-
117  return Status(error::MUXER_FAILURE, "Failed to finalize TsWriter.");
+
117  return Status(error::MUXER_FAILURE, "Failed to finalize TsWriter.");
118  }
119  if (listener_) {
120  const int64_t file_size =
@@ -234,7 +234,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void InjectTsWriterForTesting(std::unique_ptr< TsWriter > writer)
Only for testing.
Definition: ts_segmenter.cc:62
static int64_t GetFileSize(const char *file_name)
Definition: file.cc:176
-
Status FinalizeSegment(uint64_t start_timestamp, uint64_t duration)
@@ -242,7 +241,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/ded/ts__packet_8h_source.html b/docs/d6/ded/ts__packet_8h_source.html index 0b50686dd6..2a722d69fd 100644 --- a/docs/d6/ded/ts__packet_8h_source.html +++ b/docs/d6/ded/ts__packet_8h_source.html @@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/def/sync__sample__iterator_8cc_source.html b/docs/d6/def/sync__sample__iterator_8cc_source.html index b16186dfd5..48c14e1003 100644 --- a/docs/d6/def/sync__sample__iterator_8cc_source.html +++ b/docs/d6/def/sync__sample__iterator_8cc_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d6/dff/classshaka_1_1media_1_1Nalu.html b/docs/d6/dff/classshaka_1_1media_1_1Nalu.html index 63c9cbbd94..8f75c958e7 100644 --- a/docs/d6/dff/classshaka_1_1media_1_1Nalu.html +++ b/docs/d6/dff/classshaka_1_1media_1_1Nalu.html @@ -247,7 +247,7 @@ bool can_start_access_unit diff --git a/docs/d7/d01/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription.html b/docs/d7/d01/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription.html index e6f7416e8f..fb804d84dc 100644 --- a/docs/d7/d01/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription.html +++ b/docs/d7/d01/structshaka_1_1media_1_1mp4_1_1SampleGroupDescription.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html b/docs/d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html index 09cab5ee30..d17f6b8664 100644 --- a/docs/d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html +++ b/docs/d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d7/d0b/muxer__listener__test__helper_8h_source.html b/docs/d7/d0b/muxer__listener__test__helper_8h_source.html index e2e0b6b1ab..702ca469a1 100644 --- a/docs/d7/d0b/muxer__listener__test__helper_8h_source.html +++ b/docs/d7/d0b/muxer__listener__test__helper_8h_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d12/media__parser_8h_source.html b/docs/d7/d12/media__parser_8h_source.html index ea84cfabf0..b0f384507f 100644 --- a/docs/d7/d12/media__parser_8h_source.html +++ b/docs/d7/d12/media__parser_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d15/mpd__notifier_8h_source.html b/docs/d7/d15/mpd__notifier_8h_source.html index f406716df9..9643d3abeb 100644 --- a/docs/d7/d15/mpd__notifier_8h_source.html +++ b/docs/d7/d15/mpd__notifier_8h_source.html @@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d16/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry-members.html b/docs/d7/d16/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry-members.html index f845c154bf..1ca63b489d 100644 --- a/docs/d7/d16/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry-members.html +++ b/docs/d7/d16/structshaka_1_1media_1_1mp4_1_1VideoSampleEntry-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d22/libcrypto__threading_8h_source.html b/docs/d7/d22/libcrypto__threading_8h_source.html index aade9ae551..8dea632773 100644 --- a/docs/d7/d22/libcrypto__threading_8h_source.html +++ b/docs/d7/d22/libcrypto__threading_8h_source.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d26/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator.html b/docs/d7/d26/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator.html index 94b5a5d281..5887675795 100644 --- a/docs/d7/d26/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator.html +++ b/docs/d7/d26/classshaka_1_1media_1_1mp4_1_1SyncSampleIterator.html @@ -177,7 +177,7 @@ Public Member Functions diff --git a/docs/d7/d29/structshaka_1_1media_1_1H265Sps-members.html b/docs/d7/d29/structshaka_1_1media_1_1H265Sps-members.html index 53040a27eb..248d8b094f 100644 --- a/docs/d7/d29/structshaka_1_1media_1_1H265Sps-members.html +++ b/docs/d7/d29/structshaka_1_1media_1_1H265Sps-members.html @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d29/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html b/docs/d7/d29/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html index e121e983df..bc0382bb3c 100644 --- a/docs/d7/d29/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html +++ b/docs/d7/d29/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d34/structshaka_1_1media_1_1EncryptionConfig.html b/docs/d7/d34/structshaka_1_1media_1_1EncryptionConfig.html index 6bc4a4b290..2dc0d05715 100644 --- a/docs/d7/d34/structshaka_1_1media_1_1EncryptionConfig.html +++ b/docs/d7/d34/structshaka_1_1media_1_1EncryptionConfig.html @@ -128,7 +128,7 @@ std::vector
diff --git a/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html b/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html index 743f52c72d..bdf7ca745e 100644 --- a/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html +++ b/docs/d7/d36/classshaka_1_1media_1_1ContentEncoding-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d42/protection__system__specific__info_8cc_source.html b/docs/d7/d42/protection__system__specific__info_8cc_source.html index 2b6dafe549..1b14526707 100644 --- a/docs/d7/d42/protection__system__specific__info_8cc_source.html +++ b/docs/d7/d42/protection__system__specific__info_8cc_source.html @@ -219,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d42/structshaka_1_1media_1_1mp4_1_1SampleSize.html b/docs/d7/d42/structshaka_1_1media_1_1mp4_1_1SampleSize.html index d89b9e50f4..2072ece498 100644 --- a/docs/d7/d42/structshaka_1_1media_1_1mp4_1_1SampleSize.html +++ b/docs/d7/d42/structshaka_1_1media_1_1mp4_1_1SampleSize.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d7/d44/structshaka_1_1media_1_1mp4_1_1SampleEncryption-members.html b/docs/d7/d44/structshaka_1_1media_1_1mp4_1_1SampleEncryption-members.html index e2dd0df801..7ff9957a0d 100644 --- a/docs/d7/d44/structshaka_1_1media_1_1mp4_1_1SampleEncryption-members.html +++ b/docs/d7/d44/structshaka_1_1media_1_1mp4_1_1SampleEncryption-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d46/classshaka_1_1media_1_1WebMListParser-members.html b/docs/d7/d46/classshaka_1_1media_1_1WebMListParser-members.html index 40a4b832df..eba4c5b30f 100644 --- a/docs/d7/d46/classshaka_1_1media_1_1WebMListParser-members.html +++ b/docs/d7/d46/classshaka_1_1media_1_1WebMListParser-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html b/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html index 2ba6867957..14e8756d6d 100644 --- a/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html +++ b/docs/d7/d54/classshaka_1_1media_1_1H26xByteToUnitStreamConverter-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d58/structshaka_1_1media_1_1PeriodInfo.html b/docs/d7/d58/structshaka_1_1media_1_1PeriodInfo.html index ac8788f41a..f9990ec720 100644 --- a/docs/d7/d58/structshaka_1_1media_1_1PeriodInfo.html +++ b/docs/d7/d58/structshaka_1_1media_1_1PeriodInfo.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d59/classshaka_1_1media_1_1DecryptorSource.html b/docs/d7/d59/classshaka_1_1media_1_1DecryptorSource.html index ab33fc60fa..d400314ad0 100644 --- a/docs/d7/d59/classshaka_1_1media_1_1DecryptorSource.html +++ b/docs/d7/d59/classshaka_1_1media_1_1DecryptorSource.html @@ -119,7 +119,7 @@ bool DecryptSampleBuffer diff --git a/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html b/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html index 508b9ef49f..284fcbd342 100644 --- a/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html +++ b/docs/d7/d6d/classshaka_1_1media_1_1MediaSample.html @@ -446,7 +446,7 @@ static std::shared_ptr
diff --git a/docs/d7/d75/structshaka_1_1media_1_1mp4_1_1MediaHeader-members.html b/docs/d7/d75/structshaka_1_1media_1_1mp4_1_1MediaHeader-members.html index 19e4b76613..4006b54db7 100644 --- a/docs/d7/d75/structshaka_1_1media_1_1mp4_1_1MediaHeader-members.html +++ b/docs/d7/d75/structshaka_1_1media_1_1mp4_1_1MediaHeader-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d78/structshaka_1_1media_1_1H264SEIMessage-members.html b/docs/d7/d78/structshaka_1_1media_1_1H264SEIMessage-members.html index 032734b011..971f5584ba 100644 --- a/docs/d7/d78/structshaka_1_1media_1_1H264SEIMessage-members.html +++ b/docs/d7/d78/structshaka_1_1media_1_1H264SEIMessage-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d79/chunking__handler_8h_source.html b/docs/d7/d79/chunking__handler_8h_source.html index 976b4568e1..fc87d91f69 100644 --- a/docs/d7/d79/chunking__handler_8h_source.html +++ b/docs/d7/d79/chunking__handler_8h_source.html @@ -119,9 +119,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
64  ~ChunkingHandler() override;
65 
66  protected:
-
69  Status InitializeInternal() override;
-
70  Status Process(std::unique_ptr<StreamData> stream_data) override;
-
71  Status OnFlushRequest(size_t input_stream_index) override;
+
69  Status InitializeInternal() override;
+
70  Status Process(std::unique_ptr<StreamData> stream_data) override;
+
71  Status OnFlushRequest(size_t input_stream_index) override;
73 
74  private:
75  friend class ChunkingHandlerTest;
@@ -130,14 +130,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
78  ChunkingHandler& operator=(const ChunkingHandler&) = delete;
79 
80  // Processes media sample and apply chunking if needed.
-
81  Status ProcessMediaSample(const MediaSample* sample);
+
81  Status ProcessMediaSample(const MediaSample* sample);
82 
83  // Dispatch cached non main stream samples before |timestamp_threshold|.
-
84  Status DispatchNonMainSamples(int64_t timestamp_threshold);
+
84  Status DispatchNonMainSamples(int64_t timestamp_threshold);
85 
86  // The (sub)segments are aligned and dispatched together.
-
87  Status DispatchSegmentInfoForAllStreams();
-
88  Status DispatchSubsegmentInfoForAllStreams();
+
87  Status DispatchSegmentInfoForAllStreams();
+
88  Status DispatchSubsegmentInfoForAllStreams();
89 
90  const ChunkingOptions chunking_options_;
91 
@@ -183,13 +183,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Class to hold a media sample.
Definition: media_sample.h:22
double segment_duration_in_seconds
Segment duration in seconds.
- diff --git a/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html b/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html index 60548af6c9..2088b4856b 100644 --- a/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html +++ b/docs/d7/d7a/classshaka_1_1media_1_1UdpFile.html @@ -462,7 +462,7 @@ Additional Inherited Members diff --git a/docs/d7/d7c/vlog__flags_8h_source.html b/docs/d7/d7c/vlog__flags_8h_source.html index 408caee210..8c45c8e82c 100644 --- a/docs/d7/d7c/vlog__flags_8h_source.html +++ b/docs/d7/d7c/vlog__flags_8h_source.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d87/video__stream__info_8h_source.html b/docs/d7/d87/video__stream__info_8h_source.html index 53911fd101..806fac4a9d 100644 --- a/docs/d7/d87/video__stream__info_8h_source.html +++ b/docs/d7/d87/video__stream__info_8h_source.html @@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html b/docs/d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html index ca82d7001d..be8ded1182 100644 --- a/docs/d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html +++ b/docs/d7/d9c/structshaka_1_1media_1_1H265SliceHeader_1_1LongTermPicsInfo.html @@ -112,7 +112,7 @@ int delta_poc_msb_cycle_lt diff --git a/docs/d7/d9d/progress__listener_8h_source.html b/docs/d7/d9d/progress__listener_8h_source.html index f6cbb21726..502ad93f54 100644 --- a/docs/d7/d9d/progress__listener_8h_source.html +++ b/docs/d7/d9d/progress__listener_8h_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/da4/track__run__iterator_8h_source.html b/docs/d7/da4/track__run__iterator_8h_source.html index 02493009c3..c524650b16 100644 --- a/docs/d7/da4/track__run__iterator_8h_source.html +++ b/docs/d7/da4/track__run__iterator_8h_source.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html b/docs/d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html index afa3ef92ff..a0af1da5a2 100644 --- a/docs/d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html +++ b/docs/d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d7/db0/mpd__writer_8h_source.html b/docs/d7/db0/mpd__writer_8h_source.html index be39c41ae8..47e2b6feba 100644 --- a/docs/d7/db0/mpd__writer_8h_source.html +++ b/docs/d7/db0/mpd__writer_8h_source.html @@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/db7/structshaka_1_1media_1_1mp4_1_1SampleToChunk-members.html b/docs/d7/db7/structshaka_1_1media_1_1mp4_1_1SampleToChunk-members.html index bd1caf34dd..d2520014c1 100644 --- a/docs/d7/db7/structshaka_1_1media_1_1mp4_1_1SampleToChunk-members.html +++ b/docs/d7/db7/structshaka_1_1media_1_1mp4_1_1SampleToChunk-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html b/docs/d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html index c3c5e9b056..d7865fc000 100644 --- a/docs/d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html +++ b/docs/d7/dc3/structshaka_1_1media_1_1mp4_1_1TextSampleEntry.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d7/dc6/byte__queue_8h_source.html b/docs/d7/dc6/byte__queue_8h_source.html index d0345304c7..972ddf7805 100644 --- a/docs/d7/dc6/byte__queue_8h_source.html +++ b/docs/d7/dc6/byte__queue_8h_source.html @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dd0/mpd__notifier__util_8h_source.html b/docs/d7/dd0/mpd__notifier__util_8h_source.html index 10433fc667..36e3718757 100644 --- a/docs/d7/dd0/mpd__notifier__util_8h_source.html +++ b/docs/d7/dd0/mpd__notifier__util_8h_source.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dd4/request__signer_8h_source.html b/docs/d7/dd4/request__signer_8h_source.html index 3bcb3a5dc3..7faf573482 100644 --- a/docs/d7/dd4/request__signer_8h_source.html +++ b/docs/d7/dd4/request__signer_8h_source.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html b/docs/d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html index 16f02c67c7..e76ac8ccec 100644 --- a/docs/d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html +++ b/docs/d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html @@ -286,7 +286,7 @@ std::shared_ptr< diff --git a/docs/d7/dd6/key__source_8cc_source.html b/docs/d7/dd6/key__source_8cc_source.html index 9cb7acde1f..e97824249a 100644 --- a/docs/d7/dd6/key__source_8cc_source.html +++ b/docs/d7/dd6/key__source_8cc_source.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html b/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html index b340de1595..2036eda292 100644 --- a/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html +++ b/docs/d7/dda/classshaka_1_1media_1_1ByteQueue.html @@ -177,7 +177,7 @@ void  diff --git a/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html b/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html index 8536191bd6..5203b16f17 100644 --- a/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html +++ b/docs/d7/ddd/classshaka_1_1media_1_1RsaRequestSigner.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html b/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html index 1da4a8534c..4fca7fe25c 100644 --- a/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html +++ b/docs/d7/de0/classshaka_1_1media_1_1HttpKeyFetcher.html @@ -116,11 +116,11 @@ Public Member Functions - + - + - + @@ -166,7 +166,7 @@ KeyFetcher implementation overrides.

KeyFetcher implementation overrides.

Status FetchKeys (const std::string &url, const std::string &request, std::string *response) override
Status FetchKeys (const std::string &url, const std::string &request, std::string *response) override
 
virtual Status Get (const std::string &url, std::string *response)
virtual Status Get (const std::string &url, std::string *response)
 
virtual Status Post (const std::string &url, const std::string &data, std::string *response)
virtual Status Post (const std::string &url, const std::string &data, std::string *response)
 
void SetClientCertInfo (const std::string &cert_file, const std::string &private_key_file, const std::string &private_key_password)
 
- + @@ -220,7 +220,7 @@ KeyFetcher implementation overrides.
Status shaka::media::HttpKeyFetcher::FetchKeys Status shaka::media::HttpKeyFetcher::FetchKeys ( const std::string &  service_address,
- + @@ -265,7 +265,7 @@ KeyFetcher implementation overrides.
Status shaka::media::HttpKeyFetcher::Get Status shaka::media::HttpKeyFetcher::Get ( const std::string &  url,
- + @@ -399,7 +399,7 @@ KeyFetcher implementation overrides. diff --git a/docs/d7/de0/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry.html b/docs/d7/de0/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry.html index 2c8e6729dc..b421bb676c 100644 --- a/docs/d7/de0/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry.html +++ b/docs/d7/de0/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry.html @@ -120,7 +120,7 @@ uint32_t 
Status shaka::media::HttpKeyFetcher::Post Status shaka::media::HttpKeyFetcher::Post ( const std::string &  url,
group_description diff --git a/docs/d7/dec/h264__byte__to__unit__stream__converter_8h_source.html b/docs/d7/dec/h264__byte__to__unit__stream__converter_8h_source.html index 43824f4ad7..931ac28262 100644 --- a/docs/d7/dec/h264__byte__to__unit__stream__converter_8h_source.html +++ b/docs/d7/dec/h264__byte__to__unit__stream__converter_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/dee/mpd__generator_8cc_source.html b/docs/d7/dee/mpd__generator_8cc_source.html index e11ff0cc86..43e9cb5555 100644 --- a/docs/d7/dee/mpd__generator_8cc_source.html +++ b/docs/d7/dee/mpd__generator_8cc_source.html @@ -231,7 +231,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/def/mp4__media__parser_8cc_source.html b/docs/d7/def/mp4__media__parser_8cc_source.html index 2f46941901..7f97242a30 100644 --- a/docs/d7/def/mp4__media__parser_8cc_source.html +++ b/docs/d7/def/mp4__media__parser_8cc_source.html @@ -886,7 +886,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d7/df9/byte__queue_8cc_source.html b/docs/d7/df9/byte__queue_8cc_source.html index e8733fc097..98d05655c9 100644 --- a/docs/d7/df9/byte__queue_8cc_source.html +++ b/docs/d7/df9/byte__queue_8cc_source.html @@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html b/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html index 71622652af..af1c3ad8c7 100644 --- a/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html +++ b/docs/d8/d08/classshaka_1_1media_1_1H264ByteToUnitStreamConverter.html @@ -233,7 +233,7 @@ void WarnIfNotMatch (i diff --git a/docs/d8/d08/classshaka_1_1media_1_1WebMClusterParser-members.html b/docs/d8/d08/classshaka_1_1media_1_1WebMClusterParser-members.html index b90228abc2..411c9dd734 100644 --- a/docs/d8/d08/classshaka_1_1media_1_1WebMClusterParser-members.html +++ b/docs/d8/d08/classshaka_1_1media_1_1WebMClusterParser-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/d08/classshaka_1_1media_1_1mp2t_1_1TsWriter-members.html b/docs/d8/d08/classshaka_1_1media_1_1mp2t_1_1TsWriter-members.html index ec22914d57..eb7a11008d 100644 --- a/docs/d8/d08/classshaka_1_1media_1_1mp2t_1_1TsWriter-members.html +++ b/docs/d8/d08/classshaka_1_1media_1_1mp2t_1_1TsWriter-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/d08/structshaka_1_1media_1_1mp4_1_1MovieHeader-members.html b/docs/d8/d08/structshaka_1_1media_1_1mp4_1_1MovieHeader-members.html index 783a98fe53..c51406887f 100644 --- a/docs/d8/d08/structshaka_1_1media_1_1mp4_1_1MovieHeader-members.html +++ b/docs/d8/d08/structshaka_1_1media_1_1mp4_1_1MovieHeader-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/d0d/media__sample_8cc_source.html b/docs/d8/d0d/media__sample_8cc_source.html index 24f3a06d3b..692976518c 100644 --- a/docs/d8/d0d/media__sample_8cc_source.html +++ b/docs/d8/d0d/media__sample_8cc_source.html @@ -221,7 +221,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1DecodingTime.html b/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1DecodingTime.html index 94012e877e..0bfc4c47f9 100644 --- a/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1DecodingTime.html +++ b/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1DecodingTime.html @@ -112,7 +112,7 @@ uint32_t 
sample_delta< diff --git a/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1PrivFrame-members.html b/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1PrivFrame-members.html index f5ff3e59d7..56d1f0be2c 100644 --- a/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1PrivFrame-members.html +++ b/docs/d8/d12/structshaka_1_1media_1_1mp4_1_1PrivFrame-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d8/d13/classshaka_1_1media_1_1BitReader-members.html b/docs/d8/d13/classshaka_1_1media_1_1BitReader-members.html index 2cfc192bab..81eaeb0740 100644 --- a/docs/d8/d13/classshaka_1_1media_1_1BitReader-members.html +++ b/docs/d8/d13/classshaka_1_1media_1_1BitReader-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d14/classshaka_1_1media_1_1VP8Parser.html b/docs/d8/d14/classshaka_1_1media_1_1VP8Parser.html index 1b41fd9ea1..c8c32634e4 100644 --- a/docs/d8/d14/classshaka_1_1media_1_1VP8Parser.html +++ b/docs/d8/d14/classshaka_1_1media_1_1VP8Parser.html @@ -235,7 +235,7 @@ Additional Inherited Members diff --git a/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html b/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html index 3841c89591..ab1d954d15 100644 --- a/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html +++ b/docs/d8/d16/structshaka_1_1media_1_1MuxerOptions-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d19/bandwidth__estimator_8h_source.html b/docs/d8/d19/bandwidth__estimator_8h_source.html index 3b26fcd5d7..af305c0cd2 100644 --- a/docs/d8/d19/bandwidth__estimator_8h_source.html +++ b/docs/d8/d19/bandwidth__estimator_8h_source.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d1c/crypto__flags_8cc_source.html b/docs/d8/d1c/crypto__flags_8cc_source.html index 29528ebb2f..e128c3a74b 100644 --- a/docs/d8/d1c/crypto__flags_8cc_source.html +++ b/docs/d8/d1c/crypto__flags_8cc_source.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html b/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html index 76e5c56f75..e43f25616e 100644 --- a/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html +++ b/docs/d8/d20/structshaka_1_1media_1_1mp4_1_1WebVTTConfigurationBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d8/d23/structshaka_1_1media_1_1SubsampleEntry-members.html b/docs/d8/d23/structshaka_1_1media_1_1SubsampleEntry-members.html index 02e8b3ec8e..5676593574 100644 --- a/docs/d8/d23/structshaka_1_1media_1_1SubsampleEntry-members.html +++ b/docs/d8/d23/structshaka_1_1media_1_1SubsampleEntry-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d28/es__parser__h265_8h_source.html b/docs/d8/d28/es__parser__h265_8h_source.html index 8eb972c259..c85b04fc60 100644 --- a/docs/d8/d28/es__parser__h265_8h_source.html +++ b/docs/d8/d28/es__parser__h265_8h_source.html @@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d33/webm__content__encodings__client_8h_source.html b/docs/d8/d33/webm__content__encodings__client_8h_source.html index af4d7bee94..a1f0e58e65 100644 --- a/docs/d8/d33/webm__content__encodings__client_8h_source.html +++ b/docs/d8/d33/webm__content__encodings__client_8h_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d4d/aes__decryptor_8h_source.html b/docs/d8/d4d/aes__decryptor_8h_source.html index e58f247683..62b2c6eee2 100644 --- a/docs/d8/d4d/aes__decryptor_8h_source.html +++ b/docs/d8/d4d/aes__decryptor_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d4f/classshaka_1_1media_1_1TextSample-members.html b/docs/d8/d4f/classshaka_1_1media_1_1TextSample-members.html index acb88413fe..7f102f4fc3 100644 --- a/docs/d8/d4f/classshaka_1_1media_1_1TextSample-members.html +++ b/docs/d8/d4f/classshaka_1_1media_1_1TextSample-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d53/crypto__flags_8h_source.html b/docs/d8/d53/crypto__flags_8h_source.html index 0032726348..f7dbb6c1fd 100644 --- a/docs/d8/d53/crypto__flags_8h_source.html +++ b/docs/d8/d53/crypto__flags_8h_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html b/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html index 4b411457e6..e22716ef0a 100644 --- a/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html +++ b/docs/d8/d5b/structshaka_1_1media_1_1mp4_1_1AudioSampleEntry.html @@ -206,7 +206,7 @@ Additional Inherited Members diff --git a/docs/d8/d6a/classshaka_1_1media_1_1ClusterBuilder-members.html b/docs/d8/d6a/classshaka_1_1media_1_1ClusterBuilder-members.html index 30f449cadc..ecc9fc8fd2 100644 --- a/docs/d8/d6a/classshaka_1_1media_1_1ClusterBuilder-members.html +++ b/docs/d8/d6a/classshaka_1_1media_1_1ClusterBuilder-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d6d/structshaka_1_1media_1_1mp4_1_1DataInformation.html b/docs/d8/d6d/structshaka_1_1media_1_1mp4_1_1DataInformation.html index 4fa891c10d..5dcb20e198 100644 --- a/docs/d8/d6d/structshaka_1_1media_1_1mp4_1_1DataInformation.html +++ b/docs/d8/d6d/structshaka_1_1media_1_1mp4_1_1DataInformation.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d8/d70/structshaka_1_1media_1_1mp4_1_1Metadata-members.html b/docs/d8/d70/structshaka_1_1media_1_1mp4_1_1Metadata-members.html index e13b1352f9..12bbff6623 100644 --- a/docs/d8/d70/structshaka_1_1media_1_1mp4_1_1Metadata-members.html +++ b/docs/d8/d70/structshaka_1_1media_1_1mp4_1_1Metadata-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d74/classshaka_1_1media_1_1TracksBuilder.html b/docs/d8/d74/classshaka_1_1media_1_1TracksBuilder.html index 8e5c587943..2d27319947 100644 --- a/docs/d8/d74/classshaka_1_1media_1_1TracksBuilder.html +++ b/docs/d8/d74/classshaka_1_1media_1_1TracksBuilder.html @@ -123,7 +123,7 @@ std::vector< uint8_t >  diff --git a/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html b/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html index c9ad318cbb..f94a794872 100644 --- a/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html +++ b/docs/d8/d86/classshaka_1_1media_1_1WebMTracksParser.html @@ -228,7 +228,7 @@ The number of bytes parsed on success. diff --git a/docs/d8/d88/structshaka_1_1media_1_1mp4_1_1MovieExtends-members.html b/docs/d8/d88/structshaka_1_1media_1_1mp4_1_1MovieExtends-members.html index 72c82f5970..2afba107c9 100644 --- a/docs/d8/d88/structshaka_1_1media_1_1mp4_1_1MovieExtends-members.html +++ b/docs/d8/d88/structshaka_1_1media_1_1mp4_1_1MovieExtends-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d8e/classshaka_1_1AdaptationSet.html b/docs/d8/d8e/classshaka_1_1AdaptationSet.html index c2f39a0449..c419e261cd 100644 --- a/docs/d8/d8e/classshaka_1_1AdaptationSet.html +++ b/docs/d8/d8e/classshaka_1_1AdaptationSet.html @@ -603,7 +603,7 @@ template<DashProfile profile> diff --git a/docs/d8/d91/classshaka_1_1media_1_1AesCtrEncryptor-members.html b/docs/d8/d91/classshaka_1_1media_1_1AesCtrEncryptor-members.html index c13ccc4124..e9c0d03356 100644 --- a/docs/d8/d91/classshaka_1_1media_1_1AesCtrEncryptor-members.html +++ b/docs/d8/d91/classshaka_1_1media_1_1AesCtrEncryptor-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d92/classshaka_1_1media_1_1AesRequestSigner-members.html b/docs/d8/d92/classshaka_1_1media_1_1AesRequestSigner-members.html index 0288609839..0263758c55 100644 --- a/docs/d8/d92/classshaka_1_1media_1_1AesRequestSigner-members.html +++ b/docs/d8/d92/classshaka_1_1media_1_1AesRequestSigner-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d92/structshaka_1_1media_1_1H264DecRefPicMarking-members.html b/docs/d8/d92/structshaka_1_1media_1_1H264DecRefPicMarking-members.html index e88b3b1ba1..fdad2d434b 100644 --- a/docs/d8/d92/structshaka_1_1media_1_1H264DecRefPicMarking-members.html +++ b/docs/d8/d92/structshaka_1_1media_1_1H264DecRefPicMarking-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d93/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html b/docs/d8/d93/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html index 7cf68c64f1..d8d5dd389e 100644 --- a/docs/d8/d93/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html +++ b/docs/d8/d93/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d94/adts__constants_8cc_source.html b/docs/d8/d94/adts__constants_8cc_source.html index 907a776fc8..1f210de962 100644 --- a/docs/d8/d94/adts__constants_8cc_source.html +++ b/docs/d8/d94/adts__constants_8cc_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d94/pes__packet_8h_source.html b/docs/d8/d94/pes__packet_8h_source.html index b953d541fd..ef81a707dd 100644 --- a/docs/d8/d94/pes__packet_8h_source.html +++ b/docs/d8/d94/pes__packet_8h_source.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d99/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html b/docs/d8/d99/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html index 49708e8132..add7681c63 100644 --- a/docs/d8/d99/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html +++ b/docs/d8/d99/structshaka_1_1media_1_1mp4_1_1VTTAdditionalTextBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d9a/fragmenter_8cc_source.html b/docs/d8/d9a/fragmenter_8cc_source.html index c7e0f0dea8..273942f92d 100644 --- a/docs/d8/d9a/fragmenter_8cc_source.html +++ b/docs/d8/d9a/fragmenter_8cc_source.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
61 
62 Fragmenter::~Fragmenter() {}
63 
-
64 Status Fragmenter::AddSample(std::shared_ptr<MediaSample> sample) {
+
64 Status Fragmenter::AddSample(std::shared_ptr<MediaSample> sample) {
65  DCHECK(sample);
66  if (sample->duration() == 0) {
67  LOG(WARNING) << "Unexpected sample with zero duration @ dts "
@@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
69  }
70 
71  if (!fragment_initialized_) {
-
72  Status status = InitializeFragment(sample->dts());
+
72  Status status = InitializeFragment(sample->dts());
73  if (!status.ok())
74  return status;
75  }
@@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
113  return Status::OK;
114 }
115 
-
116 Status Fragmenter::InitializeFragment(int64_t first_sample_dts) {
+
116 Status Fragmenter::InitializeFragment(int64_t first_sample_dts) {
117  fragment_initialized_ = true;
118  fragment_finalized_ = false;
119  traf_->decode_time.decode_time = first_sample_dts;
@@ -225,9 +225,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
136  return Status::OK;
137 }
138 
- +
140  if (stream_info_->is_encrypted()) {
-
141  Status status = FinalizeFragmentForEncryption();
+
141  Status status = FinalizeFragmentForEncryption();
142  if (!status.ok())
143  return status;
144  }
@@ -305,7 +305,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
216  reference->earliest_presentation_time = earliest_presentation_time_;
217 }
218 
-
219 Status Fragmenter::FinalizeFragmentForEncryption() {
+
219 Status Fragmenter::FinalizeFragmentForEncryption() {
220  SampleEncryption& sample_encryption = traf_->sample_encryption;
221  if (sample_encryption.sample_encryption_entries.empty()) {
222  // This fragment is not encrypted.
@@ -318,7 +318,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
229  if (sample_encryption.sample_encryption_entries.size() !=
230  traf_->runs[0].sample_sizes.size()) {
231  LOG(ERROR) << "Partially encrypted segment is not supported";
-
232  return Status(error::MUXER_FAILURE,
+
232  return Status(error::MUXER_FAILURE,
233  "Partially encrypted segment is not supported.");
234  }
235 
@@ -382,7 +382,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Fragmenter(std::shared_ptr< StreamInfo > info, TrackFragment *traf)
Definition: fragmenter.cc:47
Status AddSample(std::shared_ptr< MediaSample > sample)
Definition: fragmenter.cc:64
void GenerateSegmentReference(SegmentReference *reference)
Fill reference with current fragment information.
Definition: fragmenter.cc:204
-
Status FinalizeFragment()
Finalize and optimize the fragment.
Definition: fragmenter.cc:139
@@ -390,7 +389,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d9c/webm__tracks__parser_8cc_source.html b/docs/d8/d9c/webm__tracks__parser_8cc_source.html index e20b7ce3c3..b9570f5d15 100644 --- a/docs/d8/d9c/webm__tracks__parser_8cc_source.html +++ b/docs/d8/d9c/webm__tracks__parser_8cc_source.html @@ -441,7 +441,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/d9f/udp__file_8h_source.html b/docs/d8/d9f/udp__file_8h_source.html index 5ca65add12..d37bf35929 100644 --- a/docs/d8/d9f/udp__file_8h_source.html +++ b/docs/d8/d9f/udp__file_8h_source.html @@ -153,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/da3/classshaka_1_1media_1_1DecryptorSource-members.html b/docs/d8/da3/classshaka_1_1media_1_1DecryptorSource-members.html index 84100d8c50..980210f84f 100644 --- a/docs/d8/da3/classshaka_1_1media_1_1DecryptorSource-members.html +++ b/docs/d8/da3/classshaka_1_1media_1_1DecryptorSource-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/da5/structshaka_1_1media_1_1mp4_1_1SampleSize-members.html b/docs/d8/da5/structshaka_1_1media_1_1mp4_1_1SampleSize-members.html index faf778d367..01ea5e8ba3 100644 --- a/docs/d8/da5/structshaka_1_1media_1_1mp4_1_1SampleSize-members.html +++ b/docs/d8/da5/structshaka_1_1media_1_1mp4_1_1SampleSize-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html b/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html index 99b3562d4b..5781e6fcc6 100644 --- a/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html +++ b/docs/d8/da6/classshaka_1_1media_1_1NaluReader-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/daa/stream__info_8h_source.html b/docs/d8/daa/stream__info_8h_source.html index de11185b27..bca6895c34 100644 --- a/docs/d8/daa/stream__info_8h_source.html +++ b/docs/d8/daa/stream__info_8h_source.html @@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/daf/namespaceshaka.html b/docs/d8/daf/namespaceshaka.html index e852fcc502..afad0c45f5 100644 --- a/docs/d8/daf/namespaceshaka.html +++ b/docs/d8/daf/namespaceshaka.html @@ -693,7 +693,7 @@ template<class FlagType > diff --git a/docs/d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html b/docs/d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html index 71ff242225..354c10c36a 100644 --- a/docs/d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html +++ b/docs/d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html @@ -119,13 +119,13 @@ Public Member Functions  Segmenter (const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov)   -Status Initialize (const std::vector< std::shared_ptr< StreamInfo >> &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener) +Status Initialize (const std::vector< std::shared_ptr< StreamInfo >> &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener)   -Status Finalize () +Status Finalize ()   -Status AddSample (size_t stream_id, std::shared_ptr< MediaSample > sample) +Status AddSample (size_t stream_id, std::shared_ptr< MediaSample > sample)   -Status FinalizeSegment (size_t stream_id, std::shared_ptr< SegmentInfo > segment_info) +Status FinalizeSegment (size_t stream_id, std::shared_ptr< SegmentInfo > segment_info)   uint32_t GetReferenceTimeScale () const @@ -261,7 +261,7 @@ void set_progress_target diff --git a/docs/d8/db9/classshaka_1_1media_1_1WebMContentEncodingsClient-members.html b/docs/d8/db9/classshaka_1_1media_1_1WebMContentEncodingsClient-members.html index 1b391cee62..68fc373a4e 100644 --- a/docs/d8/db9/classshaka_1_1media_1_1WebMContentEncodingsClient-members.html +++ b/docs/d8/db9/classshaka_1_1media_1_1WebMContentEncodingsClient-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html b/docs/d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html index 6498a26b1c..461447a138 100644 --- a/docs/d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html +++ b/docs/d8/dc2/structshaka_1_1media_1_1mp2t_1_1EsParserH26x_1_1VideoSliceInfo.html @@ -118,7 +118,7 @@ int frame_num = 0 diff --git a/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html b/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html index 1264ff8b88..6a34a6ab7c 100644 --- a/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html +++ b/docs/d8/dc3/structshaka_1_1media_1_1mp4_1_1CueTimeBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d8/dca/ts__writer_8h_source.html b/docs/d8/dca/ts__writer_8h_source.html index 553b7bcf20..e3095f8855 100644 --- a/docs/d8/dca/ts__writer_8h_source.html +++ b/docs/d8/dca/ts__writer_8h_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1DecodingTime-members.html b/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1DecodingTime-members.html index 4c67567c70..4260042c2c 100644 --- a/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1DecodingTime-members.html +++ b/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1DecodingTime-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1TrackExtends-members.html b/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1TrackExtends-members.html index e9d36561a5..6d3706ee2d 100644 --- a/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1TrackExtends-members.html +++ b/docs/d8/dcd/structshaka_1_1media_1_1mp4_1_1TrackExtends-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html b/docs/d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html index 391c420b47..a6f7073f4d 100644 --- a/docs/d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html +++ b/docs/d8/dd6/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter.html @@ -129,7 +129,7 @@ Public Member Functions diff --git a/docs/d8/dd6/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html b/docs/d8/dd6/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html index 5c114bfef9..e13849c9fb 100644 --- a/docs/d8/dd6/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html +++ b/docs/d8/dd6/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry.html @@ -135,7 +135,7 @@ std::vector< uint8_t >  diff --git a/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html b/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html index 67474cf3f2..419727c02d 100644 --- a/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html +++ b/docs/d8/de1/classshaka_1_1SimpleMpdNotifier.html @@ -473,7 +473,7 @@ class SimpleMpdNotifierTes diff --git a/docs/d8/de6/webm__crypto__helpers_8h_source.html b/docs/d8/de6/webm__crypto__helpers_8h_source.html index d1afe3ae63..416775c3dd 100644 --- a/docs/d8/de6/webm__crypto__helpers_8h_source.html +++ b/docs/d8/de6/webm__crypto__helpers_8h_source.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/deb/classshaka_1_1media_1_1mp2t_1_1EsParser-members.html b/docs/d8/deb/classshaka_1_1media_1_1mp2t_1_1EsParser-members.html index aff4be7b34..47f8deb805 100644 --- a/docs/d8/deb/classshaka_1_1media_1_1mp2t_1_1EsParser-members.html +++ b/docs/d8/deb/classshaka_1_1media_1_1mp2t_1_1EsParser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/deb/retired__flags_8cc_source.html b/docs/d8/deb/retired__flags_8cc_source.html index fc9239c9f8..0e53a83320 100644 --- a/docs/d8/deb/retired__flags_8cc_source.html +++ b/docs/d8/deb/retired__flags_8cc_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html b/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html index 837947f8eb..5ebd789b51 100644 --- a/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html +++ b/docs/d8/dee/classshaka_1_1media_1_1AudioTimestampHelper-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dee/classshaka_1_1media_1_1VPxParser-members.html b/docs/d8/dee/classshaka_1_1media_1_1VPxParser-members.html index 04d7409d9b..2c92a31e8b 100644 --- a/docs/d8/dee/classshaka_1_1media_1_1VPxParser-members.html +++ b/docs/d8/dee/classshaka_1_1media_1_1VPxParser-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html b/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html index 59dcc7043f..9523ccb4c0 100644 --- a/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html +++ b/docs/d8/df0/webm_2single__segment__segmenter_8cc_source.html @@ -107,10 +107,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
18 
19 SingleSegmentSegmenter::~SingleSegmentSegmenter() {}
20 
- +
21 Status SingleSegmentSegmenter::FinalizeSegment(uint64_t start_timestamp,
22  uint64_t duration_timestamp,
23  bool is_subsegment) {
-
24  Status status = Segmenter::FinalizeSegment(start_timestamp,
+
24  Status status = Segmenter::FinalizeSegment(start_timestamp,
25  duration_timestamp, is_subsegment);
26  if (!status.ok())
27  return status;
@@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
30  return Status::OK;
31  CHECK(cluster());
32  if (!cluster()->Finalize())
-
33  return Status(error::FILE_FAILURE, "Error finalizing cluster.");
+
33  return Status(error::FILE_FAILURE, "Error finalizing cluster.");
34  return Status::OK;
35 }
36 
@@ -141,16 +141,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
52  return true;
53 }
54 
-
55 Status SingleSegmentSegmenter::DoInitialize() {
+
55 Status SingleSegmentSegmenter::DoInitialize() {
56  if (!writer_) {
57  std::unique_ptr<MkvWriter> writer(new MkvWriter);
-
58  Status status = writer->Open(options().output_file_name);
+
58  Status status = writer->Open(options().output_file_name);
59  if (!status.ok())
60  return status;
61  writer_ = std::move(writer);
62  }
63 
-
64  Status ret = WriteSegmentHeader(0, writer_.get());
+
64  Status ret = WriteSegmentHeader(0, writer_.get());
65  init_end_ = writer_->Position() - 1;
66  seek_head()->set_cluster_pos(init_end_ + 1 - segment_payload_pos());
67  return ret;
@@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
79  writer_->Position(0);
80 
81  Status status = WriteSegmentHeader(index_end_ + 1, writer_.get());
-
82  status.Update(writer_->Close());
+
82  status.Update(writer_->Close());
83  return status;
84 }
85 
@@ -194,15 +194,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
105 } // namespace webm
106 } // namespace media
107 } // namespace shaka
-
void Update(const Status &new_status)
Definition: status.h:130
An implementation of IMkvWriter using our File type.
Definition: mkv_writer.h:21
-
Status FinalizeSegment(size_t stream_id, std::shared_ptr< SegmentInfo > segment_info)
Definition: segmenter.cc:140
diff --git a/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html b/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html index a49413dfb1..d71da9d020 100644 --- a/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html +++ b/docs/d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d8/dfa/nal__unit__to__byte__stream__converter_8h_source.html b/docs/d8/dfa/nal__unit__to__byte__stream__converter_8h_source.html index 0bcbc4c83d..75f2a0fc6d 100644 --- a/docs/d8/dfa/nal__unit__to__byte__stream__converter_8h_source.html +++ b/docs/d8/dfa/nal__unit__to__byte__stream__converter_8h_source.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html b/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html index da2a9208cd..b1b7e3a66a 100644 --- a/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html +++ b/docs/d9/d00/structshaka_1_1media_1_1OnMediaEndParameters-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html b/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html index 6917a601c7..510f57ebd3 100644 --- a/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html +++ b/docs/d9/d01/mp4_2single__segment__segmenter_8h_source.html @@ -115,9 +115,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
40 
41  private:
42  // Segmenter implementation overrides.
-
43  Status DoInitialize() override;
-
44  Status DoFinalize() override;
-
45  Status DoFinalizeSegment() override;
+
43  Status DoInitialize() override;
+
44  Status DoFinalize() override;
+
45  Status DoFinalizeSegment() override;
46 
47  std::unique_ptr<SegmentIndex> vod_sidx_;
48  std::string temp_file_name_;
@@ -135,12 +135,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
-
bool GetInitRange(size_t *offset, size_t *size) override
diff --git a/docs/d9/d08/mock__mpd__builder_8h_source.html b/docs/d9/d08/mock__mpd__builder_8h_source.html index 685f6a9590..dce2f6f5d9 100644 --- a/docs/d9/d08/mock__mpd__builder_8h_source.html +++ b/docs/d9/d08/mock__mpd__builder_8h_source.html @@ -174,7 +174,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d0b/classshaka_1_1media_1_1HlsNotifyMuxerListener-members.html b/docs/d9/d0b/classshaka_1_1media_1_1HlsNotifyMuxerListener-members.html index edb7d93c2a..e2f27324e2 100644 --- a/docs/d9/d0b/classshaka_1_1media_1_1HlsNotifyMuxerListener-members.html +++ b/docs/d9/d0b/classshaka_1_1media_1_1HlsNotifyMuxerListener-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html b/docs/d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html index 143ea27109..96fedc7aba 100644 --- a/docs/d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html +++ b/docs/d9/d0c/classshaka_1_1media_1_1RsaPublicKey.html @@ -218,7 +218,7 @@ Static Public Member Functions diff --git a/docs/d9/d12/chunking__handler_8cc_source.html b/docs/d9/d12/chunking__handler_8cc_source.html index d40533135b..3c614fef91 100644 --- a/docs/d9/d12/chunking__handler_8cc_source.html +++ b/docs/d9/d12/chunking__handler_8cc_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
25 
26 ChunkingHandler::~ChunkingHandler() {}
27 
- +
29  segment_info_.resize(num_input_streams());
30  subsegment_info_.resize(num_input_streams());
31  time_scales_.resize(num_input_streams());
@@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
33  return Status::OK;
34 }
35 
-
36 Status ChunkingHandler::Process(std::unique_ptr<StreamData> stream_data) {
+
36 Status ChunkingHandler::Process(std::unique_ptr<StreamData> stream_data) {
37  switch (stream_data->stream_data_type) {
38  case StreamDataType::kStreamInfo: {
39  // Make sure the inputs come from the same thread.
@@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
42  int64_t expected = kThreadIdUnset;
43  if (!thread_id_.compare_exchange_strong(expected, thread_id) &&
44  expected != thread_id) {
-
45  return Status(error::CHUNKING_ERROR,
+
45  return Status(error::CHUNKING_ERROR,
46  "Inputs should come from the same thread.");
47  }
48 
@@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
60  subsegment_duration_ =
61  chunking_options_.subsegment_duration_in_seconds * time_scale;
62  } else if (stream_data->stream_info->stream_type() == kStreamVideo) {
-
63  return Status(error::CHUNKING_ERROR,
+
63  return Status(error::CHUNKING_ERROR,
64  "Only one video stream is allowed per chunking handler.");
65  }
66  time_scales_[stream_data->stream_index] = time_scale;
@@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
75  << "kStreamInfo should arrive before kMediaSample";
76  if (stream_index != main_stream_index_) {
77  if (!stream_data->media_sample->is_key_frame()) {
-
78  return Status(error::CHUNKING_ERROR,
+
78  return Status(error::CHUNKING_ERROR,
79  "All non video samples should be key frames.");
80  }
81  // Cache non main stream samples, since we don't know yet whether these
@@ -175,14 +175,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
86  const size_t kMaxSamplesPerStreamBeforeVideoSample = 5u;
87  if (non_main_samples_.size() >
88  num_input_streams() * kMaxSamplesPerStreamBeforeVideoSample) {
-
89  return Status(error::CHUNKING_ERROR,
+
89  return Status(error::CHUNKING_ERROR,
90  "Too many non video samples before video sample.");
91  }
92  return Status::OK;
93  }
94 
95  const MediaSample* sample = stream_data->media_sample.get();
-
96  Status status = ProcessMediaSample(sample);
+
96  Status status = ProcessMediaSample(sample);
97  if (!status.ok())
98  return status;
99  // Discard samples before segment start.
@@ -200,9 +200,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
111  return Dispatch(std::move(stream_data));
112 }
113 
-
114 Status ChunkingHandler::OnFlushRequest(size_t input_stream_index) {
+
114 Status ChunkingHandler::OnFlushRequest(size_t input_stream_index) {
115  if (segment_info_[input_stream_index]) {
-
116  Status status;
+
116  Status status;
117  if (input_stream_index != main_stream_index_) {
118  status = DispatchNonMainSamples(kTimeStampToDispatchAllSamples);
119  if (!status.ok())
@@ -221,7 +221,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
132  return FlushDownstream(output_stream_index);
133 }
134 
-
135 Status ChunkingHandler::ProcessMediaSample(const MediaSample* sample) {
+
135 Status ChunkingHandler::ProcessMediaSample(const MediaSample* sample) {
136  const bool is_key_frame = sample->is_key_frame();
137  const int64_t timestamp = sample->dts();
138  // Check if we need to terminate the current (sub)segment.
@@ -351,13 +351,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Class to hold a media sample.
Definition: media_sample.h:22
double segment_duration_in_seconds
Segment duration in seconds.
-
Status DispatchSegmentInfo(size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)
Dispatch the segment info to downstream handlers.
diff --git a/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html b/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html index e1d2e473af..028cccae4b 100644 --- a/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html +++ b/docs/d9/d13/classshaka_1_1media_1_1BufferReader.html @@ -276,7 +276,7 @@ bool ReadNBytesInto8s diff --git a/docs/d9/d1f/structshaka_1_1media_1_1mp4_1_1MovieFragment.html b/docs/d9/d1f/structshaka_1_1media_1_1mp4_1_1MovieFragment.html index 1be6f271a8..8b2fa0882b 100644 --- a/docs/d9/d1f/structshaka_1_1media_1_1mp4_1_1MovieFragment.html +++ b/docs/d9/d1f/structshaka_1_1media_1_1mp4_1_1MovieFragment.html @@ -180,7 +180,7 @@ Additional Inherited Members diff --git a/docs/d9/d26/classshaka_1_1media_1_1AesEncryptor-members.html b/docs/d9/d26/classshaka_1_1media_1_1AesEncryptor-members.html index f89496703d..548ac60208 100644 --- a/docs/d9/d26/classshaka_1_1media_1_1AesEncryptor-members.html +++ b/docs/d9/d26/classshaka_1_1media_1_1AesEncryptor-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html b/docs/d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html index e5e74ee052..6d714a8ffc 100644 --- a/docs/d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html +++ b/docs/d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html @@ -112,13 +112,13 @@ Public Member Functions  Segmenter (const MuxerOptions &options, std::unique_ptr< FileType > ftyp, std::unique_ptr< Movie > moov)   -Status Initialize (const std::vector< std::shared_ptr< StreamInfo >> &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener) +Status Initialize (const std::vector< std::shared_ptr< StreamInfo >> &streams, MuxerListener *muxer_listener, ProgressListener *progress_listener)   -Status Finalize () +Status Finalize ()   -Status AddSample (size_t stream_id, std::shared_ptr< MediaSample > sample) +Status AddSample (size_t stream_id, std::shared_ptr< MediaSample > sample)   -Status FinalizeSegment (size_t stream_id, std::shared_ptr< SegmentInfo > segment_info) +Status FinalizeSegment (size_t stream_id, std::shared_ptr< SegmentInfo > segment_info)   virtual bool GetInitRange (size_t *offset, size_t *size)=0   @@ -177,7 +177,7 @@ void set_progress_target - + @@ -214,7 +214,7 @@ void 
Status shaka::media::mp4::Segmenter::AddSample Status shaka::media::mp4::Segmenter::AddSample ( size_t  stream_id, set_progress_target - + @@ -233,7 +233,7 @@ void  diff --git a/docs/d9/d3e/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox.html b/docs/d9/d3e/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox.html index cbe1925ead..39b6c0469f 100644 --- a/docs/d9/d3e/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox.html +++ b/docs/d9/d3e/structshaka_1_1media_1_1mp4_1_1CueSourceIDBox.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html b/docs/d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html index b5d656452a..aae506800d 100644 --- a/docs/d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html +++ b/docs/d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html @@ -320,7 +320,7 @@ Public Member Functions diff --git a/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html b/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html index 04531e9db8..58081bf964 100644 --- a/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html +++ b/docs/d9/d66/classshaka_1_1media_1_1mp2t_1_1EsParserAdts-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::mp4::Segmenter::Finalize Status shaka::media::mp4::Segmenter::Finalize ( ) set_progress_target - + @@ -362,7 +362,7 @@ void 
Status shaka::media::mp4::Segmenter::FinalizeSegment Status shaka::media::mp4::Segmenter::FinalizeSegment ( size_t  stream_id, set_progress_target - + @@ -434,7 +434,7 @@ void 
Status shaka::media::mp4::Segmenter::Initialize Status shaka::media::mp4::Segmenter::Initialize ( const std::vector< std::shared_ptr< StreamInfo >> &  streams, set_progress_target diff --git a/docs/d9/d36/classshaka_1_1media_1_1TracksBuilder-members.html b/docs/d9/d36/classshaka_1_1media_1_1TracksBuilder-members.html index 21107acd10..5ef79e23bb 100644 --- a/docs/d9/d36/classshaka_1_1media_1_1TracksBuilder-members.html +++ b/docs/d9/d36/classshaka_1_1media_1_1TracksBuilder-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d9/d3a/classshaka_1_1media_1_1File-members.html b/docs/d9/d3a/classshaka_1_1media_1_1File-members.html index e2450bc635..927134af1d 100644 --- a/docs/d9/d3a/classshaka_1_1media_1_1File-members.html +++ b/docs/d9/d3a/classshaka_1_1media_1_1File-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d9/d3b/webm__content__encodings_8h_source.html b/docs/d9/d3b/webm__content__encodings_8h_source.html index 210e38b699..132f113447 100644 --- a/docs/d9/d3b/webm__content__encodings_8h_source.html +++ b/docs/d9/d3b/webm__content__encodings_8h_source.html @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html b/docs/d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html index a35b0b748f..ecf025b826 100644 --- a/docs/d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html +++ b/docs/d9/d3c/structshaka_1_1media_1_1mp4_1_1VTTEmptyCueBox.html @@ -166,7 +166,7 @@ Additional Inherited Members
diff --git a/docs/d9/d67/structshaka_1_1media_1_1H265VuiParameters.html b/docs/d9/d67/structshaka_1_1media_1_1H265VuiParameters.html index b07778bdeb..a570c022b4 100644 --- a/docs/d9/d67/structshaka_1_1media_1_1H265VuiParameters.html +++ b/docs/d9/d67/structshaka_1_1media_1_1H265VuiParameters.html @@ -131,7 +131,7 @@ int 
min_spatial_segmentati diff --git a/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html b/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html index be8e69d2e8..14a90ed633 100644 --- a/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html +++ b/docs/d9/d6a/structshaka_1_1media_1_1H264SliceHeader-members.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/d9/d76/ts__muxer_8cc_source.html b/docs/d9/d76/ts__muxer_8cc_source.html index 24cb054ebe..0980eb41f9 100644 --- a/docs/d9/d76/ts__muxer_8cc_source.html +++ b/docs/d9/d76/ts__muxer_8cc_source.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d81/classshaka_1_1media_1_1ClosureThread-members.html b/docs/d9/d81/classshaka_1_1media_1_1ClosureThread-members.html index a4e2349d7b..0b5796a16d 100644 --- a/docs/d9/d81/classshaka_1_1media_1_1ClosureThread-members.html +++ b/docs/d9/d81/classshaka_1_1media_1_1ClosureThread-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d86/limits_8h_source.html b/docs/d9/d86/limits_8h_source.html index 37db85cfe1..737686879b 100644 --- a/docs/d9/d86/limits_8h_source.html +++ b/docs/d9/d86/limits_8h_source.html @@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html b/docs/d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html index 2322a0b292..3fab0e4fa1 100644 --- a/docs/d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html +++ b/docs/d9/d87/classshaka_1_1media_1_1WebMContentEncodingsClient.html @@ -152,7 +152,7 @@ Additional Inherited Members diff --git a/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html b/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html index f5d7791b52..d963e304f2 100644 --- a/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html +++ b/docs/d9/d8c/classshaka_1_1media_1_1AesRequestSigner.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/d9/d90/classshaka_1_1media_1_1ProtectionSystemSpecificInfo-members.html b/docs/d9/d90/classshaka_1_1media_1_1ProtectionSystemSpecificInfo-members.html index 2873c33275..45f66208b2 100644 --- a/docs/d9/d90/classshaka_1_1media_1_1ProtectionSystemSpecificInfo-members.html +++ b/docs/d9/d90/classshaka_1_1media_1_1ProtectionSystemSpecificInfo-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/d90/text__track_8h_source.html b/docs/d9/d90/text__track_8h_source.html index 58d4854160..9c3639cefd 100644 --- a/docs/d9/d90/text__track_8h_source.html +++ b/docs/d9/d90/text__track_8h_source.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/da4/stream__descriptor_8h_source.html b/docs/d9/da4/stream__descriptor_8h_source.html index d78a49377a..7fad5ba0b4 100644 --- a/docs/d9/da4/stream__descriptor_8h_source.html +++ b/docs/d9/da4/stream__descriptor_8h_source.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html b/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html index 953186a05a..dfe0d9b897 100644 --- a/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html +++ b/docs/d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html @@ -513,7 +513,7 @@ Additional Inherited Members diff --git a/docs/d9/da6/structshaka_1_1media_1_1Cue-members.html b/docs/d9/da6/structshaka_1_1media_1_1Cue-members.html index e4fcec7fc6..4ef36cb3e1 100644 --- a/docs/d9/da6/structshaka_1_1media_1_1Cue-members.html +++ b/docs/d9/da6/structshaka_1_1media_1_1Cue-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/da7/classshaka_1_1media_1_1mp4_1_1Segmenter-members.html b/docs/d9/da7/classshaka_1_1media_1_1mp4_1_1Segmenter-members.html index fc626d5e3f..4c5e14ff78 100644 --- a/docs/d9/da7/classshaka_1_1media_1_1mp4_1_1Segmenter-members.html +++ b/docs/d9/da7/classshaka_1_1media_1_1mp4_1_1Segmenter-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/db2/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html b/docs/d9/db2/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html index 39300db071..bb07ad1684 100644 --- a/docs/d9/db2/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html +++ b/docs/d9/db2/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/db9/content__protection__element_8cc_source.html b/docs/d9/db9/content__protection__element_8cc_source.html index e206d6fdc0..40fd72e79a 100644 --- a/docs/d9/db9/content__protection__element_8cc_source.html +++ b/docs/d9/db9/content__protection__element_8cc_source.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/db9/muxer_8cc_source.html b/docs/d9/db9/muxer_8cc_source.html index ac9684b747..0d2556f274 100644 --- a/docs/d9/db9/muxer_8cc_source.html +++ b/docs/d9/db9/muxer_8cc_source.html @@ -123,8 +123,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
34  progress_listener_ = std::move(progress_listener);
35 }
36 
-
37 Status Muxer::Process(std::unique_ptr<StreamData> stream_data) {
-
38  Status status;
+
37 Status Muxer::Process(std::unique_ptr<StreamData> stream_data) {
+
38  Status status;
39  switch (stream_data->stream_data_type) {
40  case StreamDataType::kStreamInfo:
41  streams_.push_back(std::move(stream_data->stream_info));
@@ -176,13 +176,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void SetProgressListener(std::unique_ptr< ProgressListener > progress_listener)
Definition: muxer.cc:32
-
Status Process(std::unique_ptr< StreamData > stream_data) override
Definition: muxer.cc:37
void SetMuxerListener(std::unique_ptr< MuxerListener > muxer_listener)
Definition: muxer.cc:28
diff --git a/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html b/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html index 5c1d46fab8..98efc34825 100644 --- a/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html +++ b/docs/d9/dbd/classshaka_1_1media_1_1MemoryFile.html @@ -485,7 +485,7 @@ bool  diff --git a/docs/d9/dc4/classshaka_1_1media_1_1BufferReader-members.html b/docs/d9/dc4/classshaka_1_1media_1_1BufferReader-members.html index 4717339c17..95b93424bc 100644 --- a/docs/d9/dc4/classshaka_1_1media_1_1BufferReader-members.html +++ b/docs/d9/dc4/classshaka_1_1media_1_1BufferReader-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dc4/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html b/docs/d9/dc4/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html index 6bb08668b2..7fa3e249ec 100644 --- a/docs/d9/dc4/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html +++ b/docs/d9/dc4/structshaka_1_1media_1_1mp4_1_1SampleEncryptionEntry-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dc8/webm__constants_8cc_source.html b/docs/d9/dc8/webm__constants_8cc_source.html index d7e3b94c8b..f1af03c138 100644 --- a/docs/d9/dc8/webm__constants_8cc_source.html +++ b/docs/d9/dc8/webm__constants_8cc_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/dcc/webm__video__client_8h_source.html b/docs/d9/dcc/webm__video__client_8h_source.html index 91552c8f34..8f997ef403 100644 --- a/docs/d9/dcc/webm__video__client_8h_source.html +++ b/docs/d9/dcc/webm__video__client_8h_source.html @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/de3/muxer__listener__internal_8cc_source.html b/docs/d9/de3/muxer__listener__internal_8cc_source.html index 30c1d098cc..b19d432194 100644 --- a/docs/d9/de3/muxer__listener__internal_8cc_source.html +++ b/docs/d9/de3/muxer__listener__internal_8cc_source.html @@ -375,7 +375,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html b/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html index b61d7e17a3..2a36671fbc 100644 --- a/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html +++ b/docs/d9/de6/classshaka_1_1media_1_1LocalFile.html @@ -502,7 +502,7 @@ bool  diff --git a/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html b/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html index b97265048b..f5dcfc1a8e 100644 --- a/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html +++ b/docs/d9/dea/classshaka_1_1media_1_1FixedKeySource-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/ded/aac__audio__specific__config_8cc_source.html b/docs/d9/ded/aac__audio__specific__config_8cc_source.html index 57ece848db..e92a4b7b5a 100644 --- a/docs/d9/ded/aac__audio__specific__config_8cc_source.html +++ b/docs/d9/ded/aac__audio__specific__config_8cc_source.html @@ -363,7 +363,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/df8/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html b/docs/d9/df8/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html index c94c8e7d08..f6a8012ece 100644 --- a/docs/d9/df8/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html +++ b/docs/d9/df8/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html b/docs/d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html index 77785443e4..7dce745e63 100644 --- a/docs/d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html +++ b/docs/d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html @@ -242,7 +242,7 @@ false if max_offset > diff --git a/docs/d9/dff/structshaka_1_1media_1_1H264ModificationOfPicNum.html b/docs/d9/dff/structshaka_1_1media_1_1H264ModificationOfPicNum.html index fba230ac33..fe5c3983fa 100644 --- a/docs/d9/dff/structshaka_1_1media_1_1H264ModificationOfPicNum.html +++ b/docs/d9/dff/structshaka_1_1media_1_1H264ModificationOfPicNum.html @@ -119,7 +119,7 @@ union { diff --git a/docs/da/d04/audio__stream__info_8cc_source.html b/docs/da/d04/audio__stream__info_8cc_source.html index 1417a80912..f0cf4df31a 100644 --- a/docs/da/d04/audio__stream__info_8cc_source.html +++ b/docs/da/d04/audio__stream__info_8cc_source.html @@ -223,7 +223,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d10/classshaka_1_1media_1_1mp2t_1_1EsParser.html b/docs/da/d10/classshaka_1_1media_1_1mp2t_1_1EsParser.html index fa1ef6101b..630bc7ea34 100644 --- a/docs/da/d10/classshaka_1_1media_1_1mp2t_1_1EsParser.html +++ b/docs/da/d10/classshaka_1_1media_1_1mp2t_1_1EsParser.html @@ -146,7 +146,7 @@ uint32_t pid () diff --git a/docs/da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html b/docs/da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html index 80bf6ea841..000385e50d 100644 --- a/docs/da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html +++ b/docs/da/d1a/structshaka_1_1media_1_1mp4_1_1Language.html @@ -120,7 +120,7 @@ std::string code< diff --git a/docs/da/d1c/classshaka_1_1media_1_1mp2t_1_1TsSection.html b/docs/da/d1c/classshaka_1_1media_1_1mp2t_1_1TsSection.html index 00fad77fec..674e349aaf 100644 --- a/docs/da/d1c/classshaka_1_1media_1_1mp2t_1_1TsSection.html +++ b/docs/da/d1c/classshaka_1_1media_1_1mp2t_1_1TsSection.html @@ -141,7 +141,7 @@ virtual void Reset ()= diff --git a/docs/da/d1d/udp__options_8cc_source.html b/docs/da/d1d/udp__options_8cc_source.html index 807379ac5e..e1dd52503d 100644 --- a/docs/da/d1d/udp__options_8cc_source.html +++ b/docs/da/d1d/udp__options_8cc_source.html @@ -224,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d23/classshaka_1_1media_1_1mp2t_1_1EsParserH26x.html b/docs/da/d23/classshaka_1_1media_1_1mp2t_1_1EsParserH26x.html index 1121fb8fd1..0f6f1f7616 100644 --- a/docs/da/d23/classshaka_1_1media_1_1mp2t_1_1EsParserH26x.html +++ b/docs/da/d23/classshaka_1_1media_1_1mp2t_1_1EsParserH26x.html @@ -164,7 +164,7 @@ const std::shared_ptr
diff --git a/docs/da/d23/ts__muxer_8h_source.html b/docs/da/d23/ts__muxer_8h_source.html index 9a4f789e6d..c4dc1b9782 100644 --- a/docs/da/d23/ts__muxer_8h_source.html +++ b/docs/da/d23/ts__muxer_8h_source.html @@ -111,11 +111,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
24 
25  private:
26  // Muxer implementation.
-
27  Status InitializeMuxer() override;
-
28  Status Finalize() override;
-
29  Status AddSample(size_t stream_id,
+
27  Status InitializeMuxer() override;
+
28  Status Finalize() override;
+
29  Status AddSample(size_t stream_id,
30  std::shared_ptr<MediaSample> sample) override;
-
31  Status FinalizeSegment(size_t stream_id,
+
31  Status FinalizeSegment(size_t stream_id,
32  std::shared_ptr<SegmentInfo> sample) override;
33 
34  void FireOnMediaStartEvent();
@@ -133,12 +133,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
46 #endif // PACKAGER_MEDIA_FORMATS_MP2T_TS_MUXER_H_
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
- diff --git a/docs/da/d24/h265__parser_8h_source.html b/docs/da/d24/h265__parser_8h_source.html index 288a5b1465..9b91b8b6dc 100644 --- a/docs/da/d24/h265__parser_8h_source.html +++ b/docs/da/d24/h265__parser_8h_source.html @@ -454,7 +454,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d2a/text__stream__info_8h_source.html b/docs/da/d2a/text__stream__info_8h_source.html index 3c550679d6..7a6d95bb96 100644 --- a/docs/da/d2a/text__stream__info_8h_source.html +++ b/docs/da/d2a/text__stream__info_8h_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d2d/classshaka_1_1media_1_1webm_1_1WebMMuxer-members.html b/docs/da/d2d/classshaka_1_1media_1_1webm_1_1WebMMuxer-members.html index 6162438621..f78b2c5e3c 100644 --- a/docs/da/d2d/classshaka_1_1media_1_1webm_1_1WebMMuxer-members.html +++ b/docs/da/d2d/classshaka_1_1media_1_1webm_1_1WebMMuxer-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d3e/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio-members.html b/docs/da/d3e/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio-members.html index 527d0fd0bb..256fbb97c2 100644 --- a/docs/da/d3e/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio-members.html +++ b/docs/da/d3e/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html b/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html index 8695931fce..2970ce61ba 100644 --- a/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html +++ b/docs/da/d41/mp4_2multi__segment__segmenter_8h_source.html @@ -116,12 +116,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
43 
44  private:
45  // Segmenter implementation overrides.
-
46  Status DoInitialize() override;
-
47  Status DoFinalize() override;
-
48  Status DoFinalizeSegment() override;
+
46  Status DoInitialize() override;
+
47  Status DoFinalize() override;
+
48  Status DoFinalizeSegment() override;
49 
50  // Write segment to file.
-
51  Status WriteSegment();
+
51  Status WriteSegment();
52 
53  std::unique_ptr<SegmentType> styp_;
54  uint32_t num_segments_;
@@ -138,12 +138,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
bool GetInitRange(size_t *offset, size_t *size) override
bool GetIndexRange(size_t *offset, size_t *size) override
- diff --git a/docs/da/d43/structshaka_1_1ContentProtectionElement.html b/docs/da/d43/structshaka_1_1ContentProtectionElement.html index a2760c15ef..cbd8c14ab6 100644 --- a/docs/da/d43/structshaka_1_1ContentProtectionElement.html +++ b/docs/da/d43/structshaka_1_1ContentProtectionElement.html @@ -123,7 +123,7 @@ std::vector< El diff --git a/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html b/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html index 570f8afcc2..0223f17bd8 100644 --- a/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html +++ b/docs/da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html @@ -328,7 +328,7 @@ Static Public Member Functions diff --git a/docs/da/d50/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader.html b/docs/da/d50/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader.html index e564cbbe57..ce0dea2adb 100644 --- a/docs/da/d50/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader.html +++ b/docs/da/d50/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/da/d53/es__parser__h265_8cc_source.html b/docs/da/d53/es__parser__h265_8cc_source.html index a904be86d1..1e18c286ab 100644 --- a/docs/da/d53/es__parser__h265_8cc_source.html +++ b/docs/da/d53/es__parser__h265_8cc_source.html @@ -265,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d59/structshaka_1_1media_1_1mp4_1_1CompactSampleSize.html b/docs/da/d59/structshaka_1_1media_1_1mp4_1_1CompactSampleSize.html index 9e05752056..386e4e0436 100644 --- a/docs/da/d59/structshaka_1_1media_1_1mp4_1_1CompactSampleSize.html +++ b/docs/da/d59/structshaka_1_1media_1_1mp4_1_1CompactSampleSize.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/da/d5c/widevine__key__source_8h_source.html b/docs/da/d5c/widevine__key__source_8h_source.html index e759bc2892..243d095eef 100644 --- a/docs/da/d5c/widevine__key__source_8h_source.html +++ b/docs/da/d5c/widevine__key__source_8h_source.html @@ -121,16 +121,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
35 
36  ~WidevineKeySource() override;
37 
-
40  Status FetchKeys(EmeInitDataType init_data_type,
+
40  Status FetchKeys(EmeInitDataType init_data_type,
41  const std::vector<uint8_t>& init_data) override;
-
42  Status GetKey(const std::string& stream_label, EncryptionKey* key) override;
-
43  Status GetKey(const std::vector<uint8_t>& key_id,
+
42  Status GetKey(const std::string& stream_label, EncryptionKey* key) override;
+
43  Status GetKey(const std::vector<uint8_t>& key_id,
44  EncryptionKey* key) override;
-
45  Status GetCryptoPeriodKey(uint32_t crypto_period_index,
+
45  Status GetCryptoPeriodKey(uint32_t crypto_period_index,
46  const std::string& stream_label,
47  EncryptionKey* key) override;
49 
-
54  Status FetchKeys(const std::vector<uint8_t>& content_id,
+
54  Status FetchKeys(const std::vector<uint8_t>& content_id,
55  const std::string& policy);
56 
58  void set_protection_scheme(FourCC protection_scheme) {
@@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
74  EncryptionKeyQueue;
75 
76  // Internal routine for getting keys.
-
77  Status GetKeyInternal(uint32_t crypto_period_index,
+
77  Status GetKeyInternal(uint32_t crypto_period_index,
78  const std::string& stream_label,
79  EncryptionKey* key);
80 
@@ -156,7 +156,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
82  void FetchKeysTask();
83 
84  // Fetch keys from server.
-
85  Status FetchKeysInternal(bool enable_key_rotation,
+
85  Status FetchKeysInternal(bool enable_key_rotation,
86  uint32_t first_crypto_period_index,
87  bool widevine_classic);
88 
@@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
93  std::string* request);
94  // Base64 escape and format the request. Optionally sign the request if a
95  // signer is provided. |message| should not be NULL. Return OK on success.
-
96  Status GenerateKeyMessage(const std::string& request, std::string* message);
+
96  Status GenerateKeyMessage(const std::string& request, std::string* message);
97  // Decode |response| from JSON formatted |raw_response|.
98  // |response| should not be NULL.
99  bool DecodeResponse(const std::string& raw_response, std::string* response);
@@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
126  uint32_t first_crypto_period_index_;
127  std::unique_ptr<EncryptionKeyQueue> key_pool_;
128  EncryptionKeyMap encryption_key_map_; // For non key rotation request.
-
129  Status common_encryption_request_status_;
+
129  Status common_encryption_request_status_;
130 
131  DISALLOW_COPY_AND_ASSIGN(WidevineKeySource);
132 };
@@ -216,7 +216,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status GetKey(const std::string &stream_label, EncryptionKey *key) override
void set_key_fetcher(std::unique_ptr< KeyFetcher > key_fetcher)
WidevineKeySource(const std::string &server_url, bool add_common_pssh)
-
Status GetCryptoPeriodKey(uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override
void set_signer(std::unique_ptr< RequestSigner > signer)
@@ -225,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d5e/classshaka_1_1media_1_1H264VideoSliceHeaderParser-members.html b/docs/da/d5e/classshaka_1_1media_1_1H264VideoSliceHeaderParser-members.html index b5222135f0..310c0e80d0 100644 --- a/docs/da/d5e/classshaka_1_1media_1_1H264VideoSliceHeaderParser-members.html +++ b/docs/da/d5e/classshaka_1_1media_1_1H264VideoSliceHeaderParser-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d60/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html b/docs/da/d60/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html index bf5155113b..c5c4fa1790 100644 --- a/docs/da/d60/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html +++ b/docs/da/d60/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d64/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter-members.html b/docs/da/d64/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter-members.html index 7bc692548a..2ba9acc302 100644 --- a/docs/da/d64/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter-members.html +++ b/docs/da/d64/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d6e/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry.html b/docs/da/d6e/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry.html index 3d3b22b6ee..7dada9c567 100644 --- a/docs/da/d6e/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry.html +++ b/docs/da/d6e/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry.html @@ -120,7 +120,7 @@ int16_t roll_distance< diff --git a/docs/da/d7a/fixed__key__encryption__flags_8h_source.html b/docs/da/d7a/fixed__key__encryption__flags_8h_source.html index 16223a57d7..3f6f739df0 100644 --- a/docs/da/d7a/fixed__key__encryption__flags_8h_source.html +++ b/docs/da/d7a/fixed__key__encryption__flags_8h_source.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d85/classshaka_1_1media_1_1mp2t_1_1TsSegmenter-members.html b/docs/da/d85/classshaka_1_1media_1_1mp2t_1_1TsSegmenter-members.html index 71b0086a74..34900694e1 100644 --- a/docs/da/d85/classshaka_1_1media_1_1mp2t_1_1TsSegmenter-members.html +++ b/docs/da/d85/classshaka_1_1media_1_1mp2t_1_1TsSegmenter-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d88/mp4__muxer_8cc_source.html b/docs/da/d88/mp4__muxer_8cc_source.html index 1b90795013..8883f50fff 100644 --- a/docs/da/d88/mp4__muxer_8cc_source.html +++ b/docs/da/d88/mp4__muxer_8cc_source.html @@ -198,7 +198,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
109 MP4Muxer::MP4Muxer(const MuxerOptions& options) : Muxer(options) {}
110 MP4Muxer::~MP4Muxer() {}
111 
-
112 Status MP4Muxer::InitializeMuxer() {
+
112 Status MP4Muxer::InitializeMuxer() {
113  DCHECK(!streams().empty());
114 
115  std::unique_ptr<FileType> ftyp(new FileType);
@@ -598,12 +598,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
static int64_t GetFileSize(const char *file_name)
Definition: file.cc:176
-
virtual void OnMediaStart(const MuxerOptions &muxer_options, const StreamInfo &stream_info, uint32_t time_scale, ContainerType container_type)=0
diff --git a/docs/da/d8b/classshaka_1_1media_1_1WebMMediaParser-members.html b/docs/da/d8b/classshaka_1_1media_1_1WebMMediaParser-members.html index 028d0a4ee5..cce60531da 100644 --- a/docs/da/d8b/classshaka_1_1media_1_1WebMMediaParser-members.html +++ b/docs/da/d8b/classshaka_1_1media_1_1WebMMediaParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d8e/container__names_8cc_source.html b/docs/da/d8e/container__names_8cc_source.html index 9fb23b192b..d080462b36 100644 --- a/docs/da/d8e/container__names_8cc_source.html +++ b/docs/da/d8e/container__names_8cc_source.html @@ -1866,7 +1866,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d9b/structshaka_1_1media_1_1mp4_1_1CompositionOffset-members.html b/docs/da/d9b/structshaka_1_1media_1_1mp4_1_1CompositionOffset-members.html index d4a9c8c205..89fea5befe 100644 --- a/docs/da/d9b/structshaka_1_1media_1_1mp4_1_1CompositionOffset-members.html +++ b/docs/da/d9b/structshaka_1_1media_1_1mp4_1_1CompositionOffset-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d9d/structshaka_1_1media_1_1mp4_1_1EC3Specific-members.html b/docs/da/d9d/structshaka_1_1media_1_1mp4_1_1EC3Specific-members.html index 8cc501cac5..be6d406aa3 100644 --- a/docs/da/d9d/structshaka_1_1media_1_1mp4_1_1EC3Specific-members.html +++ b/docs/da/d9d/structshaka_1_1media_1_1mp4_1_1EC3Specific-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d9f/classshaka_1_1MpdNotifierFactory-members.html b/docs/da/d9f/classshaka_1_1MpdNotifierFactory-members.html index 7fa91a453c..e7fde9affb 100644 --- a/docs/da/d9f/classshaka_1_1MpdNotifierFactory-members.html +++ b/docs/da/d9f/classshaka_1_1MpdNotifierFactory-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/d9f/classshaka_1_1media_1_1MockMuxerListener-members.html b/docs/da/d9f/classshaka_1_1media_1_1MockMuxerListener-members.html index 071eedd52d..bcb5f524ec 100644 --- a/docs/da/d9f/classshaka_1_1media_1_1MockMuxerListener-members.html +++ b/docs/da/d9f/classshaka_1_1media_1_1MockMuxerListener-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/da1/classshaka_1_1media_1_1mp2t_1_1TsPacket.html b/docs/da/da1/classshaka_1_1media_1_1mp2t_1_1TsPacket.html index e534fb1394..63d1093ae9 100644 --- a/docs/da/da1/classshaka_1_1media_1_1mp2t_1_1TsPacket.html +++ b/docs/da/da1/classshaka_1_1media_1_1mp2t_1_1TsPacket.html @@ -145,7 +145,7 @@ static const int kPacketSi diff --git a/docs/da/db2/classshaka_1_1Representation-members.html b/docs/da/db2/classshaka_1_1Representation-members.html index 79913a9cd9..3a367a006c 100644 --- a/docs/da/db2/classshaka_1_1Representation-members.html +++ b/docs/da/db2/classshaka_1_1Representation-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dbb/structshaka_1_1media_1_1mp4_1_1HandlerReference.html b/docs/da/dbb/structshaka_1_1media_1_1mp4_1_1HandlerReference.html index 6fe3dd3105..747162dc4a 100644 --- a/docs/da/dbb/structshaka_1_1media_1_1mp4_1_1HandlerReference.html +++ b/docs/da/dbb/structshaka_1_1media_1_1mp4_1_1HandlerReference.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/da/dc3/status_8cc_source.html b/docs/da/dc3/status_8cc_source.html deleted file mode 100644 index 852de4bef4..0000000000 --- a/docs/da/dc3/status_8cc_source.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -DASH Media Packaging SDK: media/base/status.cc Source File - - - - - - - - - -
-
- - - - - - -
-
DASH Media Packaging SDK -
-
-
- - - - - - - - - -
- -
- - -
-
-
-
status.cc
-
-
-
1 // Copyright 2014 Google Inc. All rights reserved.
-
2 //
-
3 // Use of this source code is governed by a BSD-style
-
4 // license that can be found in the LICENSE file or at
-
5 // https://developers.google.com/open-source/licenses/bsd
-
6 
-
7 #include "packager/media/base/status.h"
-
8 
-
9 #include "packager/base/logging.h"
-
10 #include "packager/base/strings/stringprintf.h"
-
11 
-
12 namespace shaka {
-
13 namespace media {
-
14 
-
15 namespace error {
-
16 namespace {
-
17 std::string ErrorCodeToString(Code error_code) {
-
18  switch (error_code) {
-
19  case OK:
-
20  return "OK";
-
21  case UNKNOWN:
-
22  return "UNKNOWN";
-
23  case CANCELLED:
-
24  return "CANCELLED";
-
25  case INVALID_ARGUMENT:
-
26  return "INVALID_ARGUMENT";
-
27  case UNIMPLEMENTED:
-
28  return "UNIMPLEMENTED";
-
29  case FILE_FAILURE:
-
30  return "FILE_FAILURE";
-
31  case END_OF_STREAM:
-
32  return "END_OF_STREAM";
-
33  case HTTP_FAILURE:
-
34  return "HTTP_FAILURE";
-
35  case PARSER_FAILURE:
-
36  return "PARSER_FAILURE";
-
37  case ENCRYPTION_FAILURE:
-
38  return "ENCRYPTION_FAILURE";
-
39  case CHUNKING_ERROR:
-
40  return "CHUNKING_ERROR";
-
41  case MUXER_FAILURE:
-
42  return "MUXER_FAILURE";
-
43  case FRAGMENT_FINALIZED:
-
44  return "FRAGMENT_FINALIZED";
-
45  case SERVER_ERROR:
-
46  return "SERVER_ERROR";
-
47  case INTERNAL_ERROR:
-
48  return "INTERNAL_ERROR";
-
49  case STOPPED:
-
50  return "STOPPED";
-
51  case TIME_OUT:
-
52  return "TIME_OUT";
-
53  case NOT_FOUND:
-
54  return "NOT_FOUND";
-
55  case ALREADY_EXISTS:
-
56  return "ALREADY_EXISTS";
-
57  default:
-
58  NOTIMPLEMENTED() << "Unknown Status Code: " << error_code;
-
59  return "UNKNOWN_STATUS";
-
60  }
-
61 }
-
62 } // namespace
-
63 } // namespace error
-
64 
-
65 const Status Status::OK = Status(error::OK, "");
-
66 const Status Status::UNKNOWN = Status(error::UNKNOWN, "");
-
67 
-
68 std::string Status::ToString() const {
-
69  if (error_code_ == error::OK)
-
70  return "OK";
-
71 
-
72  return base::StringPrintf("%d (%s): %s",
-
73  error_code_,
-
74  error::ErrorCodeToString(error_code_).c_str(),
-
75  error_message_.c_str());
-
76 }
-
77 
-
78 std::ostream& operator<<(std::ostream& os, const Status& x) {
-
79  os << x.ToString();
-
80  return os;
-
81 }
-
82 
-
83 } // namespace media
-
84 } // namespace shaka
-
std::string ToString() const
Definition: status.cc:68
- -
- - - - diff --git a/docs/da/dc4/structshaka_1_1media_1_1mp4_1_1TrackHeader.html b/docs/da/dc4/structshaka_1_1media_1_1mp4_1_1TrackHeader.html index 11f59fce8a..908b36e49c 100644 --- a/docs/da/dc4/structshaka_1_1media_1_1mp4_1_1TrackHeader.html +++ b/docs/da/dc4/structshaka_1_1media_1_1mp4_1_1TrackHeader.html @@ -215,7 +215,7 @@ Additional Inherited Members diff --git a/docs/da/dcb/es__descriptor_8h_source.html b/docs/da/dcb/es__descriptor_8h_source.html index 8cab521d80..963c4265c8 100644 --- a/docs/da/dcb/es__descriptor_8h_source.html +++ b/docs/da/dcb/es__descriptor_8h_source.html @@ -183,7 +183,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd0/playready__key__source_8cc_source.html b/docs/da/dd0/playready__key__source_8cc_source.html index 152a28d3a3..5859d4a2be 100644 --- a/docs/da/dd0/playready__key__source_8cc_source.html +++ b/docs/da/dd0/playready__key__source_8cc_source.html @@ -178,9 +178,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
89 // PlayReady PSSH Data is a PlayReady Header Object.
90 // Format is outlined in the following document.
91 // http://download.microsoft.com/download/2/3/8/238F67D9-1B8B-48D3-AB83-9C00112268B2/PlayReady%20Header%20Object%202015-08-13-FINAL-CL.PDF
-
92 shaka::media::Status GeneratePlayReadyPsshData(const std::vector<uint8_t>& key_id,
-
93  const std::vector<uint8_t>& key,
-
94  std::vector<uint8_t>* output) {
+
92 Status GeneratePlayReadyPsshData(const std::vector<uint8_t>& key_id,
+
93  const std::vector<uint8_t>& key,
+
94  std::vector<uint8_t>* output) {
95  CHECK(output);
96  std::vector<uint8_t> key_id_converted = ConvertGuidEndianness(key_id);
97  std::vector<uint8_t> encrypted_key_id(key_id_converted.size());
@@ -207,7 +207,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
118  // 'PlayReady Header Object' document. Note data is in little endian format.
119  std::vector<uint16_t> record_value =
120  std::vector<uint16_t>(playready_header.begin(), playready_header.end());
-
121  shaka::media::BufferWriter writer_pr_record;
+
121  BufferWriter writer_pr_record;
122  uint16_t record_type = 1; // Indicates that the record contains a rights management header.
123  uint16_t record_length = record_value.size() * 2;
124  writer_pr_record.AppendInt(static_cast<uint8_t>(record_type & 0xff));
@@ -222,26 +222,26 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
133  // Create the PlayReady Header object.
134  // Outline in section '1.PlayReady Header Objects' of
135  // 'PlayReady Header Object' document. Note data is in little endian format.
-
136  shaka::media::BufferWriter writer_pr_header_object;
+
136  BufferWriter writer_pr_header_object;
137  uint32_t playready_header_length = writer_pr_record.Size() + 4 + 2;
138  uint16_t record_count = 1;
-
139  writer_pr_header_object.AppendInt(
+
139  writer_pr_header_object.AppendInt(
140  static_cast<uint8_t>(playready_header_length & 0xff));
-
141  writer_pr_header_object.AppendInt(
+
141  writer_pr_header_object.AppendInt(
142  static_cast<uint8_t>((playready_header_length >> 8) & 0xff));
-
143  writer_pr_header_object.AppendInt(
+
143  writer_pr_header_object.AppendInt(
144  static_cast<uint8_t>((playready_header_length >> 16) & 0xff));
-
145  writer_pr_header_object.AppendInt(
+
145  writer_pr_header_object.AppendInt(
146  static_cast<uint8_t>((playready_header_length >> 24) & 0xff));
-
147  writer_pr_header_object.AppendInt(
+
147  writer_pr_header_object.AppendInt(
148  static_cast<uint8_t>(record_count & 0xff));
-
149  writer_pr_header_object.AppendInt(
+
149  writer_pr_header_object.AppendInt(
150  static_cast<uint8_t>((record_count >> 8) & 0xff));
151  writer_pr_header_object.AppendBuffer(writer_pr_record);
-
152  *output = std::vector<uint8_t>(writer_pr_header_object.Buffer(),
-
153  writer_pr_header_object.Buffer() +
+
152  *output = std::vector<uint8_t>(writer_pr_header_object.Buffer(),
+
153  writer_pr_header_object.Buffer() +
154  writer_pr_header_object.Size());
-
155  return shaka::media::Status::OK;
+
155  return Status::OK;
156 }
157 
158 } // namespace
@@ -277,10 +277,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
188  encryption_key->key_id = key_id;
189  encryption_key->key = key;
190  std::vector<uint8_t> pssh_data;
-
191  Status status = GeneratePlayReadyPsshData(
+
191  Status status = GeneratePlayReadyPsshData(
192  encryption_key->key_id, encryption_key->key, &pssh_data);
193  if (!status.ok()) {
-
194  LOG(ERROR) << status.ToString();
+
194  LOG(ERROR) << status.ToString();
195  return std::unique_ptr<PlayReadyKeySource>();
196  }
@@ -293,14 +293,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
204  new PlayReadyKeySource(std::move(encryption_key)));
205 }
206 
-
207 Status RetrieveTextInXMLElement(const std::string& element,
+
207 Status RetrieveTextInXMLElement(const std::string& element,
208  const std::string& xml,
209  std::string* value) {
210  std::string start_tag = "<" + element + ">";
211  std::string end_tag = "</" + element + ">";
212  std::size_t start_pos = xml.find(start_tag);
213  if (start_pos == std::string::npos) {
-
214  return Status(error::SERVER_ERROR,
+
214  return Status(error::SERVER_ERROR,
215  "Unable to find tag: " + start_tag);
216  }
217  start_pos += start_tag.size();
@@ -393,13 +393,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
304  return Status::OK;
305 }
306 
-
307 Status PlayReadyKeySource::FetchKeys(EmeInitDataType init_data_type,
+
307 Status PlayReadyKeySource::FetchKeys(EmeInitDataType init_data_type,
308  const std::vector<uint8_t>& init_data) {
309  // Do nothing for playready encryption/decryption.
310  return Status::OK;
311 }
312 
-
313 Status PlayReadyKeySource::GetKey(const std::string& stream_label,
+
313 Status PlayReadyKeySource::GetKey(const std::string& stream_label,
314  EncryptionKey* key) {
315  // TODO(robinconnell): Currently all tracks are encrypted using the same
316  // key_id and key. Add the ability to encrypt each stream_label using a
@@ -410,7 +410,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
321  return Status::OK;
322 }
323 
-
324 Status PlayReadyKeySource::GetKey(const std::vector<uint8_t>& key_id,
+
324 Status PlayReadyKeySource::GetKey(const std::vector<uint8_t>& key_id,
325  EncryptionKey* key) {
326  // TODO(robinconnell): Currently all tracks are encrypted using the same
327  // key_id and key. Add the ability to encrypt using multiple key_id/keys.
@@ -420,7 +420,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
331  return Status::OK;
332 }
333 
-
334 Status PlayReadyKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
+
334 Status PlayReadyKeySource::GetCryptoPeriodKey(uint32_t crypto_period_index,
335  const std::string& stream_label,
336  EncryptionKey* key) {
337  // TODO(robinconnell): Implement key rotation.
@@ -431,21 +431,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
342 } // namespace media
343 } // namespace shaka
Status GetKey(const std::string &stream_label, EncryptionKey *key) override
-
std::string ToString() const
Definition: status.cc:68
PlayReadyKeySource(const std::string &server_url)
- - -
const uint8_t * Buffer() const
Definition: buffer_writer.h:59
Status GetCryptoPeriodKey(uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override
Status FetchKeys(EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override
-
static std::unique_ptr< PlayReadyKeySource > CreateFromKeyAndKeyId(const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &key)
diff --git a/docs/da/dd0/structshaka_1_1media_1_1mp4_1_1Edit.html b/docs/da/dd0/structshaka_1_1media_1_1mp4_1_1Edit.html index 3fe64e8712..31aed7af6f 100644 --- a/docs/da/dd0/structshaka_1_1media_1_1mp4_1_1Edit.html +++ b/docs/da/dd0/structshaka_1_1media_1_1mp4_1_1Edit.html @@ -173,7 +173,7 @@ Additional Inherited Members diff --git a/docs/da/dd0/webm__info__parser_8h_source.html b/docs/da/dd0/webm__info__parser_8h_source.html index 5e78418915..5792ddcac0 100644 --- a/docs/da/dd0/webm__info__parser_8h_source.html +++ b/docs/da/dd0/webm__info__parser_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd1/fragmenter_8h_source.html b/docs/da/dd1/fragmenter_8h_source.html index 422bb2029c..368b17d38b 100644 --- a/docs/da/dd1/fragmenter_8h_source.html +++ b/docs/da/dd1/fragmenter_8h_source.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
11 #include <vector>
12 
13 #include "packager/base/logging.h"
-
14 #include "packager/media/base/status.h"
+
14 #include "packager/status.h"
15 
16 namespace shaka {
17 namespace media {
@@ -120,11 +120,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
35 
36  ~Fragmenter();
37 
-
41  Status AddSample(std::shared_ptr<MediaSample> sample);
+
41  Status AddSample(std::shared_ptr<MediaSample> sample);
42 
-
47  Status InitializeFragment(int64_t first_sample_dts);
+
47  Status InitializeFragment(int64_t first_sample_dts);
48 
- +
50  Status FinalizeFragment();
51 
54 
@@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
82  bool OptimizeSampleEntries(std::vector<T>* entries, T* default_value);
83 
84  private:
-
85  Status FinalizeFragmentForEncryption();
+
85  Status FinalizeFragmentForEncryption();
86  // Check if the current fragment starts with SAP.
87  bool StartsWithSAP();
88 
@@ -202,13 +202,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status AddSample(std::shared_ptr< MediaSample > sample)
Definition: fragmenter.cc:64
void GenerateSegmentReference(SegmentReference *reference)
Fill reference with current fragment information.
Definition: fragmenter.cc:204
-
Status FinalizeFragment()
Finalize and optimize the fragment.
Definition: fragmenter.cc:139
bool OptimizeSampleEntries(std::vector< T > *entries, T *default_value)
Definition: fragmenter.h:104
diff --git a/docs/da/dd2/classshaka_1_1media_1_1mp2t_1_1TsPacket-members.html b/docs/da/dd2/classshaka_1_1media_1_1mp2t_1_1TsPacket-members.html index b6ded8ab8f..09110d95ee 100644 --- a/docs/da/dd2/classshaka_1_1media_1_1mp2t_1_1TsPacket-members.html +++ b/docs/da/dd2/classshaka_1_1media_1_1mp2t_1_1TsPacket-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html b/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html index 2c6ab6bde1..dd95394946 100644 --- a/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html +++ b/docs/da/dd6/classshaka_1_1media_1_1H264ByteToUnitStreamConverter-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dd8/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html b/docs/da/dd8/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html index f2032190a1..bf44595842 100644 --- a/docs/da/dd8/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html +++ b/docs/da/dd8/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/dda/structshaka_1_1media_1_1H264SEIRecoveryPoint-members.html b/docs/da/dda/structshaka_1_1media_1_1H264SEIRecoveryPoint-members.html index 7d67d243c9..244edc0e73 100644 --- a/docs/da/dda/structshaka_1_1media_1_1H264SEIRecoveryPoint-members.html +++ b/docs/da/dda/structshaka_1_1media_1_1H264SEIRecoveryPoint-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html b/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html index ff660a50ee..00d405b90c 100644 --- a/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html +++ b/docs/da/ddd/classshaka_1_1media_1_1WidevineKeySource.html @@ -109,7 +109,7 @@ Inheritance diagram for shaka::media::WidevineKeySource: Public Member Functions  WidevineKeySource (const std::string &server_url, bool add_common_pssh)   -Status FetchKeys (const std::vector< uint8_t > &content_id, const std::string &policy) +Status FetchKeys (const std::vector< uint8_t > &content_id, const std::string &policy)   void set_protection_scheme (FourCC protection_scheme) @@ -120,13 +120,13 @@ void void set_key_fetcher (std::unique_ptr< KeyFetcher > key_fetcher)  
KeySource implementation overrides.
-Status FetchKeys (EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override +Status FetchKeys (EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override   -Status GetKey (const std::string &stream_label, EncryptionKey *key) override +Status GetKey (const std::string &stream_label, EncryptionKey *key) override   -Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key) override +Status GetKey (const std::vector< uint8_t > &key_id, EncryptionKey *key) override   -Status GetCryptoPeriodKey (uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override +Status GetCryptoPeriodKey (uint32_t crypto_period_index, const std::string &stream_label, EncryptionKey *key) override  

Detailed Description

@@ -177,7 +177,7 @@ void  - + @@ -221,7 +221,7 @@ void  +Status  +Status  - + @@ -133,50 +133,50 @@ bool  - + - + +virtual Status  - + +Status  +Status  +Status  +Status  +Status  +Status  +Status  +Status 
Status shaka::media::WidevineKeySource::FetchKeys Status shaka::media::WidevineKeySource::FetchKeys ( EmeInitDataType  init_data_type, - + @@ -261,7 +261,7 @@ void  diff --git a/docs/da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html b/docs/da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html index d8528312e3..ec36c441c0 100644 --- a/docs/da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html +++ b/docs/da/df0/classshaka_1_1media_1_1H264VideoSliceHeaderParser.html @@ -152,7 +152,7 @@ int64_t  diff --git a/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html b/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html index e8b98d83d7..e81145dd4e 100644 --- a/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html +++ b/docs/da/df9/classshaka_1_1media_1_1AesPatternCryptor-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::WidevineKeySource::FetchKeys Status shaka::media::WidevineKeySource::FetchKeys ( const std::vector< uint8_t > &  content_id, - + @@ -315,7 +315,7 @@ void 
Status shaka::media::WidevineKeySource::GetCryptoPeriodKey Status shaka::media::WidevineKeySource::GetCryptoPeriodKey ( uint32_t  crypto_period_index, - + @@ -362,7 +362,7 @@ void 
Status shaka::media::WidevineKeySource::GetKey Status shaka::media::WidevineKeySource::GetKey ( const std::string &  stream_label, - + @@ -458,7 +458,7 @@ void 
Status shaka::media::WidevineKeySource::GetKey Status shaka::media::WidevineKeySource::GetKey ( const std::vector< uint8_t > &  key_id, diff --git a/docs/da/ddf/structshaka_1_1media_1_1mp4_1_1SampleDescription-members.html b/docs/da/ddf/structshaka_1_1media_1_1mp4_1_1SampleDescription-members.html index fb550741d9..fa12cfe454 100644 --- a/docs/da/ddf/structshaka_1_1media_1_1mp4_1_1SampleDescription-members.html +++ b/docs/da/ddf/structshaka_1_1media_1_1mp4_1_1SampleDescription-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/da/de2/mock__mpd__builder_8cc_source.html b/docs/da/de2/mock__mpd__builder_8cc_source.html index 0a298a8c1a..7875ce8913 100644 --- a/docs/da/de2/mock__mpd__builder_8cc_source.html +++ b/docs/da/de2/mock__mpd__builder_8cc_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html b/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html index 4b4c67a418..3051f98cd2 100644 --- a/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html +++ b/docs/da/de4/classshaka_1_1media_1_1WebMClusterParser.html @@ -372,7 +372,7 @@ The number of bytes parsed on success. diff --git a/docs/da/de6/structshaka_1_1media_1_1mp4_1_1SchemeType-members.html b/docs/da/de6/structshaka_1_1media_1_1mp4_1_1SchemeType-members.html index 5c22dcf595..a8c62fa87c 100644 --- a/docs/da/de6/structshaka_1_1media_1_1mp4_1_1SchemeType-members.html +++ b/docs/da/de6/structshaka_1_1media_1_1mp4_1_1SchemeType-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html b/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html index d392ecacbc..1d051b2c0e 100644 --- a/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html +++ b/docs/da/de8/classshaka_1_1media_1_1AudioStreamInfo-members.html @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/da/de9/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html b/docs/da/de9/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html index 076aa6d57c..7dc6deee09 100644 --- a/docs/da/de9/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html +++ b/docs/da/de9/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo.html @@ -179,7 +179,7 @@ Additional Inherited Members
diff --git a/docs/da/df4/aes__decryptor_8cc_source.html b/docs/da/df4/aes__decryptor_8cc_source.html index 8303840af2..0cd41630b2 100644 --- a/docs/da/df4/aes__decryptor_8cc_source.html +++ b/docs/da/df4/aes__decryptor_8cc_source.html @@ -258,7 +258,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/da/df5/structshaka_1_1media_1_1mp4_1_1SampleDescription.html b/docs/da/df5/structshaka_1_1media_1_1mp4_1_1SampleDescription.html index 7cc2657ed8..6d2dc9d8b7 100644 --- a/docs/da/df5/structshaka_1_1media_1_1mp4_1_1SampleDescription.html +++ b/docs/da/df5/structshaka_1_1media_1_1mp4_1_1SampleDescription.html @@ -191,7 +191,7 @@ Additional Inherited Members
diff --git a/docs/da/dfd/classshaka_1_1media_1_1MediaHandler.html b/docs/da/dfd/classshaka_1_1media_1_1MediaHandler.html index 40ea76204e..b381f6bb50 100644 --- a/docs/da/dfd/classshaka_1_1media_1_1MediaHandler.html +++ b/docs/da/dfd/classshaka_1_1media_1_1MediaHandler.html @@ -117,14 +117,14 @@ Inheritance diagram for shaka::media::MediaHandler:

Public Member Functions

-Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
 Connect downstream handler at the specified output stream index.
 
-Status AddHandler (std::shared_ptr< MediaHandler > handler)
AddHandler (std::shared_ptr< MediaHandler > handler)
 Connect downstream handler to the next availble output stream index.
 
Status Initialize ()
Status Initialize ()
 
bool IsConnected ()

Protected Member Functions

virtual Status InitializeInternal ()=0
virtual Status InitializeInternal ()=0
 
virtual Status Process (std::unique_ptr< StreamData > stream_data)=0
virtual Status Process (std::unique_ptr< StreamData > stream_data)=0
 
-virtual Status OnFlushRequest (size_t input_stream_index)
OnFlushRequest (size_t input_stream_index)
 Event handler for flush request at the specific input stream index.
 
virtual bool ValidateOutputStreamIndex (size_t stream_index) const
 Validate if the stream at the specified index actually exists.
 
Status Dispatch (std::unique_ptr< StreamData > stream_data)
Status Dispatch (std::unique_ptr< StreamData > stream_data)
 
-Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)
DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)
 Dispatch the period info to downstream handlers.
 
-Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
 Dispatch the stream info to downstream handlers.
 
-Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)
DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)
 Dispatch the media sample to downstream handlers.
 
-Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)
DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)
 Dispatch the text sample to downsream handlers.
 
-Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)
DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)
 Dispatch the media event to downstream handlers.
 
-Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)
DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)
 Dispatch the segment info to downstream handlers.
 
-Status FlushDownstream (size_t output_stream_index)
FlushDownstream (size_t output_stream_index)
 Flush the downstream connected at the specified output stream index.
 
-Status FlushAllDownstreams ()
FlushAllDownstreams ()
 Flush all connected downstreams.
 
@@ -207,7 +207,7 @@ std::pair< std::shared_ptr
- + @@ -231,7 +231,7 @@ std::pair< std::shared_ptr
Status shaka::media::MediaHandler::Dispatch Status shaka::media::MediaHandler::Dispatch ( std::unique_ptr< StreamData stream_data)
- + @@ -252,7 +252,7 @@ std::pair< std::shared_ptr
diff --git a/docs/db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html b/docs/db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html index e5f157d10f..5536e03a35 100644 --- a/docs/db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html +++ b/docs/db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html @@ -130,14 +130,14 @@ const std::vector
+Status  +Status  - + @@ -159,12 +159,12 @@ const - + - + +Status  @@ -172,38 +172,38 @@ base::Clock *  - + +Status  +Status  +Status  +Status  +Status  +Status  +Status  +Status 
Status shaka::media::MediaHandler::Initialize Status shaka::media::MediaHandler::Initialize ( ) - + @@ -278,7 +278,7 @@ std::pair< std::shared_ptr
virtual Status shaka::media::MediaHandler::InitializeInternal virtual Status shaka::media::MediaHandler::InitializeInternal ( ) - + @@ -304,7 +304,7 @@ std::pair< std::shared_ptr
diff --git a/docs/db/d02/structshaka_1_1media_1_1ChunkingOptions.html b/docs/db/d02/structshaka_1_1media_1_1ChunkingOptions.html index f0b52e63ad..60ef5a8347 100644 --- a/docs/db/d02/structshaka_1_1media_1_1ChunkingOptions.html +++ b/docs/db/d02/structshaka_1_1media_1_1ChunkingOptions.html @@ -162,7 +162,7 @@ double  diff --git a/docs/db/d14/classshaka_1_1media_1_1H265Parser-members.html b/docs/db/d14/classshaka_1_1media_1_1H265Parser-members.html index 7cbad0e5ac..17cb022dc2 100644 --- a/docs/db/d14/classshaka_1_1media_1_1H265Parser-members.html +++ b/docs/db/d14/classshaka_1_1media_1_1H265Parser-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual Status shaka::media::MediaHandler::Process virtual Status shaka::media::MediaHandler::Process ( std::unique_ptr< StreamData stream_data) diff --git a/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html b/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html index d5cbd6059e..3b7392300f 100644 --- a/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html +++ b/docs/db/d05/structshaka_1_1media_1_1H265SliceHeader.html @@ -236,7 +236,7 @@ std::vector< int > e diff --git a/docs/db/d0b/webvtt__sample__converter_8h_source.html b/docs/db/d0b/webvtt__sample__converter_8h_source.html index 3891b77bc3..23d4e75f76 100644 --- a/docs/db/d0b/webvtt__sample__converter_8h_source.html +++ b/docs/db/d0b/webvtt__sample__converter_8h_source.html @@ -99,10 +99,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include <stdint.h>
11 #include <list>
12 
-
13 #include "packager/media/base/status.h"
-
14 #include "packager/media/formats/mp4/box.h"
-
15 #include "packager/media/formats/mp4/box_definitions.h"
-
16 #include "packager/media/formats/webvtt/cue.h"
+
13 #include "packager/media/formats/mp4/box.h"
+
14 #include "packager/media/formats/mp4/box_definitions.h"
+
15 #include "packager/media/formats/webvtt/cue.h"
+
16 #include "packager/status.h"
17 
18 namespace shaka {
19 namespace media {
@@ -173,7 +173,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html b/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html index 4d0949790c..39722658fd 100644 --- a/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html +++ b/docs/db/d11/structshaka_1_1media_1_1mp4_1_1CodecConfiguration.html @@ -176,7 +176,7 @@ Additional Inherited Members
diff --git a/docs/db/d14/structshaka_1_1media_1_1H264WeightingFactors-members.html b/docs/db/d14/structshaka_1_1media_1_1H264WeightingFactors-members.html index 06345228e2..de8a9a5c40 100644 --- a/docs/db/d14/structshaka_1_1media_1_1H264WeightingFactors-members.html +++ b/docs/db/d14/structshaka_1_1media_1_1H264WeightingFactors-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/d1f/classshaka_1_1media_1_1TextSample.html b/docs/db/d1f/classshaka_1_1media_1_1TextSample.html index f8cecfa04e..5445ab59ed 100644 --- a/docs/db/d1f/classshaka_1_1media_1_1TextSample.html +++ b/docs/db/d1f/classshaka_1_1media_1_1TextSample.html @@ -137,7 +137,7 @@ void 
AppendPayload (co diff --git a/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html b/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html index 89a162bc79..571972c9bb 100644 --- a/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html +++ b/docs/db/d21/structshaka_1_1media_1_1mp4_1_1SubtitleMediaHeader.html @@ -175,7 +175,7 @@ uint32_t flags
 
- Public Member Functions inherited from shaka::media::MediaHandler
-Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)
 Connect downstream handler at the specified output stream index.
 
-Status AddHandler (std::shared_ptr< MediaHandler > handler)
AddHandler (std::shared_ptr< MediaHandler > handler)
 Connect downstream handler to the next availble output stream index.
 
Status Initialize ()
Status Initialize ()
 
bool IsConnected ()
base::Clock * clock ()
 
Status InitializeInternal () override
Status InitializeInternal () override
 
Status Process (std::unique_ptr< StreamData > stream_data) override
Status Process (std::unique_ptr< StreamData > stream_data) override
 
-Status OnFlushRequest (size_t input_stream_index) override
OnFlushRequest (size_t input_stream_index) override
 Event handler for flush request at the specific input stream index.
 
- Protected Member Functions inherited from shaka::media::MediaHandler
clock () virtual bool ValidateOutputStreamIndex (size_t stream_index) const
 Validate if the stream at the specified index actually exists.
 
Status Dispatch (std::unique_ptr< StreamData > stream_data)
Status Dispatch (std::unique_ptr< StreamData > stream_data)
 
-Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)
DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)
 Dispatch the period info to downstream handlers.
 
-Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)
 Dispatch the stream info to downstream handlers.
 
-Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)
DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)
 Dispatch the media sample to downstream handlers.
 
-Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)
DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)
 Dispatch the text sample to downsream handlers.
 
-Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)
DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)
 Dispatch the media event to downstream handlers.
 
-Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)
DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)
 Dispatch the segment info to downstream handlers.
 
-Status FlushDownstream (size_t output_stream_index)
FlushDownstream (size_t output_stream_index)
 Flush the downstream connected at the specified output stream index.
 
-Status FlushAllDownstreams ()
FlushAllDownstreams ()
 Flush all connected downstreams.
 
@@ -232,7 +232,7 @@ std::pair< std::shared_ptr
diff --git a/docs/db/d31/h26x__byte__to__unit__stream__converter_8h_source.html b/docs/db/d31/h26x__byte__to__unit__stream__converter_8h_source.html index 51d08ccc9b..bd2593586a 100644 --- a/docs/db/d31/h26x__byte__to__unit__stream__converter_8h_source.html +++ b/docs/db/d31/h26x__byte__to__unit__stream__converter_8h_source.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d31/track__run__iterator_8cc_source.html b/docs/db/d31/track__run__iterator_8cc_source.html index b78ed6a478..2770d026e0 100644 --- a/docs/db/d31/track__run__iterator_8cc_source.html +++ b/docs/db/d31/track__run__iterator_8cc_source.html @@ -775,7 +775,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d38/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html b/docs/db/d38/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html index 8f22f24523..d4f58ecca3 100644 --- a/docs/db/d38/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html +++ b/docs/db/d38/classshaka_1_1media_1_1mp2t_1_1PesPacketGenerator-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/d3b/classshaka_1_1media_1_1VideoSliceHeaderParser-members.html b/docs/db/d3b/classshaka_1_1media_1_1VideoSliceHeaderParser-members.html index 9126dca65c..898f66bcfa 100644 --- a/docs/db/d3b/classshaka_1_1media_1_1VideoSliceHeaderParser-members.html +++ b/docs/db/d3b/classshaka_1_1media_1_1VideoSliceHeaderParser-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/d45/mpd__notify__muxer__listener_8h_source.html b/docs/db/d45/mpd__notify__muxer__listener_8h_source.html index ec5386a394..64449ea4d7 100644 --- a/docs/db/d45/mpd__notify__muxer__listener_8h_source.html +++ b/docs/db/d45/mpd__notify__muxer__listener_8h_source.html @@ -189,7 +189,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d4b/classshaka_1_1MockAdaptationSet.html b/docs/db/d4b/classshaka_1_1MockAdaptationSet.html index dd78603c17..3e21e73df5 100644 --- a/docs/db/d4b/classshaka_1_1MockAdaptationSet.html +++ b/docs/db/d4b/classshaka_1_1MockAdaptationSet.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/db/d4e/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator.html b/docs/db/d4e/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator.html index b924883548..bcde58dc2e 100644 --- a/docs/db/d4e/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator.html +++ b/docs/db/d4e/classshaka_1_1media_1_1mp4_1_1CompositionOffsetIterator.html @@ -225,7 +225,7 @@ Public Member Functions diff --git a/docs/db/d51/mp2t__media__parser_8h_source.html b/docs/db/d51/mp2t__media__parser_8h_source.html index 7cef6c6103..a9d5ee8069 100644 --- a/docs/db/d51/mp2t__media__parser_8h_source.html +++ b/docs/db/d51/mp2t__media__parser_8h_source.html @@ -191,7 +191,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html b/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html index c73c0922c3..de4e3e9d4c 100644 --- a/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html +++ b/docs/db/d51/two__pass__single__segment__segmenter_8h_source.html @@ -99,9 +99,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include <memory>
11 #include <string>
12 
-
13 #include "packager/media/base/status.h"
-
14 #include "packager/media/formats/webm/mkv_writer.h"
-
15 #include "packager/media/formats/webm/single_segment_segmenter.h"
+
13 #include "packager/media/formats/webm/mkv_writer.h"
+
14 #include "packager/media/formats/webm/single_segment_segmenter.h"
+
15 #include "packager/status.h"
16 
17 namespace shaka {
18 namespace media {
@@ -116,8 +116,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
30 
31  // Segmenter implementation overrides.
-
32  Status DoInitialize() override;
-
33  Status DoFinalize() override;
+
32  Status DoInitialize() override;
+
33  Status DoFinalize() override;
34 
35  private:
40  bool CopyFileWithClusterRewrite(File* source,
@@ -138,12 +138,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Define an abstract file interface.
Definition: file.h:24
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
An implementation of IMkvWriter using our File type.
Definition: mkv_writer.h:21
- diff --git a/docs/db/d59/media__handler__test__base_8h_source.html b/docs/db/d59/media__handler__test__base_8h_source.html index 57598d56b7..95249b3536 100644 --- a/docs/db/d59/media__handler__test__base_8h_source.html +++ b/docs/db/d59/media__handler__test__base_8h_source.html @@ -172,9 +172,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
83  void clear_stream_data_vector() { stream_data_vector_.clear(); }
84 
85  protected:
-
86  Status InitializeInternal() override;
-
87  Status Process(std::unique_ptr<StreamData> stream_data) override;
-
88  Status OnFlushRequest(size_t input_stream_index) override;
+
86  Status InitializeInternal() override;
+
87  Status Process(std::unique_ptr<StreamData> stream_data) override;
+
88  Status OnFlushRequest(size_t input_stream_index) override;
89  bool ValidateOutputStreamIndex(size_t stream_index) const override;
90 
91  std::vector<std::unique_ptr<StreamData>> stream_data_vector_;
@@ -250,7 +250,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status OnFlushRequest(size_t input_stream_index) override
Event handler for flush request at the specific input stream index.
-
Status Process(std::unique_ptr< StreamData > stream_data) override
std::unique_ptr< StreamData > GetSegmentInfoStreamData(int stream_index, int64_t start_timestamp, int64_t duration, bool is_subsegment)
bool ValidateOutputStreamIndex(size_t stream_index) const override
Validate if the stream at the specified index actually exists.
@@ -260,7 +259,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html b/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html index 0c0a73a1ec..ffbaf5ff55 100644 --- a/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html +++ b/docs/db/d5a/classshaka_1_1media_1_1VP9Parser.html @@ -238,7 +238,7 @@ Additional Inherited Members diff --git a/docs/db/d60/mpd__options_8h_source.html b/docs/db/d60/mpd__options_8h_source.html index 204ed20019..143af44f00 100644 --- a/docs/db/d60/mpd__options_8h_source.html +++ b/docs/db/d60/mpd__options_8h_source.html @@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d64/webvtt__media__parser_8h_source.html b/docs/db/d64/webvtt__media__parser_8h_source.html index 51a31efc14..501ad6a13e 100644 --- a/docs/db/d64/webvtt__media__parser_8h_source.html +++ b/docs/db/d64/webvtt__media__parser_8h_source.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d66/structshaka_1_1media_1_1mp4_1_1SegmentType-members.html b/docs/db/d66/structshaka_1_1media_1_1mp4_1_1SegmentType-members.html index 20f8bec950..fb232805f7 100644 --- a/docs/db/d66/structshaka_1_1media_1_1mp4_1_1SegmentType-members.html +++ b/docs/db/d66/structshaka_1_1media_1_1mp4_1_1SegmentType-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d66/udp__file_8cc_source.html b/docs/db/d66/udp__file_8cc_source.html index 4229de28ca..59b668555a 100644 --- a/docs/db/d66/udp__file_8cc_source.html +++ b/docs/db/d66/udp__file_8cc_source.html @@ -343,7 +343,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d71/http__key__fetcher_8h_source.html b/docs/db/d71/http__key__fetcher_8h_source.html index 114d41dac8..08cdf1da94 100644 --- a/docs/db/d71/http__key__fetcher_8h_source.html +++ b/docs/db/d71/http__key__fetcher_8h_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
13 
14 #include "packager/base/compiler_specific.h"
15 #include "packager/media/base/key_fetcher.h"
-
16 #include "packager/media/base/status.h"
+
16 #include "packager/status.h"
17 
18 namespace shaka {
19 namespace media {
@@ -110,13 +110,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
32  HttpKeyFetcher(uint32_t timeout_in_seconds);
33  ~HttpKeyFetcher() override;
34 
-
36  Status FetchKeys(const std::string& url,
+
36  Status FetchKeys(const std::string& url,
37  const std::string& request,
38  std::string* response) override;
39 
-
45  virtual Status Get(const std::string& url, std::string* response);
+
45  virtual Status Get(const std::string& url, std::string* response);
46 
-
52  virtual Status Post(const std::string& url,
+
52  virtual Status Post(const std::string& url,
53  const std::string& data,
54  std::string* response);
55 
@@ -160,14 +160,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual Status Get(const std::string &url, std::string *response)
Base class for fetching keys from the license service.
Definition: key_fetcher.h:17
void SetClientCertInfo(const std::string &cert_file, const std::string &private_key_file, const std::string &private_key_password)
-
Status FetchKeys(const std::string &url, const std::string &request, std::string *response) override
HttpKeyFetcher()
Creates a fetcher with no timeout.
virtual Status Post(const std::string &url, const std::string &data, std::string *response)
diff --git a/docs/db/d74/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord-members.html b/docs/db/d74/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord-members.html index e3f4d0e973..ff02ab02e3 100644 --- a/docs/db/d74/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord-members.html +++ b/docs/db/d74/classshaka_1_1media_1_1HEVCDecoderConfigurationRecord-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d75/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html b/docs/db/d75/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html index 8c73853c7c..824e1f2828 100644 --- a/docs/db/d75/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html +++ b/docs/db/d75/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter-members.html @@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d78/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter-members.html b/docs/db/d78/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter-members.html index ac8bd0071f..bef668049a 100644 --- a/docs/db/d78/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter-members.html +++ b/docs/db/d78/classshaka_1_1media_1_1mp2t_1_1ContinuityCounter-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d7e/muxer__options_8cc_source.html b/docs/db/d7e/muxer__options_8cc_source.html index ed65dbb258..0159bd4bf3 100644 --- a/docs/db/d7e/muxer__options_8cc_source.html +++ b/docs/db/d7e/muxer__options_8cc_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html b/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html index e6dccb2973..b122d241c7 100644 --- a/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html +++ b/docs/db/d84/classshaka_1_1media_1_1AACAudioSpecificConfig-members.html @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d86/classshaka_1_1media_1_1NaluReader.html b/docs/db/d86/classshaka_1_1media_1_1NaluReader.html index 37c650fd74..8d0fcb1b66 100644 --- a/docs/db/d86/classshaka_1_1media_1_1NaluReader.html +++ b/docs/db/d86/classshaka_1_1media_1_1NaluReader.html @@ -350,7 +350,7 @@ static bool FindStartCode< diff --git a/docs/db/d8f/mp4__muxer_8h_source.html b/docs/db/d8f/mp4__muxer_8h_source.html index 2f035b19c4..b6d6a8362a 100644 --- a/docs/db/d8f/mp4__muxer_8h_source.html +++ b/docs/db/d8f/mp4__muxer_8h_source.html @@ -122,11 +122,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
36 
37  private:
38  // Muxer implementation overrides.
-
39  Status InitializeMuxer() override;
-
40  Status Finalize() override;
-
41  Status AddSample(size_t stream_id,
+
39  Status InitializeMuxer() override;
+
40  Status Finalize() override;
+
41  Status AddSample(size_t stream_id,
42  std::shared_ptr<MediaSample> sample) override;
-
43  Status FinalizeSegment(size_t stream_id,
+
43  Status FinalizeSegment(size_t stream_id,
44  std::shared_ptr<SegmentInfo> segment_info) override;
45 
46  // Generate Audio/Video Track box.
@@ -171,7 +171,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
-
Holds video stream information.
@@ -179,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html b/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html index f0bedcae25..e1dcf12c7f 100644 --- a/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html +++ b/docs/db/d94/classshaka_1_1media_1_1ClusterBuilder.html @@ -125,7 +125,7 @@ std::unique_ptr< diff --git a/docs/db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html b/docs/db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html index 804df71aaa..432ad092c2 100644 --- a/docs/db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html +++ b/docs/db/d95/classshaka_1_1media_1_1mp4_1_1Fragmenter.html @@ -101,12 +101,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); Public Member Functions  Fragmenter (std::shared_ptr< StreamInfo > info, TrackFragment *traf)   -Status AddSample (std::shared_ptr< MediaSample > sample) +Status AddSample (std::shared_ptr< MediaSample > sample)   -Status InitializeFragment (int64_t first_sample_dts) +Status InitializeFragment (int64_t first_sample_dts)   -Status FinalizeFragment () +Status FinalizeFragment ()  Finalize and optimize the fragment.
  @@ -192,7 +192,7 @@ Protected Member Functions
- + @@ -218,7 +218,7 @@ Protected Member Functions
Status shaka::media::mp4::Fragmenter::AddSample Status shaka::media::mp4::Fragmenter::AddSample ( std::shared_ptr< MediaSample sample)
- + @@ -312,7 +312,7 @@ template<typename T > diff --git a/docs/db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html b/docs/db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html index 9addb002c2..bee3b9d66c 100644 --- a/docs/db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html +++ b/docs/db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/db/d96/wvm__media__parser_8h_source.html b/docs/db/d96/wvm__media__parser_8h_source.html index 89e3eeaa5f..3c47d0e1dd 100644 --- a/docs/db/d96/wvm__media__parser_8h_source.html +++ b/docs/db/d96/wvm__media__parser_8h_source.html @@ -362,7 +362,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/da4/classBandwidthEstimator-members.html b/docs/db/da4/classBandwidthEstimator-members.html index 7b1145e95b..ff6c0365fc 100644 --- a/docs/db/da4/classBandwidthEstimator-members.html +++ b/docs/db/da4/classBandwidthEstimator-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::mp4::Fragmenter::InitializeFragment Status shaka::media::mp4::Fragmenter::InitializeFragment ( int64_t  first_sample_dts)
diff --git a/docs/db/da6/memory__file_8h_source.html b/docs/db/da6/memory__file_8h_source.html index 24719867f9..e508035daa 100644 --- a/docs/db/da6/memory__file_8h_source.html +++ b/docs/db/da6/memory__file_8h_source.html @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/da9/classshaka_1_1media_1_1WebVttSampleConverter-members.html b/docs/db/da9/classshaka_1_1media_1_1WebVttSampleConverter-members.html index 5c7de87509..97a22eb958 100644 --- a/docs/db/da9/classshaka_1_1media_1_1WebVttSampleConverter-members.html +++ b/docs/db/da9/classshaka_1_1media_1_1WebVttSampleConverter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html b/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html index e7d8790457..248ec7d2ab 100644 --- a/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html +++ b/docs/db/dab/classshaka_1_1media_1_1TextStreamInfo.html @@ -304,7 +304,7 @@ void set_encryption_config diff --git a/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html b/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html index c41fd57ee6..62884316f6 100644 --- a/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html +++ b/docs/db/dae/classshaka_1_1media_1_1WebMInfoParser.html @@ -175,7 +175,7 @@ The number of bytes parsed on success. diff --git a/docs/db/dae/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader-members.html b/docs/db/dae/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader-members.html index 9597e59ba7..6ee11ec32e 100644 --- a/docs/db/dae/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader-members.html +++ b/docs/db/dae/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/db1/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html b/docs/db/db1/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html index 23a033e083..989f61801d 100644 --- a/docs/db/db1/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html +++ b/docs/db/db1/structshaka_1_1media_1_1mp4_1_1CencSampleEncryptionInfoEntry-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html b/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html index b5774d37d2..61f8f3cc13 100644 --- a/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html +++ b/docs/db/db8/structshaka_1_1media_1_1OnMediaEndParameters.html @@ -130,7 +130,7 @@ uint64_t file_size diff --git a/docs/db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html b/docs/db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html index b08618d97d..e884cb1811 100644 --- a/docs/db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html +++ b/docs/db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html @@ -197,7 +197,7 @@ Additional Inherited Members diff --git a/docs/db/dcb/classshaka_1_1media_1_1VPxParser.html b/docs/db/dcb/classshaka_1_1media_1_1VPxParser.html index 9cc37ba4b2..3057ebae53 100644 --- a/docs/db/dcb/classshaka_1_1media_1_1VPxParser.html +++ b/docs/db/dcb/classshaka_1_1media_1_1VPxParser.html @@ -205,7 +205,7 @@ Protected Member Functions diff --git a/docs/db/dcd/classshaka_1_1MpdWriter.html b/docs/db/dcd/classshaka_1_1MpdWriter.html index 797bfeb468..fba62f7fbe 100644 --- a/docs/db/dcd/classshaka_1_1MpdWriter.html +++ b/docs/db/dcd/classshaka_1_1MpdWriter.html @@ -123,7 +123,7 @@ class MpdWriterTest diff --git a/docs/db/dcd/structshaka_1_1media_1_1mp4_1_1DTSSpecific-members.html b/docs/db/dcd/structshaka_1_1media_1_1mp4_1_1DTSSpecific-members.html index 62fb90cc43..45888cd86b 100644 --- a/docs/db/dcd/structshaka_1_1media_1_1mp4_1_1DTSSpecific-members.html +++ b/docs/db/dcd/structshaka_1_1media_1_1mp4_1_1DTSSpecific-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html b/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html index b0cd89d14d..8a61897961 100644 --- a/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html +++ b/docs/db/dd0/classshaka_1_1media_1_1VodMediaInfoDumpMuxerListener.html @@ -531,7 +531,7 @@ Additional Inherited Members diff --git a/docs/db/dd2/chunk__info__iterator_8h_source.html b/docs/db/dd2/chunk__info__iterator_8h_source.html index d8653f4c93..68197c4aa2 100644 --- a/docs/db/dd2/chunk__info__iterator_8h_source.html +++ b/docs/db/dd2/chunk__info__iterator_8h_source.html @@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dd9/sync__sample__iterator_8h_source.html b/docs/db/dd9/sync__sample__iterator_8h_source.html index 071eaccd51..7c91c66109 100644 --- a/docs/db/dd9/sync__sample__iterator_8h_source.html +++ b/docs/db/dd9/sync__sample__iterator_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dde/h265__parser_8cc_source.html b/docs/db/dde/h265__parser_8cc_source.html index ed9b2e2bab..c50f3cc96b 100644 --- a/docs/db/dde/h265__parser_8cc_source.html +++ b/docs/db/dde/h265__parser_8cc_source.html @@ -1213,7 +1213,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dea/classshaka_1_1media_1_1TrickPlayHandler.html b/docs/db/dea/classshaka_1_1media_1_1TrickPlayHandler.html index 623a36cacb..375ca5dccb 100644 --- a/docs/db/dea/classshaka_1_1media_1_1TrickPlayHandler.html +++ b/docs/db/dea/classshaka_1_1media_1_1TrickPlayHandler.html @@ -116,14 +116,14 @@ void SetHandlerForTrickPla   - Public Member Functions inherited from shaka::media::MediaHandler -Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler) +Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)  Connect downstream handler at the specified output stream index.
  -Status AddHandler (std::shared_ptr< MediaHandler > handler) +Status AddHandler (std::shared_ptr< MediaHandler > handler)  Connect downstream handler to the next availble output stream index.
  -Status Initialize () +Status Initialize ()   bool IsConnected () @@ -133,51 +133,51 @@ bool 

Protected Member Functions

MediaHandler implementation overrides.
-Status InitializeInternal () override +Status InitializeInternal () override   -Status Process (std::unique_ptr< StreamData > stream_data) override +Status Process (std::unique_ptr< StreamData > stream_data) override   bool ValidateOutputStreamIndex (size_t stream_index) const override  Validate if the stream at the specified index actually exists.
  -Status OnFlushRequest (size_t input_stream_index) override +Status OnFlushRequest (size_t input_stream_index) override  Event handler for flush request at the specific input stream index.
  - Protected Member Functions inherited from shaka::media::MediaHandler -Status Dispatch (std::unique_ptr< StreamData > stream_data) +Status Dispatch (std::unique_ptr< StreamData > stream_data)   -Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info) +Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)  Dispatch the period info to downstream handlers.
  -Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info) +Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)  Dispatch the stream info to downstream handlers.
  -Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample) +Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)  Dispatch the media sample to downstream handlers.
  -Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample) +Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)  Dispatch the text sample to downsream handlers.
  -Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event) +Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)  Dispatch the media event to downstream handlers.
  -Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info) +Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)  Dispatch the segment info to downstream handlers.
  -Status FlushDownstream (size_t output_stream_index) +Status FlushDownstream (size_t output_stream_index)  Flush the downstream connected at the specified output stream index.
  -Status FlushAllDownstreams () +Status FlushAllDownstreams ()  Flush all connected downstreams.
  @@ -214,7 +214,7 @@ class TrickPlayHandlerTest - + @@ -242,7 +242,7 @@ class 
Status shaka::media::TrickPlayHandler::InitializeInternal Status shaka::media::TrickPlayHandler::InitializeInternal ( ) TrickPlayHandlerTest - + @@ -270,7 +270,7 @@ class 
Status shaka::media::TrickPlayHandler::Process Status shaka::media::TrickPlayHandler::Process ( std::unique_ptr< StreamData stream_data)TrickPlayHandlerTest diff --git a/docs/db/dec/audio__timestamp__helper_8cc_source.html b/docs/db/dec/audio__timestamp__helper_8cc_source.html index 70e2d2f752..9c5c269dfa 100644 --- a/docs/db/dec/audio__timestamp__helper_8cc_source.html +++ b/docs/db/dec/audio__timestamp__helper_8cc_source.html @@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dee/pes__packet_8cc_source.html b/docs/db/dee/pes__packet_8cc_source.html index 274653fc99..bfa984505b 100644 --- a/docs/db/dee/pes__packet_8cc_source.html +++ b/docs/db/dee/pes__packet_8cc_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/df2/structshaka_1_1media_1_1H265SliceHeader-members.html b/docs/db/df2/structshaka_1_1media_1_1H265SliceHeader-members.html index e09650cb00..b4e49d6cd6 100644 --- a/docs/db/df2/structshaka_1_1media_1_1H265SliceHeader-members.html +++ b/docs/db/df2/structshaka_1_1media_1_1H265SliceHeader-members.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html b/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html index 7820658c65..efd7596817 100644 --- a/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html +++ b/docs/db/df6/classshaka_1_1media_1_1Cluster-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/db/df6/muxer_8h_source.html b/docs/db/df6/muxer_8h_source.html index 8e4927d825..2115628aa1 100644 --- a/docs/db/df6/muxer_8h_source.html +++ b/docs/db/df6/muxer_8h_source.html @@ -104,9 +104,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
15 #include "packager/base/time/clock.h"
16 #include "packager/media/base/media_handler.h"
17 #include "packager/media/base/muxer_options.h"
-
18 #include "packager/media/base/status.h"
-
19 #include "packager/media/event/muxer_listener.h"
-
20 #include "packager/media/event/progress_listener.h"
+
18 #include "packager/media/event/muxer_listener.h"
+
19 #include "packager/media/event/progress_listener.h"
+
20 #include "packager/status.h"
21 
22 namespace shaka {
23 namespace media {
@@ -133,9 +133,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
59  }
60 
61  protected:
-
64  Status InitializeInternal() override { return Status::OK; }
-
65  Status Process(std::unique_ptr<StreamData> stream_data) override;
-
66  Status OnFlushRequest(size_t input_stream_index) override { return Finalize(); }
+
64  Status InitializeInternal() override { return Status::OK; }
+
65  Status Process(std::unique_ptr<StreamData> stream_data) override;
+
66  Status OnFlushRequest(size_t input_stream_index) override { return Finalize(); }
68 
69  const MuxerOptions& options() const { return options_; }
70  MuxerListener* muxer_listener() { return muxer_listener_.get(); }
@@ -182,14 +182,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void SetProgressListener(std::unique_ptr< ProgressListener > progress_listener)
Definition: muxer.cc:32
Status InitializeInternal() override
Definition: muxer.h:64
-
Status Process(std::unique_ptr< StreamData > stream_data) override
Definition: muxer.cc:37
void set_clock(base::Clock *clock)
Definition: muxer.h:57
void SetMuxerListener(std::unique_ptr< MuxerListener > muxer_listener)
Definition: muxer.cc:28
diff --git a/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html b/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html index b7dd9350f2..212dcbab79 100644 --- a/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html +++ b/docs/db/df8/classshaka_1_1media_1_1H265ByteToUnitStreamConverter.html @@ -233,7 +233,7 @@ void WarnIfNotMatch (i diff --git a/docs/db/dfb/mpd__utils_8cc_source.html b/docs/db/dfb/mpd__utils_8cc_source.html index bb934774df..1677b22fda 100644 --- a/docs/db/dfb/mpd__utils_8cc_source.html +++ b/docs/db/dfb/mpd__utils_8cc_source.html @@ -462,7 +462,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html b/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html index c82e114918..beca93dcba 100644 --- a/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html +++ b/docs/db/dfc/mpd__notify__muxer__listener_8cc_source.html @@ -280,7 +280,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/db/dff/structshaka_1_1media_1_1mp4_1_1ChunkInfo-members.html b/docs/db/dff/structshaka_1_1media_1_1mp4_1_1ChunkInfo-members.html index 0aac5531c6..b9471fe29a 100644 --- a/docs/db/dff/structshaka_1_1media_1_1mp4_1_1ChunkInfo-members.html +++ b/docs/db/dff/structshaka_1_1media_1_1mp4_1_1ChunkInfo-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html b/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html index 898bcdd38b..2d737cab5f 100644 --- a/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html +++ b/docs/dc/d02/classshaka_1_1media_1_1IoCache-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html b/docs/dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html index e884e78045..5fd4194996 100644 --- a/docs/dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html +++ b/docs/dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html @@ -138,7 +138,7 @@ static const uint8_t kElem diff --git a/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html b/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html index f7765392ae..6f12eb5983 100644 --- a/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html +++ b/docs/dc/d06/classshaka_1_1media_1_1StreamInfo-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d0b/classshaka_1_1media_1_1ESDescriptor-members.html b/docs/dc/d0b/classshaka_1_1media_1_1ESDescriptor-members.html index b235678016..832d09d936 100644 --- a/docs/dc/d0b/classshaka_1_1media_1_1ESDescriptor-members.html +++ b/docs/dc/d0b/classshaka_1_1media_1_1ESDescriptor-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html b/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html index efac42ad04..5d27d8bfec 100644 --- a/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html +++ b/docs/dc/d16/classshaka_1_1media_1_1SeekHead.html @@ -149,7 +149,7 @@ void set_tracks_pos (u diff --git a/docs/dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html b/docs/dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html index 9cf0b598b5..5a671fadfd 100644 --- a/docs/dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html +++ b/docs/dc/d18/classshaka_1_1media_1_1wvm_1_1WvmMediaParser.html @@ -257,7 +257,7 @@ std::shared_ptr< diff --git a/docs/dc/d18/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html b/docs/dc/d18/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html index df997519c1..0051087942 100644 --- a/docs/dc/d18/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html +++ b/docs/dc/d18/structshaka_1_1media_1_1mp4_1_1ProtectionSchemeInfo-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d19/box_8h_source.html b/docs/dc/d19/box_8h_source.html index 355ad649ff..3e7dd8dbde 100644 --- a/docs/dc/d19/box_8h_source.html +++ b/docs/dc/d19/box_8h_source.html @@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html b/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html index 2dbe2757a6..95ea682ea5 100644 --- a/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html +++ b/docs/dc/d22/dash__iop__mpd__notifier_8cc_source.html @@ -425,7 +425,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html b/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html index 96897ee32d..7d29dc90e7 100644 --- a/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html +++ b/docs/dc/d3b/fixed__key__encryption__flags_8cc_source.html @@ -165,7 +165,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d3c/webm__cluster__parser_8h_source.html b/docs/dc/d3c/webm__cluster__parser_8h_source.html index 88764993e3..6f7050e188 100644 --- a/docs/dc/d3c/webm__cluster__parser_8h_source.html +++ b/docs/dc/d3c/webm__cluster__parser_8h_source.html @@ -304,7 +304,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d3f/key__source_8h_source.html b/docs/dc/d3f/key__source_8h_source.html index a2208cd750..9964c75c73 100644 --- a/docs/dc/d3f/key__source_8h_source.html +++ b/docs/dc/d3f/key__source_8h_source.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
11 #include <vector>
12 
13 #include "packager/media/base/protection_system_specific_info.h"
-
14 #include "packager/media/base/status.h"
+
14 #include "packager/status.h"
15 
16 namespace shaka {
17 namespace media {
@@ -129,16 +129,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
47  KeySource();
48  virtual ~KeySource();
49 
-
54  virtual Status FetchKeys(EmeInitDataType init_data_type,
+
54  virtual Status FetchKeys(EmeInitDataType init_data_type,
55  const std::vector<uint8_t>& init_data) = 0;
56 
-
62  virtual Status GetKey(const std::string& stream_label,
+
62  virtual Status GetKey(const std::string& stream_label,
63  EncryptionKey* key) = 0;
64 
-
70  virtual Status GetKey(const std::vector<uint8_t>& key_id,
+
70  virtual Status GetKey(const std::vector<uint8_t>& key_id,
71  EncryptionKey* key) = 0;
72 
-
80  virtual Status GetCryptoPeriodKey(uint32_t crypto_period_index,
+
80  virtual Status GetCryptoPeriodKey(uint32_t crypto_period_index,
81  const std::string& stream_label,
82  EncryptionKey* key) = 0;
83 
@@ -154,12 +154,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual Status GetKey(const std::string &stream_label, EncryptionKey *key)=0
virtual Status FetchKeys(EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data)=0
-
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:45
diff --git a/docs/dc/d40/classshaka_1_1xml_1_1XmlNode-members.html b/docs/dc/d40/classshaka_1_1xml_1_1XmlNode-members.html index 233315c34f..c19fb323a9 100644 --- a/docs/dc/d40/classshaka_1_1xml_1_1XmlNode-members.html +++ b/docs/dc/d40/classshaka_1_1xml_1_1XmlNode-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html b/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html index 8e9a7e8b49..c444eb2647 100644 --- a/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html +++ b/docs/dc/d41/classshaka_1_1media_1_1BufferWriter.html @@ -125,7 +125,7 @@ size_t Size () const <   const uint8_t * Buffer () const   -Status WriteToFile (File *file) +Status WriteToFile (File *file)  
void AppendInt (uint8_t v) @@ -273,7 +273,7 @@ void AppendInt (int64_
- + @@ -301,7 +301,7 @@ void 
Status shaka::media::BufferWriter::WriteToFile Status shaka::media::BufferWriter::WriteToFile ( File file)AppendInt (int64_ diff --git a/docs/dc/d4a/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html b/docs/dc/d4a/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html index ca4f6c4ac1..7d6c5e02f4 100644 --- a/docs/dc/d4a/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html +++ b/docs/dc/d4a/structshaka_1_1media_1_1mp4_1_1ProtectionSystemSpecificHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dc/d4f/structshaka_1_1media_1_1mp4_1_1TrackHeader-members.html b/docs/dc/d4f/structshaka_1_1media_1_1mp4_1_1TrackHeader-members.html index 805a96aa38..66adad8751 100644 --- a/docs/dc/d4f/structshaka_1_1media_1_1mp4_1_1TrackHeader-members.html +++ b/docs/dc/d4f/structshaka_1_1media_1_1mp4_1_1TrackHeader-members.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d51/h265__byte__to__unit__stream__converter_8cc_source.html b/docs/dc/d51/h265__byte__to__unit__stream__converter_8cc_source.html index 2fe68dbcdc..d87220fbf4 100644 --- a/docs/dc/d51/h265__byte__to__unit__stream__converter_8cc_source.html +++ b/docs/dc/d51/h265__byte__to__unit__stream__converter_8cc_source.html @@ -239,7 +239,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d52/decoding__time__iterator_8h_source.html b/docs/dc/d52/decoding__time__iterator_8h_source.html index c1509e2998..36f8ec30a3 100644 --- a/docs/dc/d52/decoding__time__iterator_8h_source.html +++ b/docs/dc/d52/decoding__time__iterator_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d53/webm_2segmenter_8cc_source.html b/docs/dc/d53/webm_2segmenter_8cc_source.html index 118ae3ca62..5124840098 100644 --- a/docs/dc/d53/webm_2segmenter_8cc_source.html +++ b/docs/dc/d53/webm_2segmenter_8cc_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
75 
76 Segmenter::~Segmenter() {}
77 
- +
79  ProgressListener* progress_listener,
80  MuxerListener* muxer_listener) {
81  muxer_listener_ = muxer_listener;
@@ -194,7 +194,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
105  // The seed is only used to create a UID which we overwrite later.
106  unsigned int seed = 0;
107  std::unique_ptr<mkvmuxer::Track> track;
-
108  Status status;
+
108  Status status;
109  switch (info_->stream_type()) {
110  case kStreamVideo: {
111  std::unique_ptr<VideoTrack> video_track(new VideoTrack(&seed));
@@ -213,14 +213,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
124  default:
125  NOTIMPLEMENTED() << "Not implemented for stream type: "
126  << info_->stream_type();
-
127  status = Status(error::UNIMPLEMENTED, "Not implemented for stream type");
+
127  status = Status(error::UNIMPLEMENTED, "Not implemented for stream type");
128  }
129  if (!status.ok())
130  return status;
131 
132  if (info_->is_encrypted()) {
133  if (info->encryption_config().per_sample_iv_size != kWebMIvSize)
-
134  return Status(error::MUXER_FAILURE, "Incorrect size WebM encryption IV.");
+
134  return Status(error::MUXER_FAILURE, "Incorrect size WebM encryption IV.");
135  status = UpdateTrackForEncryption(info_->encryption_config().key_id,
136  track.get());
137  if (!status.ok())
@@ -235,14 +235,14 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
146  return DoInitialize();
147 }
148 
- +
150  uint64_t duration =
151  prev_sample_->pts() - first_timestamp_ + prev_sample_->duration();
152  segment_info_.set_duration(FromBmffTimestamp(duration));
153  return DoFinalize();
154 }
155 
-
156 Status Segmenter::AddSample(std::shared_ptr<MediaSample> sample) {
+
156 Status Segmenter::AddSample(std::shared_ptr<MediaSample> sample) {
157  if (sample_duration_ == 0) {
158  first_timestamp_ = sample->pts();
159  sample_duration_ = sample->duration();
@@ -258,7 +258,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
169  // This first block determines if this is a new Cluster and writes the
170  // previous frame first before creating the new Cluster.
171 
-
172  Status status;
+
172  Status status;
173  if (new_segment_ || new_subsegment_) {
174  status = NewSegment(sample->pts(), new_subsegment_);
175  } else {
@@ -276,7 +276,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
187  return Status::OK;
188 }
189 
-
190 Status Segmenter::FinalizeSegment(uint64_t start_timestamp,
+
190 Status Segmenter::FinalizeSegment(uint64_t start_timestamp,
191  uint64_t duration_timestamp,
192  bool is_subsegment) {
193  if (is_subsegment)
@@ -304,8 +304,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
215  info_->time_scale());
216 }
217 
-
218 Status Segmenter::WriteSegmentHeader(uint64_t file_size, MkvWriter* writer) {
-
219  Status error_status(error::FILE_FAILURE, "Error writing segment header.");
+
218 Status Segmenter::WriteSegmentHeader(uint64_t file_size, MkvWriter* writer) {
+
219  Status error_status(error::FILE_FAILURE, "Error writing segment header.");
220 
221  if (!WriteEbmlHeader(writer))
222  return error_status;
@@ -342,7 +342,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
253  return Status::OK;
254 }
255 
-
256 Status Segmenter::SetCluster(uint64_t start_webm_timecode,
+
256 Status Segmenter::SetCluster(uint64_t start_webm_timecode,
257  uint64_t position,
258  MkvWriter* writer) {
259  const uint64_t scale = segment_info_.timecode_scale();
@@ -366,7 +366,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
277  }
278 }
279 
-
280 Status Segmenter::InitializeVideoTrack(const VideoStreamInfo* info,
+
280 Status Segmenter::InitializeVideoTrack(const VideoStreamInfo* info,
281  VideoTrack* track) {
282  if (info->codec() == kCodecVP8) {
283  track->set_codec_id(mkvmuxer::Tracks::kVp8CodecId);
@@ -377,7 +377,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
288  // need to convert it to the WebM format.
289  VPCodecConfigurationRecord vp_config;
290  if (!vp_config.ParseMP4(info->codec_config())) {
-
291  return Status(error::INTERNAL_ERROR,
+
291  return Status(error::INTERNAL_ERROR,
292  "Unable to parse VP9 codec configuration");
293  }
294 
@@ -531,14 +531,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual void OnProgress(double progress)=0
-
Status FinalizeSegment(size_t stream_id, std::shared_ptr< SegmentInfo > segment_info)
Definition: segmenter.cc:140
Holds video stream information.
diff --git a/docs/dc/d54/structshaka_1_1media_1_1H264DecRefPicMarking.html b/docs/dc/d54/structshaka_1_1media_1_1H264DecRefPicMarking.html index 651fc0ede1..c5d56b0cb5 100644 --- a/docs/dc/d54/structshaka_1_1media_1_1H264DecRefPicMarking.html +++ b/docs/dc/d54/structshaka_1_1media_1_1H264DecRefPicMarking.html @@ -121,7 +121,7 @@ int max_long_term_frame_id diff --git a/docs/dc/d58/webm__media__parser_8h_source.html b/docs/dc/d58/webm__media__parser_8h_source.html index eb0987395d..ec6dca94e8 100644 --- a/docs/dc/d58/webm__media__parser_8h_source.html +++ b/docs/dc/d58/webm__media__parser_8h_source.html @@ -178,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html b/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html index f69a353007..f6b74480bd 100644 --- a/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html +++ b/docs/dc/d5c/classshaka_1_1MockMpdNotifier.html @@ -162,7 +162,7 @@ Public Member Functions diff --git a/docs/dc/d69/structshaka_1_1media_1_1mp4_1_1CueSettingsBox-members.html b/docs/dc/d69/structshaka_1_1media_1_1mp4_1_1CueSettingsBox-members.html index 5069d588ab..e15328cbaa 100644 --- a/docs/dc/d69/structshaka_1_1media_1_1mp4_1_1CueSettingsBox-members.html +++ b/docs/dc/d69/structshaka_1_1media_1_1mp4_1_1CueSettingsBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d6f/classshaka_1_1media_1_1webm_1_1Segmenter-members.html b/docs/dc/d6f/classshaka_1_1media_1_1webm_1_1Segmenter-members.html index 93e45a33f9..8948e20a85 100644 --- a/docs/dc/d6f/classshaka_1_1media_1_1webm_1_1Segmenter-members.html +++ b/docs/dc/d6f/classshaka_1_1media_1_1webm_1_1Segmenter-members.html @@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d71/classshaka_1_1media_1_1mp2t_1_1TsSection-members.html b/docs/dc/d71/classshaka_1_1media_1_1mp2t_1_1TsSection-members.html index c6a5c56e77..314a380518 100644 --- a/docs/dc/d71/classshaka_1_1media_1_1mp2t_1_1TsSection-members.html +++ b/docs/dc/d71/classshaka_1_1media_1_1mp2t_1_1TsSection-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html b/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html index a3cd41b657..d52c286631 100644 --- a/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html +++ b/docs/dc/d73/classshaka_1_1media_1_1MockMuxerListener.html @@ -157,7 +157,7 @@ Additional Inherited Members diff --git a/docs/dc/d7b/closure__thread_8cc_source.html b/docs/dc/d7b/closure__thread_8cc_source.html index c5618d63e9..150fdb94bf 100644 --- a/docs/dc/d7b/closure__thread_8cc_source.html +++ b/docs/dc/d7b/closure__thread_8cc_source.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d7b/h264__parser_8cc_source.html b/docs/dc/d7b/h264__parser_8cc_source.html index da67eea19c..eb07c79942 100644 --- a/docs/dc/d7b/h264__parser_8cc_source.html +++ b/docs/dc/d7b/h264__parser_8cc_source.html @@ -1256,7 +1256,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d86/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html b/docs/dc/d86/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html index 16ea1d3a13..c13fba212e 100644 --- a/docs/dc/d86/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html +++ b/docs/dc/d86/structshaka_1_1media_1_1mp4_1_1ElementaryStreamDescriptor-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/d8f/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader.html b/docs/dc/d8f/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader.html index 5bed924822..8c99b720e2 100644 --- a/docs/dc/d8f/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader.html +++ b/docs/dc/d8f/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html b/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html index 3439c0e048..a06838d8c8 100644 --- a/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html +++ b/docs/dc/da0/structshaka_1_1media_1_1mp4_1_1DTSSpecific.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/dc/da1/classshaka_1_1MpdBuilder.html b/docs/dc/da1/classshaka_1_1MpdBuilder.html index c80e91574d..b722441d24 100644 --- a/docs/dc/da1/classshaka_1_1MpdBuilder.html +++ b/docs/dc/da1/classshaka_1_1MpdBuilder.html @@ -351,7 +351,7 @@ template<DashProfile profile> diff --git a/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html b/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html index de86155744..e0f692838c 100644 --- a/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html +++ b/docs/dc/da6/classshaka_1_1media_1_1ContentEncoding.html @@ -208,7 +208,7 @@ Static Public Attributes diff --git a/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html b/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html index b828088024..bd11d69c11 100644 --- a/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html +++ b/docs/dc/dbd/structshaka_1_1media_1_1FileCloser-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dbf/box__buffer_8h_source.html b/docs/dc/dbf/box__buffer_8h_source.html index 2741d76bef..a2782ed963 100644 --- a/docs/dc/dbf/box__buffer_8h_source.html +++ b/docs/dc/dbf/box__buffer_8h_source.html @@ -294,7 +294,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html b/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html index 8b7b36e7d1..9adf3b459d 100644 --- a/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html +++ b/docs/dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dca/classshaka_1_1media_1_1WebMListParser.html b/docs/dc/dca/classshaka_1_1media_1_1WebMListParser.html index ce64375ee2..963fece24e 100644 --- a/docs/dc/dca/classshaka_1_1media_1_1WebMListParser.html +++ b/docs/dc/dca/classshaka_1_1media_1_1WebMListParser.html @@ -210,7 +210,7 @@ void  diff --git a/docs/dc/dd9/rsa__key_8cc_source.html b/docs/dc/dd9/rsa__key_8cc_source.html index f84e707b85..e3febd8667 100644 --- a/docs/dc/dd9/rsa__key_8cc_source.html +++ b/docs/dc/dd9/rsa__key_8cc_source.html @@ -340,7 +340,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html b/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html index a917fd4baa..0e08b9f355 100644 --- a/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html +++ b/docs/dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html @@ -179,7 +179,7 @@ Additional Inherited Members diff --git a/docs/dc/de1/structshaka_1_1SegmentInfo.html b/docs/dc/de1/structshaka_1_1SegmentInfo.html index 4b8cd8c1da..4b4851e994 100644 --- a/docs/dc/de1/structshaka_1_1SegmentInfo.html +++ b/docs/dc/de1/structshaka_1_1SegmentInfo.html @@ -118,7 +118,7 @@ uint64_t repeat diff --git a/docs/dc/deb/classshaka_1_1media_1_1mp4_1_1Fragmenter-members.html b/docs/dc/deb/classshaka_1_1media_1_1mp4_1_1Fragmenter-members.html index 5aad9c8e78..8cf0d7cad4 100644 --- a/docs/dc/deb/classshaka_1_1media_1_1mp4_1_1Fragmenter-members.html +++ b/docs/dc/deb/classshaka_1_1media_1_1mp4_1_1Fragmenter-members.html @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/deb/h265__byte__to__unit__stream__converter_8h_source.html b/docs/dc/deb/h265__byte__to__unit__stream__converter_8h_source.html index 7b84e7fd8b..85b8ffe0db 100644 --- a/docs/dc/deb/h265__byte__to__unit__stream__converter_8h_source.html +++ b/docs/dc/deb/h265__byte__to__unit__stream__converter_8h_source.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/dec/ts__section__pmt_8cc_source.html b/docs/dc/dec/ts__section__pmt_8cc_source.html index 9c7856c744..2582ec235c 100644 --- a/docs/dc/dec/ts__section__pmt_8cc_source.html +++ b/docs/dc/dec/ts__section__pmt_8cc_source.html @@ -208,7 +208,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html b/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html index d231ac4ea9..76771fec6d 100644 --- a/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html +++ b/docs/dc/df0/classshaka_1_1media_1_1ClosureThread.html @@ -179,7 +179,7 @@ void  diff --git a/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html b/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html index f0d6f48e5e..22a1166766 100644 --- a/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html +++ b/docs/dc/df2/classshaka_1_1media_1_1WebVttMediaParser.html @@ -261,7 +261,7 @@ std::shared_ptr< diff --git a/docs/dc/df4/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html b/docs/dc/df4/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html index 0e718196bf..213860715f 100644 --- a/docs/dc/df4/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html +++ b/docs/dc/df4/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter-members.html @@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/df7/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun-members.html b/docs/dc/df7/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun-members.html index 2d1d72d97c..dc84207979 100644 --- a/docs/dc/df7/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun-members.html +++ b/docs/dc/df7/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun-members.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dc/df8/closure__thread_8h_source.html b/docs/dc/df8/closure__thread_8h_source.html index 25099d48ba..ed508cbe0c 100644 --- a/docs/dc/df8/closure__thread_8h_source.html +++ b/docs/dc/df8/closure__thread_8h_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d05/encryption__config_8h_source.html b/docs/dd/d05/encryption__config_8h_source.html index 6501625ce0..77a5d3f59d 100644 --- a/docs/dd/d05/encryption__config_8h_source.html +++ b/docs/dd/d05/encryption__config_8h_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html b/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html index 0a2c12aedd..17fbd0918b 100644 --- a/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html +++ b/docs/dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html @@ -180,7 +180,7 @@ uint32_t flags diff --git a/docs/dd/d11/mpd__builder_8cc_source.html b/docs/dd/d11/mpd__builder_8cc_source.html index 84614c10c2..eb9a7db5a3 100644 --- a/docs/dd/d11/mpd__builder_8cc_source.html +++ b/docs/dd/d11/mpd__builder_8cc_source.html @@ -1546,7 +1546,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d12/mpd__writer_8cc_source.html b/docs/dd/d12/mpd__writer_8cc_source.html index 638bd51fec..70b3c6ca8f 100644 --- a/docs/dd/d12/mpd__writer_8cc_source.html +++ b/docs/dd/d12/mpd__writer_8cc_source.html @@ -219,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d13/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html b/docs/dd/d13/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html index 6f118e241e..65430cd79f 100644 --- a/docs/dd/d13/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html +++ b/docs/dd/d13/structshaka_1_1media_1_1mp4_1_1SampleAuxiliaryInformationSize.html @@ -188,7 +188,7 @@ Additional Inherited Members diff --git a/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html b/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html index 68fa8097c5..dcbc0dd1e9 100644 --- a/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html +++ b/docs/dd/d17/classshaka_1_1media_1_1Demuxer.html @@ -112,13 +112,13 @@ Public Member Functions   void SetKeySource (std::unique_ptr< KeySource > key_source)   -Status Run () +Status Run ()   void Cancel ()   MediaContainerName container_name ()   -Status SetHandler (const std::string &stream_label, std::shared_ptr< MediaHandler > handler) +Status SetHandler (const std::string &stream_label, std::shared_ptr< MediaHandler > handler)   void SetLanguageOverride (const std::string &stream_label, const std::string &language_override)   @@ -127,14 +127,14 @@ void set_dump_stream_info<   - Public Member Functions inherited from shaka::media::MediaHandler -Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler) +Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)  Connect downstream handler at the specified output stream index.
  -Status AddHandler (std::shared_ptr< MediaHandler > handler) +Status AddHandler (std::shared_ptr< MediaHandler > handler)  Connect downstream handler to the next availble output stream index.
  -Status Initialize () +Status Initialize ()   bool IsConnected () @@ -144,9 +144,9 @@ bool 

Protected Member Functions

MediaHandler implementation overrides.
-Status InitializeInternal () override +Status InitializeInternal () override   -Status Process (std::unique_ptr< StreamData > stream_data) override +Status Process (std::unique_ptr< StreamData > stream_data) override   bool ValidateOutputStreamIndex (size_t stream_index) const override @@ -154,41 +154,41 @@ bool   - Protected Member Functions inherited from shaka::media::MediaHandler -virtual Status OnFlushRequest (size_t input_stream_index) +virtual Status OnFlushRequest (size_t input_stream_index)  Event handler for flush request at the specific input stream index.
  -Status Dispatch (std::unique_ptr< StreamData > stream_data) +Status Dispatch (std::unique_ptr< StreamData > stream_data)   -Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info) +Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)  Dispatch the period info to downstream handlers.
  -Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info) +Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)  Dispatch the stream info to downstream handlers.
  -Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample) +Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)  Dispatch the media sample to downstream handlers.
  -Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample) +Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)  Dispatch the text sample to downsream handlers.
  -Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event) +Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)  Dispatch the media event to downstream handlers.
  -Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info) +Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)  Dispatch the segment info to downstream handlers.
  -Status FlushDownstream (size_t output_stream_index) +Status FlushDownstream (size_t output_stream_index)  Flush the downstream connected at the specified output stream index.
  -Status FlushAllDownstreams () +Status FlushAllDownstreams ()  Flush all connected downstreams.
  @@ -296,7 +296,7 @@ std::pair< std::shared_ptr
- + @@ -324,7 +324,7 @@ std::pair< std::shared_ptr
Status shaka::media::Demuxer::InitializeInternal Status shaka::media::Demuxer::InitializeInternal ( ) - + @@ -350,7 +350,7 @@ std::pair< std::shared_ptr
Status shaka::media::Demuxer::Process Status shaka::media::Demuxer::Process ( std::unique_ptr< StreamData stream_data)
- + @@ -368,7 +368,7 @@ std::pair< std::shared_ptr
Status shaka::media::Demuxer::Run Status shaka::media::Demuxer::Run ( )
- + @@ -467,7 +467,7 @@ std::pair< std::shared_ptr
diff --git a/docs/dd/d18/es__parser__adts_8h_source.html b/docs/dd/d18/es__parser__adts_8h_source.html index d651be0bb2..4f27e5fdd0 100644 --- a/docs/dd/d18/es__parser__adts_8h_source.html +++ b/docs/dd/d18/es__parser__adts_8h_source.html @@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d19/video__stream__info_8cc_source.html b/docs/dd/d19/video__stream__info_8cc_source.html index 80d8d57c24..363a97d0a0 100644 --- a/docs/dd/d19/video__stream__info_8cc_source.html +++ b/docs/dd/d19/video__stream__info_8cc_source.html @@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d30/wvm__media__parser_8cc_source.html b/docs/dd/d30/wvm__media__parser_8cc_source.html index 2f7604b239..d3fc27149d 100644 --- a/docs/dd/d30/wvm__media__parser_8cc_source.html +++ b/docs/dd/d30/wvm__media__parser_8cc_source.html @@ -102,12 +102,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
13 #include "packager/media/base/audio_stream_info.h"
14 #include "packager/media/base/key_source.h"
15 #include "packager/media/base/media_sample.h"
-
16 #include "packager/media/base/status.h"
-
17 #include "packager/media/base/video_stream_info.h"
-
18 #include "packager/media/codecs/aac_audio_specific_config.h"
-
19 #include "packager/media/codecs/avc_decoder_configuration_record.h"
-
20 #include "packager/media/codecs/es_descriptor.h"
-
21 #include "packager/media/formats/mp2t/adts_header.h"
+
16 #include "packager/media/base/video_stream_info.h"
+
17 #include "packager/media/codecs/aac_audio_specific_config.h"
+
18 #include "packager/media/codecs/avc_decoder_configuration_record.h"
+
19 #include "packager/media/codecs/es_descriptor.h"
+
20 #include "packager/media/formats/mp2t/adts_header.h"
+
21 #include "packager/status.h"
22 
23 #define HAS_HEADER_EXTENSION(x) ((x != 0xBC) && (x != 0xBE) && (x != 0xBF) \
24  && (x != 0xF0) && (x != 0xF2) && (x != 0xF8) \
@@ -1272,7 +1272,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d3a/gflags__hex__bytes_8h_source.html b/docs/dd/d3a/gflags__hex__bytes_8h_source.html index 0504f9c3cf..337bdb9a46 100644 --- a/docs/dd/d3a/gflags__hex__bytes_8h_source.html +++ b/docs/dd/d3a/gflags__hex__bytes_8h_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d3b/mp4_2segmenter_8h_source.html b/docs/dd/d3b/mp4_2segmenter_8h_source.html index eb82f786be..1c5e652d71 100644 --- a/docs/dd/d3b/mp4_2segmenter_8h_source.html +++ b/docs/dd/d3b/mp4_2segmenter_8h_source.html @@ -101,8 +101,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
12 #include <vector>
13 
14 #include "packager/media/base/fourccs.h"
-
15 #include "packager/media/base/status.h"
-
16 #include "packager/media/formats/mp4/box_definitions.h"
+
15 #include "packager/media/formats/mp4/box_definitions.h"
+
16 #include "packager/status.h"
17 
18 namespace shaka {
19 namespace media {
@@ -128,15 +128,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
45  std::unique_ptr<Movie> moov);
46  virtual ~Segmenter();
47 
-
55  Status Initialize(const std::vector<std::shared_ptr<StreamInfo>>& streams,
+
55  Status Initialize(const std::vector<std::shared_ptr<StreamInfo>>& streams,
56  MuxerListener* muxer_listener,
57  ProgressListener* progress_listener);
58 
-
61  Status Finalize();
+
61  Status Finalize();
62 
-
67  Status AddSample(size_t stream_id, std::shared_ptr<MediaSample> sample);
+
67  Status AddSample(size_t stream_id, std::shared_ptr<MediaSample> sample);
68 
-
73  Status FinalizeSegment(size_t stream_id,
+
73  Status FinalizeSegment(size_t stream_id,
74  std::shared_ptr<SegmentInfo> segment_info);
75 
78  virtual bool GetInitRange(size_t* offset, size_t* size) = 0;
@@ -209,7 +209,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This class listens to progress updates events.
-
Status FinalizeSegment(size_t stream_id, std::shared_ptr< SegmentInfo > segment_info)
Definition: segmenter.cc:140
double GetDuration() const
Definition: segmenter.cc:216
virtual bool GetIndexRange(size_t *offset, size_t *size)=0
@@ -217,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d3f/structshaka_1_1media_1_1mp4_1_1SyncSample.html b/docs/dd/d3f/structshaka_1_1media_1_1mp4_1_1SyncSample.html index 93258f9e90..0d4d495a04 100644 --- a/docs/dd/d3f/structshaka_1_1media_1_1mp4_1_1SyncSample.html +++ b/docs/dd/d3f/structshaka_1_1media_1_1mp4_1_1SyncSample.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/dd/d42/encryptor_8h_source.html b/docs/dd/d42/encryptor_8h_source.html index 8d14d9d9b1..0f0cc49891 100644 --- a/docs/dd/d42/encryptor_8h_source.html +++ b/docs/dd/d42/encryptor_8h_source.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 
10 #include <vector>
11 
-
12 #include "packager/media/base/status.h"
+
12 #include "packager/status.h"
13 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
14 
15 namespace shaka {
@@ -121,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d46/webm__parser_8h_source.html b/docs/dd/d46/webm__parser_8h_source.html index b4319bcb22..725ed6901b 100644 --- a/docs/dd/d46/webm__parser_8h_source.html +++ b/docs/dd/d46/webm__parser_8h_source.html @@ -227,7 +227,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d4d/structshaka_1_1media_1_1mp4_1_1MovieFragment-members.html b/docs/dd/d4d/structshaka_1_1media_1_1mp4_1_1MovieFragment-members.html index bf4d48d5b7..92d05d6921 100644 --- a/docs/dd/d4d/structshaka_1_1media_1_1mp4_1_1MovieFragment-members.html +++ b/docs/dd/d4d/structshaka_1_1media_1_1mp4_1_1MovieFragment-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::Demuxer::SetHandler Status shaka::media::Demuxer::SetHandler ( const std::string &  stream_label,
diff --git a/docs/dd/d53/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html b/docs/dd/d53/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html index cbb07d3e07..8e81a98dc3 100644 --- a/docs/dd/d53/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html +++ b/docs/dd/d53/structshaka_1_1media_1_1wvm_1_1DemuxStreamIdMediaSample-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/dd/d54/widevine__encryption__flags_8h_source.html b/docs/dd/d54/widevine__encryption__flags_8h_source.html index 916c845a96..c9676ed48a 100644 --- a/docs/dd/d54/widevine__encryption__flags_8h_source.html +++ b/docs/dd/d54/widevine__encryption__flags_8h_source.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d59/classshaka_1_1media_1_1mp2t_1_1EsParserH265-members.html b/docs/dd/d59/classshaka_1_1media_1_1mp2t_1_1EsParserH265-members.html index 6404dec311..fd5bf2e0e9 100644 --- a/docs/dd/d59/classshaka_1_1media_1_1mp2t_1_1EsParserH265-members.html +++ b/docs/dd/d59/classshaka_1_1media_1_1mp2t_1_1EsParserH265-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d59/structshaka_1_1media_1_1mp4_1_1SchemeInfo-members.html b/docs/dd/d59/structshaka_1_1media_1_1mp4_1_1SchemeInfo-members.html index 2ffe59eb01..6435ce1496 100644 --- a/docs/dd/d59/structshaka_1_1media_1_1mp4_1_1SchemeInfo-members.html +++ b/docs/dd/d59/structshaka_1_1media_1_1mp4_1_1SchemeInfo-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d64/structshaka_1_1media_1_1mp4_1_1SyncSample-members.html b/docs/dd/d64/structshaka_1_1media_1_1mp4_1_1SyncSample-members.html index 2732b82861..d72d331bc0 100644 --- a/docs/dd/d64/structshaka_1_1media_1_1mp4_1_1SyncSample-members.html +++ b/docs/dd/d64/structshaka_1_1media_1_1mp4_1_1SyncSample-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d65/vp8__parser_8h_source.html b/docs/dd/d65/vp8__parser_8h_source.html index f21459f285..73561f0a2a 100644 --- a/docs/dd/d65/vp8__parser_8h_source.html +++ b/docs/dd/d65/vp8__parser_8h_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d67/h264__byte__to__unit__stream__converter_8cc_source.html b/docs/dd/d67/h264__byte__to__unit__stream__converter_8cc_source.html index 465ea09f71..71a3fec2ef 100644 --- a/docs/dd/d67/h264__byte__to__unit__stream__converter_8cc_source.html +++ b/docs/dd/d67/h264__byte__to__unit__stream__converter_8cc_source.html @@ -188,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d6e/classshaka_1_1media_1_1H265VideoSliceHeaderParser-members.html b/docs/dd/d6e/classshaka_1_1media_1_1H265VideoSliceHeaderParser-members.html index 2d4e2a6548..856c81540d 100644 --- a/docs/dd/d6e/classshaka_1_1media_1_1H265VideoSliceHeaderParser-members.html +++ b/docs/dd/d6e/classshaka_1_1media_1_1H265VideoSliceHeaderParser-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html b/docs/dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html index ef0cdd8490..cb5e585e87 100644 --- a/docs/dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html +++ b/docs/dd/d71/structshaka_1_1media_1_1mp4_1_1PixelAspectRatio.html @@ -176,7 +176,7 @@ Additional Inherited Members diff --git a/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html b/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html index e3ccc2cc6d..e4360005d5 100644 --- a/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html +++ b/docs/dd/d7a/classshaka_1_1media_1_1MuxerListener.html @@ -469,7 +469,7 @@ Public Member Functions diff --git a/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html b/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html index 8465ae06fd..a98ded69ea 100644 --- a/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html +++ b/docs/dd/d7c/classshaka_1_1media_1_1IoCache.html @@ -297,7 +297,7 @@ void  diff --git a/docs/dd/d80/media__sample_8h_source.html b/docs/dd/d80/media__sample_8h_source.html index ab3a5414fb..a83b1e7e89 100644 --- a/docs/dd/d80/media__sample_8h_source.html +++ b/docs/dd/d80/media__sample_8h_source.html @@ -272,7 +272,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d87/memory__file_8cc_source.html b/docs/dd/d87/memory__file_8cc_source.html index a3d95a2eb6..feef513cdc 100644 --- a/docs/dd/d87/memory__file_8cc_source.html +++ b/docs/dd/d87/memory__file_8cc_source.html @@ -242,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d88/pes__packet__generator_8h_source.html b/docs/dd/d88/pes__packet__generator_8h_source.html index 5f4262a22c..163ac1e88d 100644 --- a/docs/dd/d88/pes__packet__generator_8h_source.html +++ b/docs/dd/d88/pes__packet__generator_8h_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d8c/file__test__util_8h_source.html b/docs/dd/d8c/file__test__util_8h_source.html index adf2cfc22d..205fa5a677 100644 --- a/docs/dd/d8c/file__test__util_8h_source.html +++ b/docs/dd/d8c/file__test__util_8h_source.html @@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d8d/structshaka_1_1media_1_1mp4_1_1SegmentIndex-members.html b/docs/dd/d8d/structshaka_1_1media_1_1mp4_1_1SegmentIndex-members.html index 858c1da2c9..df809d9036 100644 --- a/docs/dd/d8d/structshaka_1_1media_1_1mp4_1_1SegmentIndex-members.html +++ b/docs/dd/d8d/structshaka_1_1media_1_1mp4_1_1SegmentIndex-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d98/ts__packet__writer__util_8h_source.html b/docs/dd/d98/ts__packet__writer__util_8h_source.html index c5be5a6ca8..572b241ed9 100644 --- a/docs/dd/d98/ts__packet__writer__util_8h_source.html +++ b/docs/dd/d98/ts__packet__writer__util_8h_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d9a/audio__timestamp__helper_8h_source.html b/docs/dd/d9a/audio__timestamp__helper_8h_source.html index 7533d5b418..a512d51b34 100644 --- a/docs/dd/d9a/audio__timestamp__helper_8h_source.html +++ b/docs/dd/d9a/audio__timestamp__helper_8h_source.html @@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html b/docs/dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html index 995a4b68e3..ba2cb0d911 100644 --- a/docs/dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html +++ b/docs/dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html @@ -143,7 +143,7 @@ uint64_t earliest_presenta diff --git a/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html b/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html index c490c1ad53..51d091b8d5 100644 --- a/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html +++ b/docs/dd/d9d/classshaka_1_1MpdNotifier-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/da4/structshaka_1_1xml_1_1XmlDeleter.html b/docs/dd/da4/structshaka_1_1xml_1_1XmlDeleter.html index 70262b651a..cd3879e9e5 100644 --- a/docs/dd/da4/structshaka_1_1xml_1_1XmlDeleter.html +++ b/docs/dd/da4/structshaka_1_1xml_1_1XmlDeleter.html @@ -127,7 +127,7 @@ void operator() (xmlCh diff --git a/docs/dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html b/docs/dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html index 045a8ac53a..867130af9a 100644 --- a/docs/dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html +++ b/docs/dd/da5/classshaka_1_1media_1_1webm_1_1TwoPassSingleSegmentSegmenter.html @@ -112,17 +112,17 @@ Public Member Functions  TwoPassSingleSegmentSegmenter (const MuxerOptions &options)   -Status DoInitialize () override +Status DoInitialize () override   -Status DoFinalize () override +Status DoFinalize () override   - Public Member Functions inherited from shaka::media::webm::SingleSegmentSegmenter  SingleSegmentSegmenter (const MuxerOptions &options)   -Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment) override +Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment) override  Finalize the (sub)segment.
  bool GetInitRangeStartAndEnd (uint64_t *start, uint64_t *end) override @@ -133,11 +133,11 @@ Public Member Functions  Segmenter (const MuxerOptions &options)   -Status Initialize (StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener) +Status Initialize (StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener)   -Status Finalize () +Status Finalize ()   -Status AddSample (std::shared_ptr< MediaSample > sample) +Status AddSample (std::shared_ptr< MediaSample > sample)   float GetDurationInSeconds () const   @@ -173,11 +173,11 @@ uint64_t  Converts the given time in WebM timecode to ISO BMFF timestamp.
 
-Status WriteSegmentHeader (uint64_t file_size, MkvWriter *writer) +Status WriteSegmentHeader (uint64_t file_size, MkvWriter *writer)  Writes the Segment header to writer.
  -Status SetCluster (uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer) +Status SetCluster (uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer)  Creates a Cluster object with the given parameters.
  @@ -223,7 +223,7 @@ uint64_t segment_payload_p diff --git a/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html b/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html index bab98e2eaf..cc1cb93e12 100644 --- a/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html +++ b/docs/dd/daa/vod__media__info__dump__muxer__listener_8h_source.html @@ -180,7 +180,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dab/webm__muxer_8h_source.html b/docs/dd/dab/webm__muxer_8h_source.html index c26cc64a49..15f5141a73 100644 --- a/docs/dd/dab/webm__muxer_8h_source.html +++ b/docs/dd/dab/webm__muxer_8h_source.html @@ -111,11 +111,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
24 
25  private:
26  // Muxer implementation overrides.
-
27  Status InitializeMuxer() override;
-
28  Status Finalize() override;
-
29  Status AddSample(size_t stream_id,
+
27  Status InitializeMuxer() override;
+
28  Status Finalize() override;
+
29  Status AddSample(size_t stream_id,
30  std::shared_ptr<MediaSample> sample) override;
-
31  Status FinalizeSegment(size_t stream_id,
+
31  Status FinalizeSegment(size_t stream_id,
32  std::shared_ptr<SegmentInfo> segment_info) override;
33 
34  void FireOnMediaStartEvent();
@@ -134,12 +134,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
Implements WebM Muxer.
Definition: webm_muxer.h:19
-
WebMMuxer(const MuxerOptions &options)
Create a WebMMuxer object from MuxerOptions.
Definition: webm_muxer.cc:21
diff --git a/docs/dd/dae/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html b/docs/dd/dae/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html index efac299894..263b06cc48 100644 --- a/docs/dd/dae/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html +++ b/docs/dd/dae/structshaka_1_1media_1_1mp4_1_1WebVTTSourceLabelBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/db0/classshaka_1_1media_1_1WebMAudioClient-members.html b/docs/dd/db0/classshaka_1_1media_1_1WebMAudioClient-members.html index e25f346b12..6890df822f 100644 --- a/docs/dd/db0/classshaka_1_1media_1_1WebMAudioClient-members.html +++ b/docs/dd/db0/classshaka_1_1media_1_1WebMAudioClient-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/db3/structshaka_1_1media_1_1mp4_1_1SampleTable-members.html b/docs/dd/db3/structshaka_1_1media_1_1mp4_1_1SampleTable-members.html index fe6116fdce..9f6f8e7f9f 100644 --- a/docs/dd/db3/structshaka_1_1media_1_1mp4_1_1SampleTable-members.html +++ b/docs/dd/db3/structshaka_1_1media_1_1mp4_1_1SampleTable-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html b/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html index 6e68e2d25c..3d8ce75765 100644 --- a/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html +++ b/docs/dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html @@ -231,7 +231,7 @@ Protected Member Functions diff --git a/docs/dd/dbc/buffer__reader_8cc_source.html b/docs/dd/dbc/buffer__reader_8cc_source.html index 79b345be60..a63a7c431e 100644 --- a/docs/dd/dbc/buffer__reader_8cc_source.html +++ b/docs/dd/dbc/buffer__reader_8cc_source.html @@ -196,7 +196,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbc/encryption__handler_8h_source.html b/docs/dd/dbc/encryption__handler_8h_source.html index cda4497a5c..8e05ba0a3a 100644 --- a/docs/dd/dbc/encryption__handler_8h_source.html +++ b/docs/dd/dbc/encryption__handler_8h_source.html @@ -127,8 +127,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
46  ~EncryptionHandler() override;
47 
48  protected:
-
51  Status InitializeInternal() override;
-
52  Status Process(std::unique_ptr<StreamData> stream_data) override;
+
51  Status InitializeInternal() override;
+
52  Status Process(std::unique_ptr<StreamData> stream_data) override;
54 
55  private:
56  friend class EncryptionHandlerTest;
@@ -137,11 +137,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
59  EncryptionHandler& operator=(const EncryptionHandler&) = delete;
60 
61  // Processes |stream_info| and sets up stream specific variables.
-
62  Status ProcessStreamInfo(StreamInfo* stream_info);
+
62  Status ProcessStreamInfo(StreamInfo* stream_info);
63  // Processes media sample and encrypts it if needed.
-
64  Status ProcessMediaSample(MediaSample* sample);
+
64  Status ProcessMediaSample(MediaSample* sample);
65 
-
66  Status SetupProtectionPattern(StreamType stream_type);
+
66  Status SetupProtectionPattern(StreamType stream_type);
67  bool CreateEncryptor(const EncryptionKey& encryption_key);
68  bool EncryptVpxFrame(const std::vector<VPxFrameInfo>& vpx_frames,
69  MediaSample* sample,
@@ -204,12 +204,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
double clear_lead_in_seconds
Clear lead duration in seconds.
FourCC protection_scheme
The protection scheme: 'cenc', 'cens', 'cbc1', 'cbcs'.
Class to hold a media sample.
Definition: media_sample.h:22
-
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:45
diff --git a/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html b/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html index 041f5b05e8..c429a5927c 100644 --- a/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html +++ b/docs/dd/dbd/structshaka_1_1media_1_1EncryptionKey.html @@ -120,7 +120,7 @@ std::vector< uint8_t >  diff --git a/docs/dd/dbd/structshaka_1_1media_1_1mp4_1_1TrackEncryption-members.html b/docs/dd/dbd/structshaka_1_1media_1_1mp4_1_1TrackEncryption-members.html index 3e664ee0dd..de793f470f 100644 --- a/docs/dd/dbd/structshaka_1_1media_1_1mp4_1_1TrackEncryption-members.html +++ b/docs/dd/dbd/structshaka_1_1media_1_1mp4_1_1TrackEncryption-members.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dbf/webm__webvtt__parser_8h_source.html b/docs/dd/dbf/webm__webvtt__parser_8h_source.html index e87319ad55..c04930033d 100644 --- a/docs/dd/dbf/webm__webvtt__parser_8h_source.html +++ b/docs/dd/dbf/webm__webvtt__parser_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dc1/structshaka_1_1media_1_1mp4_1_1FullBox.html b/docs/dd/dc1/structshaka_1_1media_1_1mp4_1_1FullBox.html index 066772ec12..7e40680bda 100644 --- a/docs/dd/dc1/structshaka_1_1media_1_1mp4_1_1FullBox.html +++ b/docs/dd/dc1/structshaka_1_1media_1_1mp4_1_1FullBox.html @@ -245,7 +245,7 @@ Protected Member Functions diff --git a/docs/dd/dc4/classshaka_1_1media_1_1ProducerConsumerQueue-members.html b/docs/dd/dc4/classshaka_1_1media_1_1ProducerConsumerQueue-members.html index 19d8dccba6..f0d09275ca 100644 --- a/docs/dd/dc4/classshaka_1_1media_1_1ProducerConsumerQueue-members.html +++ b/docs/dd/dc4/classshaka_1_1media_1_1ProducerConsumerQueue-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html b/docs/dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html index 3668b4b46c..741496f710 100644 --- a/docs/dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html +++ b/docs/dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html @@ -111,14 +111,14 @@ Public Member Functions  Segmenter (const MuxerOptions &options)   -Status Initialize (StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener) +Status Initialize (StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener)   -Status Finalize () +Status Finalize ()   -Status AddSample (std::shared_ptr< MediaSample > sample) +Status AddSample (std::shared_ptr< MediaSample > sample)   -virtual Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment)=0 +virtual Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment)=0  Finalize the (sub)segment.
  virtual bool GetInitRangeStartAndEnd (uint64_t *start, uint64_t *end)=0 @@ -139,11 +139,11 @@ uint64_t  Converts the given time in WebM timecode to ISO BMFF timestamp.
 
-Status WriteSegmentHeader (uint64_t file_size, MkvWriter *writer) +Status WriteSegmentHeader (uint64_t file_size, MkvWriter *writer)  Writes the Segment header to writer.
  -Status SetCluster (uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer) +Status SetCluster (uint64_t start_webm_timecode, uint64_t position, MkvWriter *writer)  Creates a Cluster object with the given parameters.
  @@ -178,10 +178,10 @@ int track_id () const uint64_t segment_payload_pos () const   -virtual Status DoInitialize ()=0 +virtual Status DoInitialize ()=0   -virtual Status DoFinalize ()=0 +virtual Status DoFinalize ()=0  

Detailed Description

@@ -193,7 +193,7 @@ virtual Sta
- + @@ -219,7 +219,7 @@ virtual Sta
Status shaka::media::webm::Segmenter::AddSample Status shaka::media::webm::Segmenter::AddSample ( std::shared_ptr< MediaSample sample)
- + @@ -330,7 +330,7 @@ virtual Sta
Status shaka::media::webm::Segmenter::Finalize Status shaka::media::webm::Segmenter::Finalize ( )
- + @@ -375,7 +375,7 @@ virtual Sta diff --git a/docs/dd/dca/structshaka_1_1media_1_1mp4_1_1OriginalFormat-members.html b/docs/dd/dca/structshaka_1_1media_1_1mp4_1_1OriginalFormat-members.html index 674f7a42c5..efeac3c81f 100644 --- a/docs/dd/dca/structshaka_1_1media_1_1mp4_1_1OriginalFormat-members.html +++ b/docs/dd/dca/structshaka_1_1media_1_1mp4_1_1OriginalFormat-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::webm::Segmenter::Initialize Status shaka::media::webm::Segmenter::Initialize ( StreamInfo info,
diff --git a/docs/dd/dce/structshaka_1_1media_1_1Cue.html b/docs/dd/dce/structshaka_1_1media_1_1Cue.html index c778e28faf..e6cebe7c83 100644 --- a/docs/dd/dce/structshaka_1_1media_1_1Cue.html +++ b/docs/dd/dce/structshaka_1_1media_1_1Cue.html @@ -125,7 +125,7 @@ std::string comment diff --git a/docs/dd/dd2/buffer__writer_8h_source.html b/docs/dd/dd2/buffer__writer_8h_source.html index c61899b7ff..a280df8ff5 100644 --- a/docs/dd/dd2/buffer__writer_8h_source.html +++ b/docs/dd/dd2/buffer__writer_8h_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
10 #include <vector>
11 
12 #include "packager/base/macros.h"
-
13 #include "packager/media/base/status.h"
+
13 #include "packager/status.h"
14 
15 namespace shaka {
16 namespace media {
@@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
57  size_t Size() const { return buf_.size(); }
59  const uint8_t* Buffer() const { return buf_.data(); }
60 
-
65  Status WriteToFile(File* file);
+
65  Status WriteToFile(File* file);
66 
67  private:
68  // Internal implementation of multi-byte write.
@@ -154,12 +154,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void AppendNBytes(uint64_t v, size_t num_bytes)
const uint8_t * Buffer() const
Definition: buffer_writer.h:59
-
Status WriteToFile(File *file)
diff --git a/docs/dd/dd3/buffer__writer_8cc_source.html b/docs/dd/dd3/buffer__writer_8cc_source.html index 72fbe95f5c..083dfc9824 100644 --- a/docs/dd/dd3/buffer__writer_8cc_source.html +++ b/docs/dd/dd3/buffer__writer_8cc_source.html @@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
63  buf_.insert(buf_.end(), buffer.buf_.begin(), buffer.buf_.end());
64 }
65 
- +
67  DCHECK(file);
68  DCHECK(!buf_.empty());
69 
@@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
72  while (remaining_size > 0) {
73  int64_t size_written = file->Write(buf, remaining_size);
74  if (size_written <= 0) {
-
75  return Status(error::FILE_FAILURE,
+
75  return Status(error::FILE_FAILURE,
76  "Fail to write to file in BufferWriter");
77  }
78  remaining_size -= size_written;
@@ -182,12 +182,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Define an abstract file interface.
Definition: file.h:24
void AppendNBytes(uint64_t v, size_t num_bytes)
-
Status WriteToFile(File *file)
diff --git a/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html b/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html index 62f8a62da2..b6e3062dc0 100644 --- a/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html +++ b/docs/dd/dd6/classshaka_1_1media_1_1WebMVideoClient-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dd8/mock__muxer__listener_8cc_source.html b/docs/dd/dd8/mock__muxer__listener_8cc_source.html index d10797d9ef..204407bba1 100644 --- a/docs/dd/dd8/mock__muxer__listener_8cc_source.html +++ b/docs/dd/dd8/mock__muxer__listener_8cc_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dd9/structshaka_1_1media_1_1mp4_1_1Box-members.html b/docs/dd/dd9/structshaka_1_1media_1_1mp4_1_1Box-members.html index 8d68e3125d..8fea2cbd16 100644 --- a/docs/dd/dd9/structshaka_1_1media_1_1mp4_1_1Box-members.html +++ b/docs/dd/dd9/structshaka_1_1media_1_1mp4_1_1Box-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/ddc/trick__play__handler_8h_source.html b/docs/dd/ddc/trick__play__handler_8h_source.html index 9c72004e97..7609205b5c 100644 --- a/docs/dd/ddc/trick__play__handler_8h_source.html +++ b/docs/dd/ddc/trick__play__handler_8h_source.html @@ -117,10 +117,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
30  std::shared_ptr<MediaHandler> handler);
31 
32  protected:
-
35  Status InitializeInternal() override;
-
36  Status Process(std::unique_ptr<StreamData> stream_data) override;
+
35  Status InitializeInternal() override;
+
36  Status Process(std::unique_ptr<StreamData> stream_data) override;
37  bool ValidateOutputStreamIndex(size_t stream_index) const override;
-
38  Status OnFlushRequest(size_t input_stream_index) override;
+
38  Status OnFlushRequest(size_t input_stream_index) override;
40 
41  private:
42  friend class TrickPlayHandlerTest;
@@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
47 
48  // Process the cached stream data for one trick play stream.
49  // The cached data is dispatched to the |output_stream_index|.
-
50  Status ProcessCachedStreamData(
+
50  Status ProcessCachedStreamData(
51  size_t output_stream_index,
52  std::deque<std::shared_ptr<StreamData>>* cached_stream_data);
53 
@@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
56  // Decoding timestamp for current key media sample. It is used for calculating
57  // the duration of previous key media sample, to make sure there is no gap
58  // between two key media samples.
-
59  Status ProcessOneStreamData(size_t output_stream_index,
+
59  Status ProcessOneStreamData(size_t output_stream_index,
60  const std::shared_ptr<StreamData>& stream_data);
61 
62  // Trick play factors. Note that there can be multiple trick play factors,
@@ -186,13 +186,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
bool ValidateOutputStreamIndex(size_t stream_index) const override
Validate if the stream at the specified index actually exists.
Status OnFlushRequest(size_t input_stream_index) override
Event handler for flush request at the specific input stream index.
-
Status Process(std::unique_ptr< StreamData > stream_data) override
diff --git a/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html b/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html index 411fca9aa9..db1ddd1885 100644 --- a/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html +++ b/docs/dd/de4/classshaka_1_1media_1_1VideoSliceHeaderParser.html @@ -150,7 +150,7 @@ virtual int64_t  diff --git a/docs/dd/de7/structshaka_1_1media_1_1H265Pps-members.html b/docs/dd/de7/structshaka_1_1media_1_1H265Pps-members.html index 9622050917..3a8e280d04 100644 --- a/docs/dd/de7/structshaka_1_1media_1_1H265Pps-members.html +++ b/docs/dd/de7/structshaka_1_1media_1_1H265Pps-members.html @@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/de7/xml__node_8h_source.html b/docs/dd/de7/xml__node_8h_source.html index 25acd503d0..e6b4fec51e 100644 --- a/docs/dd/de7/xml__node_8h_source.html +++ b/docs/dd/de7/xml__node_8h_source.html @@ -239,7 +239,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/de9/classshaka_1_1media_1_1MediaHandler-members.html b/docs/dd/de9/classshaka_1_1media_1_1MediaHandler-members.html index edc9bcc1bb..959feb8483 100644 --- a/docs/dd/de9/classshaka_1_1media_1_1MediaHandler-members.html +++ b/docs/dd/de9/classshaka_1_1media_1_1MediaHandler-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/dee/box__definitions_8cc_source.html b/docs/dd/dee/box__definitions_8cc_source.html index 9638351aa2..c6a3a66b77 100644 --- a/docs/dd/dee/box__definitions_8cc_source.html +++ b/docs/dd/dee/box__definitions_8cc_source.html @@ -2957,7 +2957,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html b/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html index 77dbdc68ea..010bdebed2 100644 --- a/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html +++ b/docs/dd/df2/webm_2multi__segment__segmenter_8h_source.html @@ -97,9 +97,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
9 
10 #include <memory>
-
11 #include "packager/media/base/status.h"
-
12 #include "packager/media/formats/webm/mkv_writer.h"
-
13 #include "packager/media/formats/webm/segmenter.h"
+
11 #include "packager/media/formats/webm/mkv_writer.h"
+
12 #include "packager/media/formats/webm/segmenter.h"
+
13 #include "packager/status.h"
14 
15 namespace shaka {
16 namespace media {
@@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
26  explicit MultiSegmentSegmenter(const MuxerOptions& options);
27  ~MultiSegmentSegmenter() override;
28 
-
31  Status FinalizeSegment(uint64_t start_timestamp,
+
31  Status FinalizeSegment(uint64_t start_timestamp,
32  uint64_t duration_timestamp,
33  bool is_subsegment) override;
34  bool GetInitRangeStartAndEnd(uint64_t* start, uint64_t* end) override;
@@ -121,12 +121,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
37 
38  protected:
39  // Segmenter implementation overrides.
-
40  Status DoInitialize() override;
-
41  Status DoFinalize() override;
+
40  Status DoInitialize() override;
+
41  Status DoFinalize() override;
42 
43  private:
44  // Segmenter implementation overrides.
-
45  Status NewSegment(uint64_t start_timestamp, bool is_subsegment) override;
+
45  Status NewSegment(uint64_t start_timestamp, bool is_subsegment) override;
46 
47  std::unique_ptr<MkvWriter> writer_;
48  uint32_t num_segment_;
@@ -144,12 +144,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
This structure contains the list of configuration options for Muxer.
Definition: muxer_options.h:18
Status FinalizeSegment(uint64_t start_timestamp, uint64_t duration_timestamp, bool is_subsegment) override
Finalize the (sub)segment.
- diff --git a/docs/dd/df5/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun.html b/docs/dd/df5/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun.html index a506c2a93e..119719d162 100644 --- a/docs/dd/df5/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun.html +++ b/docs/dd/df5/structshaka_1_1media_1_1mp4_1_1TrackFragmentRun.html @@ -212,7 +212,7 @@ Additional Inherited Members diff --git a/docs/dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html b/docs/dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html index 7a7c27a83e..660c689b47 100644 --- a/docs/dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html +++ b/docs/dd/df6/structshaka_1_1media_1_1mp4_1_1Metadata.html @@ -185,7 +185,7 @@ Additional Inherited Members diff --git a/docs/de/d0f/local__file_8h_source.html b/docs/de/d0f/local__file_8h_source.html index a5a87305aa..2e75816f19 100644 --- a/docs/de/d0f/local__file_8h_source.html +++ b/docs/de/d0f/local__file_8h_source.html @@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d12/container__names_8h_source.html b/docs/de/d12/container__names_8h_source.html index 9b0cfca1a7..3995033afe 100644 --- a/docs/de/d12/container__names_8h_source.html +++ b/docs/de/d12/container__names_8h_source.html @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d13/ts__writer_8cc_source.html b/docs/de/d13/ts__writer_8cc_source.html index b658d08b1e..9a5ec16b7e 100644 --- a/docs/de/d13/ts__writer_8cc_source.html +++ b/docs/de/d13/ts__writer_8cc_source.html @@ -360,7 +360,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html b/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html index a47ad545e3..233791ac89 100644 --- a/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html +++ b/docs/de/d16/classshaka_1_1media_1_1TextTrackConfig-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d17/cluster__builder_8cc_source.html b/docs/de/d17/cluster__builder_8cc_source.html index 2209e4a948..ea8c314173 100644 --- a/docs/de/d17/cluster__builder_8cc_source.html +++ b/docs/de/d17/cluster__builder_8cc_source.html @@ -346,7 +346,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d1a/classshaka_1_1media_1_1wvm_1_1WvmMediaParser-members.html b/docs/de/d1a/classshaka_1_1media_1_1wvm_1_1WvmMediaParser-members.html index 96c3f1317c..749f6fd70d 100644 --- a/docs/de/d1a/classshaka_1_1media_1_1wvm_1_1WvmMediaParser-members.html +++ b/docs/de/d1a/classshaka_1_1media_1_1wvm_1_1WvmMediaParser-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html b/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html index 3fcae270a1..08526070da 100644 --- a/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html +++ b/docs/de/d1e/mp4_2single__segment__segmenter_8cc_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
49  return true;
50 }
51 
-
52 Status SingleSegmentSegmenter::DoInitialize() {
+
52 Status SingleSegmentSegmenter::DoInitialize() {
53  // Single segment segmentation involves two stages:
54  // Stage 1: Create media subsegments from media samples
55  // Stage 2: Update media header (moov) which involves copying of media
@@ -148,15 +148,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
59  set_progress_target(progress_target() * 2);
60 
61  if (!TempFilePath(options().temp_dir, &temp_file_name_))
-
62  return Status(error::FILE_FAILURE, "Unable to create temporary file.");
+
62  return Status(error::FILE_FAILURE, "Unable to create temporary file.");
63  temp_file_.reset(File::Open(temp_file_name_.c_str(), "w"));
64  return temp_file_
65  ? Status::OK
-
66  : Status(error::FILE_FAILURE,
+
66  : Status(error::FILE_FAILURE,
67  "Cannot open file to write " + temp_file_name_);
68 }
69 
-
70 Status SingleSegmentSegmenter::DoFinalize() {
+
70 Status SingleSegmentSegmenter::DoFinalize() {
71  DCHECK(temp_file_);
72  DCHECK(ftyp());
73  DCHECK(moov());
@@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
75 
76  // Close the temp file to prepare for reading later.
77  if (!temp_file_.release()->Close()) {
-
78  return Status(error::FILE_FAILURE,
+
78  return Status(error::FILE_FAILURE,
79  "Cannot close the temp file " + temp_file_name_);
80  }
81 
@@ -302,13 +302,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual void OnSampleDurationReady(uint32_t sample_duration)=0
bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)
Definition: file_util.cc:27
-
void UpdateProgress(uint64_t progress)
Update segmentation progress using ProgressListener.
Definition: segmenter.cc:265
static bool Delete(const char *file_name)
Definition: file.cc:163
diff --git a/docs/de/d22/aes__pattern__cryptor_8cc_source.html b/docs/de/d22/aes__pattern__cryptor_8cc_source.html index 4bbe5a1bc9..69de8a88f9 100644 --- a/docs/de/d22/aes__pattern__cryptor_8cc_source.html +++ b/docs/de/d22/aes__pattern__cryptor_8cc_source.html @@ -185,7 +185,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html b/docs/de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html index 2613c61266..c8490f002a 100644 --- a/docs/de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html +++ b/docs/de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html @@ -140,7 +140,7 @@ static const uint8_t kElem diff --git a/docs/de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html b/docs/de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html index 2781ea5047..672ca9dfcf 100644 --- a/docs/de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html +++ b/docs/de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html @@ -194,7 +194,7 @@ Additional Inherited Members diff --git a/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html b/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html index 14887ba193..73229327dc 100644 --- a/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html +++ b/docs/de/d33/classshaka_1_1media_1_1WebMTracksParser-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d33/structshaka_1_1media_1_1H265Pps.html b/docs/de/d33/structshaka_1_1media_1_1H265Pps.html index dfb5b4757f..f22b1226ee 100644 --- a/docs/de/d33/structshaka_1_1media_1_1H265Pps.html +++ b/docs/de/d33/structshaka_1_1media_1_1H265Pps.html @@ -224,7 +224,7 @@ bool chroma_qp_offset_list diff --git a/docs/de/d34/offset__byte__queue_8h_source.html b/docs/de/d34/offset__byte__queue_8h_source.html index 7ce5009d1f..7231c2b3c1 100644 --- a/docs/de/d34/offset__byte__queue_8h_source.html +++ b/docs/de/d34/offset__byte__queue_8h_source.html @@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3c/h26x__byte__to__unit__stream__converter_8cc_source.html b/docs/de/d3c/h26x__byte__to__unit__stream__converter_8cc_source.html index 3b1402ec0b..2557256746 100644 --- a/docs/de/d3c/h26x__byte__to__unit__stream__converter_8cc_source.html +++ b/docs/de/d3c/h26x__byte__to__unit__stream__converter_8cc_source.html @@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3c/macros_8h_source.html b/docs/de/d3c/macros_8h_source.html index 4aa89fb584..c188f3ee0a 100644 --- a/docs/de/d3c/macros_8h_source.html +++ b/docs/de/d3c/macros_8h_source.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3e/buffer__reader_8h_source.html b/docs/de/d3e/buffer__reader_8h_source.html index 08c1b1b06a..e5c56b69fb 100644 --- a/docs/de/d3e/buffer__reader_8h_source.html +++ b/docs/de/d3e/buffer__reader_8h_source.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d3e/classshaka_1_1media_1_1H264Parser-members.html b/docs/de/d3e/classshaka_1_1media_1_1H264Parser-members.html index f06c593901..3cd7b9e628 100644 --- a/docs/de/d3e/classshaka_1_1media_1_1H264Parser-members.html +++ b/docs/de/d3e/classshaka_1_1media_1_1H264Parser-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d43/classshaka_1_1media_1_1mp2t_1_1PesPacket-members.html b/docs/de/d43/classshaka_1_1media_1_1mp2t_1_1PesPacket-members.html index 4912de1ff9..91ee38a55b 100644 --- a/docs/de/d43/classshaka_1_1media_1_1mp2t_1_1PesPacket-members.html +++ b/docs/de/d43/classshaka_1_1media_1_1mp2t_1_1PesPacket-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html b/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html index ca8d0c2ea7..fe474ac459 100644 --- a/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html +++ b/docs/de/d49/classshaka_1_1media_1_1DecryptConfig.html @@ -315,7 +315,7 @@ static const size_t  diff --git a/docs/de/d4a/muxer__listener__internal_8h_source.html b/docs/de/d4a/muxer__listener__internal_8h_source.html index 8b3008dac4..bf72d99a33 100644 --- a/docs/de/d4a/muxer__listener__internal_8h_source.html +++ b/docs/de/d4a/muxer__listener__internal_8h_source.html @@ -145,7 +145,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d52/classshaka_1_1Representation.html b/docs/de/d52/classshaka_1_1Representation.html index fc14ffc1be..d597526d58 100644 --- a/docs/de/d52/classshaka_1_1Representation.html +++ b/docs/de/d52/classshaka_1_1Representation.html @@ -456,7 +456,7 @@ template<DashProfile profile> diff --git a/docs/de/d55/structshaka_1_1media_1_1mp4_1_1Language-members.html b/docs/de/d55/structshaka_1_1media_1_1mp4_1_1Language-members.html index 40bd18498e..28d26a8758 100644 --- a/docs/de/d55/structshaka_1_1media_1_1mp4_1_1Language-members.html +++ b/docs/de/d55/structshaka_1_1media_1_1mp4_1_1Language-members.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d5b/adts__header_8cc_source.html b/docs/de/d5b/adts__header_8cc_source.html index f8a9360558..3cba508581 100644 --- a/docs/de/d5b/adts__header_8cc_source.html +++ b/docs/de/d5b/adts__header_8cc_source.html @@ -207,7 +207,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d5c/mpd__flags_8h_source.html b/docs/de/d5c/mpd__flags_8h_source.html index c90a8cc441..deb3234a1f 100644 --- a/docs/de/d5c/mpd__flags_8h_source.html +++ b/docs/de/d5c/mpd__flags_8h_source.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d60/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter-members.html b/docs/de/d60/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter-members.html index 27b682ac00..e0628cb77a 100644 --- a/docs/de/d60/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter-members.html +++ b/docs/de/d60/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html b/docs/de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html index f0d2360b0f..3d9c16e1f9 100644 --- a/docs/de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html +++ b/docs/de/d64/classshaka_1_1media_1_1mp2t_1_1TsWriter.html @@ -257,7 +257,7 @@ void  diff --git a/docs/de/d6c/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html b/docs/de/d6c/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html index bdf4bf6444..2060c533e5 100644 --- a/docs/de/d6c/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html +++ b/docs/de/d6c/structshaka_1_1media_1_1mp4_1_1SampleToGroupEntry-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d6e/language__utils_8h_source.html b/docs/de/d6e/language__utils_8h_source.html index 8cb2f85e41..2199726469 100644 --- a/docs/de/d6e/language__utils_8h_source.html +++ b/docs/de/d6e/language__utils_8h_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d70/http__key__fetcher_8cc_source.html b/docs/de/d70/http__key__fetcher_8cc_source.html index 0d642cb2ca..77cfce1a20 100644 --- a/docs/de/d70/http__key__fetcher_8cc_source.html +++ b/docs/de/d70/http__key__fetcher_8cc_source.html @@ -170,23 +170,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
81 
82 HttpKeyFetcher::~HttpKeyFetcher() {}
83 
-
84 Status HttpKeyFetcher::FetchKeys(const std::string& url,
+
84 Status HttpKeyFetcher::FetchKeys(const std::string& url,
85  const std::string& request,
86  std::string* response) {
87  return Post(url, request, response);
88 }
89 
-
90 Status HttpKeyFetcher::Get(const std::string& path, std::string* response) {
+
90 Status HttpKeyFetcher::Get(const std::string& path, std::string* response) {
91  return FetchInternal(GET, path, "", response);
92 }
93 
-
94 Status HttpKeyFetcher::Post(const std::string& path,
+
94 Status HttpKeyFetcher::Post(const std::string& path,
95  const std::string& data,
96  std::string* response) {
97  return FetchInternal(POST, path, data, response);
98 }
99 
-
100 Status HttpKeyFetcher::FetchInternal(HttpMethod method,
+
100 Status HttpKeyFetcher::FetchInternal(HttpMethod method,
101  const std::string& path,
102  const std::string& data,
103  std::string* response) {
@@ -197,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
108  CURL* curl = scoped_curl.get();
109  if (!curl) {
110  LOG(ERROR) << "curl_easy_init() failed.";
-
111  return Status(error::HTTP_FAILURE, "curl_easy_init() failed.");
+
111  return Status(error::HTTP_FAILURE, "curl_easy_init() failed.");
112  }
113  response->clear();
114 
@@ -259,14 +259,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
170 } // namespace media
171 } // namespace shaka
virtual Status Get(const std::string &url, std::string *response)
-
Status FetchKeys(const std::string &url, const std::string &request, std::string *response) override
HttpKeyFetcher()
Creates a fetcher with no timeout.
virtual Status Post(const std::string &url, const std::string &data, std::string *response)
diff --git a/docs/de/d77/webm__content__encodings__client_8cc_source.html b/docs/de/d77/webm__content__encodings__client_8cc_source.html index 89e863e05d..ea9ca50a78 100644 --- a/docs/de/d77/webm__content__encodings__client_8cc_source.html +++ b/docs/de/d77/webm__content__encodings__client_8cc_source.html @@ -358,7 +358,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d7b/mp4__media__parser_8h_source.html b/docs/de/d7b/mp4__media__parser_8h_source.html index bcf1318dd2..f272d3f188 100644 --- a/docs/de/d7b/mp4__media__parser_8h_source.html +++ b/docs/de/d7b/mp4__media__parser_8h_source.html @@ -203,7 +203,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html b/docs/de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html index 0e74e26e81..5c8c3addf5 100644 --- a/docs/de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html +++ b/docs/de/d7e/classshaka_1_1media_1_1mp2t_1_1TsSectionPsi.html @@ -147,7 +147,7 @@ Additional Inherited Members diff --git a/docs/de/d83/box__definitions__comparison_8h_source.html b/docs/de/d83/box__definitions__comparison_8h_source.html index 8d518b51a8..5c715ecd25 100644 --- a/docs/de/d83/box__definitions__comparison_8h_source.html +++ b/docs/de/d83/box__definitions__comparison_8h_source.html @@ -592,7 +592,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html b/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html index 9d6cae9081..11d9a7fcd7 100644 --- a/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html +++ b/docs/de/d83/classshaka_1_1media_1_1LocalFile-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d87/structshaka_1_1media_1_1wvm_1_1PrevSampleData-members.html b/docs/de/d87/structshaka_1_1media_1_1wvm_1_1PrevSampleData-members.html index 1aac665c46..87d31df1e9 100644 --- a/docs/de/d87/structshaka_1_1media_1_1wvm_1_1PrevSampleData-members.html +++ b/docs/de/d87/structshaka_1_1media_1_1wvm_1_1PrevSampleData-members.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d8d/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html b/docs/de/d8d/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html index f88c60a90d..473c703be4 100644 --- a/docs/de/d8d/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html +++ b/docs/de/d8d/structshaka_1_1media_1_1mp4_1_1MovieFragmentHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/d93/classshaka_1_1media_1_1VP8Parser-members.html b/docs/de/d93/classshaka_1_1media_1_1VP8Parser-members.html index 64fcbf9888..63ca05d785 100644 --- a/docs/de/d93/classshaka_1_1media_1_1VP8Parser-members.html +++ b/docs/de/d93/classshaka_1_1media_1_1VP8Parser-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/da9/structshaka_1_1Element.html b/docs/de/da9/structshaka_1_1Element.html index 3f5f0d9c72..fa3e82d5d7 100644 --- a/docs/de/da9/structshaka_1_1Element.html +++ b/docs/de/da9/structshaka_1_1Element.html @@ -120,7 +120,7 @@ std::vector< El diff --git a/docs/de/dab/es__parser__h26x_8cc_source.html b/docs/de/dab/es__parser__h26x_8cc_source.html index 14a82eb32c..a828af1378 100644 --- a/docs/de/dab/es__parser__h26x_8cc_source.html +++ b/docs/de/dab/es__parser__h26x_8cc_source.html @@ -410,7 +410,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dad/validate__flag_8cc_source.html b/docs/de/dad/validate__flag_8cc_source.html index d81b233343..42d478ebd9 100644 --- a/docs/de/dad/validate__flag_8cc_source.html +++ b/docs/de/dad/validate__flag_8cc_source.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html b/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html index 3cdc4a6517..9acd6cf5e9 100644 --- a/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html +++ b/docs/de/db3/classshaka_1_1media_1_1TextTrackConfig.html @@ -125,7 +125,7 @@ const std::string & id diff --git a/docs/de/db4/classshaka_1_1media_1_1H26xBitReader.html b/docs/de/db4/classshaka_1_1media_1_1H26xBitReader.html index 3a38de93ff..57f37c0ad4 100644 --- a/docs/de/db4/classshaka_1_1media_1_1H26xBitReader.html +++ b/docs/de/db4/classshaka_1_1media_1_1H26xBitReader.html @@ -134,7 +134,7 @@ size_t NumEmulationPrevent diff --git a/docs/de/dbf/udp__options_8h_source.html b/docs/de/dbf/udp__options_8h_source.html index 04509b1f6e..920b2cad93 100644 --- a/docs/de/dbf/udp__options_8h_source.html +++ b/docs/de/dbf/udp__options_8h_source.html @@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dc1/demuxer_8h_source.html b/docs/de/dc1/demuxer_8h_source.html index 6134019df5..5ff6aff91e 100644 --- a/docs/de/dc1/demuxer_8h_source.html +++ b/docs/de/dc1/demuxer_8h_source.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
14 #include "packager/base/compiler_specific.h"
15 #include "packager/media/base/container_names.h"
16 #include "packager/media/base/media_handler.h"
-
17 #include "packager/media/base/status.h"
+
17 #include "packager/status.h"
18 
19 namespace shaka {
20 namespace media {
@@ -123,13 +123,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
39 
44  void SetKeySource(std::unique_ptr<KeySource> key_source);
45 
-
48  Status Run();
+
48  Status Run();
49 
52  void Cancel();
53 
56  MediaContainerName container_name() { return container_name_; }
57 
-
62  Status SetHandler(const std::string& stream_label,
+
62  Status SetHandler(const std::string& stream_label,
63  std::shared_ptr<MediaHandler> handler);
64 
70  void SetLanguageOverride(const std::string& stream_label,
@@ -140,9 +140,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
75  }
76 
77  protected:
-
80  Status InitializeInternal() override { return Status::OK; }
-
81  Status Process(std::unique_ptr<StreamData> stream_data) override {
-
82  return Status(error::INTERNAL_ERROR,
+
80  Status InitializeInternal() override { return Status::OK; }
+
81  Status Process(std::unique_ptr<StreamData> stream_data) override {
+
82  return Status(error::INTERNAL_ERROR,
83  "Demuxer should not be the downstream handler.");
84  }
85  bool ValidateOutputStreamIndex(size_t stream_index) const override {
@@ -221,11 +221,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status InitializeInternal() override
Definition: demuxer.h:80
Status Process(std::unique_ptr< StreamData > stream_data) override
Definition: demuxer.h:81
Demuxer(const std::string &file_name)
Definition: demuxer.cc:75
- diff --git a/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html b/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html index 2f4e367bc8..d4d21b1b9e 100644 --- a/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html +++ b/docs/de/dc2/classshaka_1_1media_1_1H265Parser.html @@ -256,7 +256,7 @@ Public Member Functions diff --git a/docs/de/dc9/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html b/docs/de/dc9/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html index ed543682fe..e289234ea9 100644 --- a/docs/de/dc9/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html +++ b/docs/de/dc9/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dcb/ts__segmenter_8h_source.html b/docs/de/dcb/ts__segmenter_8h_source.html index 008e457f0d..1b3ac3a7ff 100644 --- a/docs/de/dcb/ts__segmenter_8h_source.html +++ b/docs/de/dcb/ts__segmenter_8h_source.html @@ -98,10 +98,10 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
9 
10 #include <memory>
11 #include "packager/media/base/muxer_options.h"
-
12 #include "packager/media/base/status.h"
-
13 #include "packager/media/file/file.h"
-
14 #include "packager/media/formats/mp2t/pes_packet_generator.h"
-
15 #include "packager/media/formats/mp2t/ts_writer.h"
+
12 #include "packager/media/file/file.h"
+
13 #include "packager/media/formats/mp2t/pes_packet_generator.h"
+
14 #include "packager/media/formats/mp2t/ts_writer.h"
+
15 #include "packager/status.h"
16 
17 namespace shaka {
18 namespace media {
@@ -120,16 +120,16 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
35  TsSegmenter(const MuxerOptions& options, MuxerListener* listener);
36  ~TsSegmenter();
37 
-
41  Status Initialize(const StreamInfo& stream_info);
+
41  Status Initialize(const StreamInfo& stream_info);
42 
-
45  Status Finalize();
+
45  Status Finalize();
46 
-
49  Status AddSample(std::shared_ptr<MediaSample> sample);
+
49  Status AddSample(std::shared_ptr<MediaSample> sample);
50 
58  // TODO(kqyang): Remove the usage of segment start timestamp and duration in
59  // xx_segmenter, which could cause confusions on which is the source of truth
60  // as the segment start timestamp and duration could be tracked locally.
-
61  Status FinalizeSegment(uint64_t start_timestamp, uint64_t duration);
+
61  Status FinalizeSegment(uint64_t start_timestamp, uint64_t duration);
62 
64  void InjectTsWriterForTesting(std::unique_ptr<TsWriter> writer);
65 
@@ -139,11 +139,11 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
71  void SetTsWriterFileOpenedForTesting(bool value);
72 
73  private:
-
74  Status OpenNewSegmentIfClosed(uint32_t next_pts);
+
74  Status OpenNewSegmentIfClosed(uint32_t next_pts);
75 
76  // Writes PES packets (carried in TsPackets) to a file. If a file is not open,
77  // it will open one. This will not close the file.
-
78  Status WritePesPacketsToFile();
+
78  Status WritePesPacketsToFile();
79 
80  const MuxerOptions& muxer_options_;
81  MuxerListener* const listener_;
@@ -183,13 +183,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void InjectPesPacketGeneratorForTesting(std::unique_ptr< PesPacketGenerator > generator)
Only for testing.
Definition: ts_segmenter.cc:66
void SetTsWriterFileOpenedForTesting(bool value)
Only for testing.
Definition: ts_segmenter.cc:71
void InjectTsWriterForTesting(std::unique_ptr< TsWriter > writer)
Only for testing.
Definition: ts_segmenter.cc:62
-
Status FinalizeSegment(uint64_t start_timestamp, uint64_t duration)
diff --git a/docs/de/dcc/mock__mpd__notifier_8cc_source.html b/docs/de/dcc/mock__mpd__notifier_8cc_source.html index 42ce868f99..1712377278 100644 --- a/docs/de/dcc/mock__mpd__notifier_8cc_source.html +++ b/docs/de/dcc/mock__mpd__notifier_8cc_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dcf/file__closer_8h_source.html b/docs/de/dcf/file__closer_8h_source.html index c68fdc0946..c02233d4e2 100644 --- a/docs/de/dcf/file__closer_8h_source.html +++ b/docs/de/dcf/file__closer_8h_source.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dd6/content__protection__element_8h_source.html b/docs/de/dd6/content__protection__element_8h_source.html index b65d64e43a..489a3e4642 100644 --- a/docs/de/dd6/content__protection__element_8h_source.html +++ b/docs/de/dd6/content__protection__element_8h_source.html @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dd6/muxer__listener__test__helper_8cc_source.html b/docs/de/dd6/muxer__listener__test__helper_8cc_source.html index 1217e51fc5..23b8f39883 100644 --- a/docs/de/dd6/muxer__listener__test__helper_8cc_source.html +++ b/docs/de/dd6/muxer__listener__test__helper_8cc_source.html @@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html b/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html index 984cd7055d..aad0d2865b 100644 --- a/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html +++ b/docs/de/ddd/classshaka_1_1media_1_1Muxer-members.html @@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html b/docs/de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html index 9a5ce6d666..137976b010 100644 --- a/docs/de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html +++ b/docs/de/ddd/classshaka_1_1media_1_1WebVttSampleConverter.html @@ -257,7 +257,7 @@ Public Member Functions diff --git a/docs/de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html b/docs/de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html index 38d91f550e..b066b5f905 100644 --- a/docs/de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html +++ b/docs/de/dde/classshaka_1_1media_1_1mp2t_1_1TsSegmenter.html @@ -98,13 +98,13 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); Public Member Functions  TsSegmenter (const MuxerOptions &options, MuxerListener *listener)   -Status Initialize (const StreamInfo &stream_info) +Status Initialize (const StreamInfo &stream_info)   -Status Finalize () +Status Finalize ()   -Status AddSample (std::shared_ptr< MediaSample > sample) +Status AddSample (std::shared_ptr< MediaSample > sample)   -Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration) +Status FinalizeSegment (uint64_t start_timestamp, uint64_t duration)   void InjectTsWriterForTesting (std::unique_ptr< TsWriter > writer) @@ -164,7 +164,7 @@ void  - + @@ -189,7 +189,7 @@ void 
Status shaka::media::mp2t::TsSegmenter::AddSample Status shaka::media::mp2t::TsSegmenter::AddSample ( std::shared_ptr< MediaSample sample) - + @@ -208,7 +208,7 @@ void  diff --git a/docs/de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html b/docs/de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html index 85aec4ab2b..106dce84cd 100644 --- a/docs/de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html +++ b/docs/de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html @@ -412,7 +412,7 @@ bool  diff --git a/docs/de/dfd/stream__info_8cc_source.html b/docs/de/dfd/stream__info_8cc_source.html index 164fe93063..8b3ea5ec53 100644 --- a/docs/de/dfd/stream__info_8cc_source.html +++ b/docs/de/dfd/stream__info_8cc_source.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d00/playready__key__source_8h_source.html b/docs/df/d00/playready__key__source_8h_source.html index 18e0e612ea..e704dadf71 100644 --- a/docs/df/d00/playready__key__source_8h_source.html +++ b/docs/df/d00/playready__key__source_8h_source.html @@ -118,15 +118,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
38  const std::string& client_cert_private_key_password);
39  ~PlayReadyKeySource() override;
40 
-
43  Status FetchKeys(EmeInitDataType init_data_type,
+
43  Status FetchKeys(EmeInitDataType init_data_type,
44  const std::vector<uint8_t>& init_data) override;
-
45  Status GetKey(const std::string& stream_label, EncryptionKey* key) override;
-
46  Status GetKey(const std::vector<uint8_t>& key_id,
+
45  Status GetKey(const std::string& stream_label, EncryptionKey* key) override;
+
46  Status GetKey(const std::vector<uint8_t>& key_id,
47  EncryptionKey* key) override;
-
48  Status GetCryptoPeriodKey(uint32_t crypto_period_index,
+
48  Status GetCryptoPeriodKey(uint32_t crypto_period_index,
49  const std::string& stream_label,
50  EncryptionKey* key) override;
-
52  virtual Status FetchKeysWithProgramIdentifier(const std::string& program_identifier);
+
52  virtual Status FetchKeysWithProgramIdentifier(const std::string& program_identifier);
53 
58  static std::unique_ptr<PlayReadyKeySource> CreateFromKeyAndKeyId(
59  const std::vector<uint8_t>& key_id,
@@ -136,8 +136,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
64  }
65 
66  private:
-
67  Status GetKeyInternal();
-
68  Status GetCryptoPeriodKeyInternal();
+
67  Status GetKeyInternal();
+
68  Status GetCryptoPeriodKeyInternal();
69  explicit PlayReadyKeySource(std::unique_ptr<EncryptionKey> key);
70 
71  std::unique_ptr<EncryptionKey> encryption_key_;
@@ -161,13 +161,12 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
void SetCaFile(const std::string &ca_file)
Sets the Certificate Authority file for validating self-signed certificates.
Status FetchKeys(EmeInitDataType init_data_type, const std::vector< uint8_t > &init_data) override
-
KeySource is responsible for encryption key acquisition.
Definition: key_source.h:45
static std::unique_ptr< PlayReadyKeySource > CreateFromKeyAndKeyId(const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &key)
diff --git a/docs/df/d05/vp__codec__configuration__record_8cc_source.html b/docs/df/d05/vp__codec__configuration__record_8cc_source.html index 6ea03ac3fa..3bb7b2a0f4 100644 --- a/docs/df/d05/vp__codec__configuration__record_8cc_source.html +++ b/docs/df/d05/vp__codec__configuration__record_8cc_source.html @@ -418,7 +418,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d1a/offset__byte__queue_8cc_source.html b/docs/df/d1a/offset__byte__queue_8cc_source.html index 814c8c9e74..b73e04138a 100644 --- a/docs/df/d1a/offset__byte__queue_8cc_source.html +++ b/docs/df/d1a/offset__byte__queue_8cc_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html b/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html index ead266cdc4..da25ceca40 100644 --- a/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html +++ b/docs/df/d1c/classshaka_1_1media_1_1MediaSample-members.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::mp2t::TsSegmenter::Finalize Status shaka::media::mp2t::TsSegmenter::Finalize ( ) - + @@ -244,7 +244,7 @@ void 
Status shaka::media::mp2t::TsSegmenter::FinalizeSegment Status shaka::media::mp2t::TsSegmenter::FinalizeSegment ( uint64_t  start_timestamp, - + @@ -272,7 +272,7 @@ void 
Status shaka::media::mp2t::TsSegmenter::Initialize Status shaka::media::mp2t::TsSegmenter::Initialize ( const StreamInfo stream_info) diff --git a/docs/de/ddf/structshaka_1_1media_1_1mp4_1_1MediaData-members.html b/docs/de/ddf/structshaka_1_1media_1_1mp4_1_1MediaData-members.html index 6af31b4635..cc3b48a3a0 100644 --- a/docs/de/ddf/structshaka_1_1media_1_1mp4_1_1MediaData-members.html +++ b/docs/de/ddf/structshaka_1_1media_1_1mp4_1_1MediaData-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html b/docs/de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html index d00bf48982..cfea04e02d 100644 --- a/docs/de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html +++ b/docs/de/de0/classshaka_1_1media_1_1DecoderConfigurationRecord.html @@ -333,7 +333,7 @@ void 
diff --git a/docs/de/de0/classshaka_1_1media_1_1mp4_1_1MP4Muxer-members.html b/docs/de/de0/classshaka_1_1media_1_1mp4_1_1MP4Muxer-members.html index 561625414a..3d2ea03341 100644 --- a/docs/de/de0/classshaka_1_1media_1_1mp4_1_1MP4Muxer-members.html +++ b/docs/de/de0/classshaka_1_1media_1_1mp4_1_1MP4Muxer-members.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/de/de4/structshaka_1_1media_1_1H264Pps.html b/docs/de/de4/structshaka_1_1media_1_1H264Pps.html index 24625b89f7..85a9fa66b3 100644 --- a/docs/de/de4/structshaka_1_1media_1_1H264Pps.html +++ b/docs/de/de4/structshaka_1_1media_1_1H264Pps.html @@ -167,7 +167,7 @@ int 
second_chroma_qp_index diff --git a/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html b/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html index 270d9f416a..d4c3bde991 100644 --- a/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html +++ b/docs/de/dea/classshaka_1_1media_1_1H26xByteToUnitStreamConverter.html @@ -287,7 +287,7 @@ void WarnIfNotMatch (i diff --git a/docs/de/def/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample.html b/docs/de/def/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample.html index e0598b31da..cd86d75be9 100644 --- a/docs/de/def/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample.html +++ b/docs/de/def/structshaka_1_1media_1_1mp4_1_1DecodingTimeToSample.html @@ -182,7 +182,7 @@ Additional Inherited Members
is_keyframe () co diff --git a/docs/de/dfa/muxer__listener_8h_source.html b/docs/de/dfa/muxer__listener_8h_source.html index feeb2926e9..aa84461f4a 100644 --- a/docs/de/dfa/muxer__listener_8h_source.html +++ b/docs/de/dfa/muxer__listener_8h_source.html @@ -173,7 +173,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html b/docs/de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html index 6886d22a4b..2f7bbc57c3 100644 --- a/docs/de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html +++ b/docs/de/dfa/structshaka_1_1media_1_1mp4_1_1OpusSpecific.html @@ -176,7 +176,7 @@ Additional Inherited Members
diff --git a/docs/df/d1c/composition__offset__iterator_8h_source.html b/docs/df/d1c/composition__offset__iterator_8h_source.html index b3d6745dc0..f72bb08ddf 100644 --- a/docs/df/d1c/composition__offset__iterator_8h_source.html +++ b/docs/df/d1c/composition__offset__iterator_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d21/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html b/docs/df/d21/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html index f68354a1ef..dacceb568a 100644 --- a/docs/df/d21/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html +++ b/docs/df/d21/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser-members.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/df/d22/validate__flag_8h_source.html b/docs/df/d22/validate__flag_8h_source.html index 75e56113f7..90212888c4 100644 --- a/docs/df/d22/validate__flag_8h_source.html +++ b/docs/df/d22/validate__flag_8h_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d2a/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html b/docs/df/d2a/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html index 3700fa281e..47d00a96b6 100644 --- a/docs/df/d2a/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html +++ b/docs/df/d2a/classshaka_1_1media_1_1mp4_1_1DecodingTimeIterator-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html b/docs/df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html index e1dd5f58c5..8b94443060 100644 --- a/docs/df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html +++ b/docs/df/d2d/classshaka_1_1media_1_1AesCbcDecryptor.html @@ -279,7 +279,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/df/d31/muxer__util_8cc_source.html b/docs/df/d31/muxer__util_8cc_source.html index 26c8658f86..0c5cd62bdd 100644 --- a/docs/df/d31/muxer__util_8cc_source.html +++ b/docs/df/d31/muxer__util_8cc_source.html @@ -248,7 +248,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d32/audio__stream__info_8h_source.html b/docs/df/d32/audio__stream__info_8h_source.html index 7ac4390455..979b97261b 100644 --- a/docs/df/d32/audio__stream__info_8h_source.html +++ b/docs/df/d32/audio__stream__info_8h_source.html @@ -164,7 +164,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d33/classshaka_1_1AdaptationSet-members.html b/docs/df/d33/classshaka_1_1AdaptationSet-members.html index 6f06063baf..73f6fff029 100644 --- a/docs/df/d33/classshaka_1_1AdaptationSet-members.html +++ b/docs/df/d33/classshaka_1_1AdaptationSet-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d38/structshaka_1_1media_1_1mp4_1_1ChunkInfo.html b/docs/df/d38/structshaka_1_1media_1_1mp4_1_1ChunkInfo.html index 537a78d1ce..209cd83393 100644 --- a/docs/df/d38/structshaka_1_1media_1_1mp4_1_1ChunkInfo.html +++ b/docs/df/d38/structshaka_1_1media_1_1mp4_1_1ChunkInfo.html @@ -115,7 +115,7 @@ uint32_t sample_descriptio diff --git a/docs/df/d38/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html b/docs/df/d38/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html index 283062578f..5638a681dc 100644 --- a/docs/df/d38/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html +++ b/docs/df/d38/structshaka_1_1media_1_1mp4_1_1MovieExtendsHeader-members.html @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html b/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html index e8d1388074..01414cf54e 100644 --- a/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html +++ b/docs/df/d3c/classshaka_1_1media_1_1RequestSigner.html @@ -180,7 +180,7 @@ Protected Member Functions diff --git a/docs/df/d46/classshaka_1_1media_1_1Muxer.html b/docs/df/d46/classshaka_1_1media_1_1Muxer.html index 99f8358824..afc7456b41 100644 --- a/docs/df/d46/classshaka_1_1media_1_1Muxer.html +++ b/docs/df/d46/classshaka_1_1media_1_1Muxer.html @@ -128,14 +128,14 @@ const std::vector
  - Public Member Functions inherited from shaka::media::MediaHandler -Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler) +Status SetHandler (size_t output_stream_index, std::shared_ptr< MediaHandler > handler)  Connect downstream handler at the specified output stream index.
  -Status AddHandler (std::shared_ptr< MediaHandler > handler) +Status AddHandler (std::shared_ptr< MediaHandler > handler)  Connect downstream handler to the next availble output stream index.
  -Status Initialize () +Status Initialize ()   bool IsConnected () @@ -157,12 +157,12 @@ const clock ()  
MediaHandler implementation overrides.
-
Status InitializeInternal () override +Status InitializeInternal () override   -Status Process (std::unique_ptr< StreamData > stream_data) override +Status Process (std::unique_ptr< StreamData > stream_data) override   -Status OnFlushRequest (size_t input_stream_index) override +Status OnFlushRequest (size_t input_stream_index) override  Event handler for flush request at the specific input stream index.
  - Protected Member Functions inherited from shaka::media::MediaHandler @@ -170,38 +170,38 @@ base::Clock * clock () virtual bool ValidateOutputStreamIndex (size_t stream_index) const  Validate if the stream at the specified index actually exists.
  -Status Dispatch (std::unique_ptr< StreamData > stream_data) +Status Dispatch (std::unique_ptr< StreamData > stream_data)   -Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info) +Status DispatchPeriodInfo (size_t stream_index, std::shared_ptr< PeriodInfo > period_info)  Dispatch the period info to downstream handlers.
  -Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info) +Status DispatchStreamInfo (size_t stream_index, std::shared_ptr< StreamInfo > stream_info)  Dispatch the stream info to downstream handlers.
  -Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample) +Status DispatchMediaSample (size_t stream_index, std::shared_ptr< MediaSample > media_sample)  Dispatch the media sample to downstream handlers.
  -Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample) +Status DispatchTextSample (size_t stream_index, std::shared_ptr< TextSample > text_sample)  Dispatch the text sample to downsream handlers.
  -Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event) +Status DispatchMediaEvent (size_t stream_index, std::shared_ptr< MediaEvent > media_event)  Dispatch the media event to downstream handlers.
  -Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info) +Status DispatchSegmentInfo (size_t stream_index, std::shared_ptr< SegmentInfo > segment_info)  Dispatch the segment info to downstream handlers.
  -Status FlushDownstream (size_t output_stream_index) +Status FlushDownstream (size_t output_stream_index)  Flush the downstream connected at the specified output stream index.
  -Status FlushAllDownstreams () +Status FlushAllDownstreams ()  Flush all connected downstreams.
  @@ -250,7 +250,7 @@ std::pair< std::shared_ptr
- + @@ -278,7 +278,7 @@ std::pair< std::shared_ptr
Status shaka::media::Muxer::InitializeInternal Status shaka::media::Muxer::InitializeInternal ( ) - + @@ -389,7 +389,7 @@ std::pair< std::shared_ptr
diff --git a/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html b/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html index 7dee52a307..b000155e3b 100644 --- a/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html +++ b/docs/df/d46/classshaka_1_1media_1_1ThreadedIoFile-members.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
Status shaka::media::Muxer::Process Status shaka::media::Muxer::Process ( std::unique_ptr< StreamData stream_data)
diff --git a/docs/df/d50/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter-members.html b/docs/df/d50/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter-members.html index 197a2c6a95..505d04219b 100644 --- a/docs/df/d50/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter-members.html +++ b/docs/df/d50/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter-members.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
diff --git a/docs/df/d51/classshaka_1_1media_1_1RsaPrivateKey-members.html b/docs/df/d51/classshaka_1_1media_1_1RsaPrivateKey-members.html index 0661925758..495ab34a50 100644 --- a/docs/df/d51/classshaka_1_1media_1_1RsaPrivateKey-members.html +++ b/docs/df/d51/classshaka_1_1media_1_1RsaPrivateKey-members.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d60/classshaka_1_1MockMpdBuilder.html b/docs/df/d60/classshaka_1_1MockMpdBuilder.html index e4532cabe4..e279b5b3cc 100644 --- a/docs/df/d60/classshaka_1_1MockMpdBuilder.html +++ b/docs/df/d60/classshaka_1_1MockMpdBuilder.html @@ -143,7 +143,7 @@ Additional Inherited Members diff --git a/docs/df/d63/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry-members.html b/docs/df/d63/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry-members.html index 424ac4ff3e..9a2ba6eb21 100644 --- a/docs/df/d63/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry-members.html +++ b/docs/df/d63/structshaka_1_1media_1_1mp4_1_1AudioRollRecoveryEntry-members.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d66/classshaka_1_1media_1_1KeyFetcher.html b/docs/df/d66/classshaka_1_1media_1_1KeyFetcher.html index db6f2f1337..bf5944d047 100644 --- a/docs/df/d66/classshaka_1_1media_1_1KeyFetcher.html +++ b/docs/df/d66/classshaka_1_1media_1_1KeyFetcher.html @@ -110,7 +110,7 @@ Inheritance diagram for shaka::media::KeyFetcher: - +

Public Member Functions

virtual Status FetchKeys (const std::string &service_address, const std::string &request, std::string *response)=0
virtual Status FetchKeys (const std::string &service_address, const std::string &request, std::string *response)=0
 

Detailed Description

@@ -126,7 +126,7 @@ Public Member Functions - + @@ -177,7 +177,7 @@ Public Member Functions diff --git a/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html b/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html index 589948401e..d7998a0636 100644 --- a/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html +++ b/docs/df/d6a/classshaka_1_1MockMpdBuilder-members.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
virtual Status shaka::media::KeyFetcher::FetchKeys virtual Status shaka::media::KeyFetcher::FetchKeys ( const std::string &  service_address,
diff --git a/docs/df/d6a/structshaka_1_1media_1_1mp4_1_1OpusSpecific-members.html b/docs/df/d6a/structshaka_1_1media_1_1mp4_1_1OpusSpecific-members.html index 8eb4068aff..0b2ace5e9d 100644 --- a/docs/df/d6a/structshaka_1_1media_1_1mp4_1_1OpusSpecific-members.html +++ b/docs/df/d6a/structshaka_1_1media_1_1mp4_1_1OpusSpecific-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample.html b/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample.html index 8e0def821a..4a61e46a14 100644 --- a/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample.html +++ b/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1CompositionTimeToSample.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1TrackFragment.html b/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1TrackFragment.html index 000cb0adfc..35b709d824 100644 --- a/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1TrackFragment.html +++ b/docs/df/d7b/structshaka_1_1media_1_1mp4_1_1TrackFragment.html @@ -198,7 +198,7 @@ Additional Inherited Members diff --git a/docs/df/d7d/webm__info__parser_8cc_source.html b/docs/df/d7d/webm__info__parser_8cc_source.html index 8d3584b18e..e957248382 100644 --- a/docs/df/d7d/webm__info__parser_8cc_source.html +++ b/docs/df/d7d/webm__info__parser_8cc_source.html @@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d82/classshaka_1_1media_1_1DecoderConfigurationRecord-members.html b/docs/df/d82/classshaka_1_1media_1_1DecoderConfigurationRecord-members.html index bcb835c2dd..e725085bec 100644 --- a/docs/df/d82/classshaka_1_1media_1_1DecoderConfigurationRecord-members.html +++ b/docs/df/d82/classshaka_1_1media_1_1DecoderConfigurationRecord-members.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d87/classshaka_1_1media_1_1AesCryptor.html b/docs/df/d87/classshaka_1_1media_1_1AesCryptor.html index e81624c037..f19752997e 100644 --- a/docs/df/d87/classshaka_1_1media_1_1AesCryptor.html +++ b/docs/df/d87/classshaka_1_1media_1_1AesCryptor.html @@ -424,7 +424,7 @@ AES_KEY * mutable_aes_key< diff --git a/docs/df/d8a/structshaka_1_1media_1_1mp4_1_1DataEntryUrl.html b/docs/df/d8a/structshaka_1_1media_1_1mp4_1_1DataEntryUrl.html index e279e1330e..fe41a33108 100644 --- a/docs/df/d8a/structshaka_1_1media_1_1mp4_1_1DataEntryUrl.html +++ b/docs/df/d8a/structshaka_1_1media_1_1mp4_1_1DataEntryUrl.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/df/d8a/vp9__parser_8h_source.html b/docs/df/d8a/vp9__parser_8h_source.html index 3c19cbadba..e4565b73ed 100644 --- a/docs/df/d8a/vp9__parser_8h_source.html +++ b/docs/df/d8a/vp9__parser_8h_source.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d8a/vpx__parser_8h_source.html b/docs/df/d8a/vpx__parser_8h_source.html index 88343a5126..fab7053f1f 100644 --- a/docs/df/d8a/vpx__parser_8h_source.html +++ b/docs/df/d8a/vpx__parser_8h_source.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d8c/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html b/docs/df/d8c/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html index c3718925b3..25e8c33a25 100644 --- a/docs/df/d8c/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html +++ b/docs/df/d8c/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter-members.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d8d/es__parser__h26x_8h_source.html b/docs/df/d8d/es__parser__h26x_8h_source.html index 5925ea5397..55725fa1a2 100644 --- a/docs/df/d8d/es__parser__h26x_8h_source.html +++ b/docs/df/d8d/es__parser__h26x_8h_source.html @@ -235,7 +235,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html b/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html index 29bf8706cc..99337d422e 100644 --- a/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html +++ b/docs/df/d94/classshaka_1_1RepresentationStateChangeListener.html @@ -195,7 +195,7 @@ Public Member Functions diff --git a/docs/df/d96/xml__node_8cc_source.html b/docs/df/d96/xml__node_8cc_source.html index 7a83014a83..3dcd2ec37a 100644 --- a/docs/df/d96/xml__node_8cc_source.html +++ b/docs/df/d96/xml__node_8cc_source.html @@ -513,7 +513,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/d9a/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html b/docs/df/d9a/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html index b5c952ab82..4f5f914132 100644 --- a/docs/df/d9a/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html +++ b/docs/df/d9a/structshaka_1_1media_1_1mp4_1_1TrackFragmentDecodeTime.html @@ -182,7 +182,7 @@ Additional Inherited Members diff --git a/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html b/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html index a9ba1096da..25942a542a 100644 --- a/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html +++ b/docs/df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html @@ -315,7 +315,7 @@ Additional Inherited Members diff --git a/docs/df/da0/structshaka_1_1media_1_1mp4_1_1ChunkOffset-members.html b/docs/df/da0/structshaka_1_1media_1_1mp4_1_1ChunkOffset-members.html index 8acab53aeb..2e459c852f 100644 --- a/docs/df/da0/structshaka_1_1media_1_1mp4_1_1ChunkOffset-members.html +++ b/docs/df/da0/structshaka_1_1media_1_1mp4_1_1ChunkOffset-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/da5/structshaka_1_1media_1_1mp4_1_1CueIDBox-members.html b/docs/df/da5/structshaka_1_1media_1_1mp4_1_1CueIDBox-members.html index 7ef0a1577d..407b848755 100644 --- a/docs/df/da5/structshaka_1_1media_1_1mp4_1_1CueIDBox-members.html +++ b/docs/df/da5/structshaka_1_1media_1_1mp4_1_1CueIDBox-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dad/decrypt__config_8h_source.html b/docs/df/dad/decrypt__config_8h_source.html index 2b377587f1..b59e4091f5 100644 --- a/docs/df/dad/decrypt__config_8h_source.html +++ b/docs/df/dad/decrypt__config_8h_source.html @@ -176,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dc7/avc__decoder__configuration__record_8h_source.html b/docs/df/dc7/avc__decoder__configuration__record_8h_source.html index 70ba0d2147..799ebe3d22 100644 --- a/docs/df/dc7/avc__decoder__configuration__record_8h_source.html +++ b/docs/df/dc7/avc__decoder__configuration__record_8h_source.html @@ -155,7 +155,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dd2/mpd__utils_8h_source.html b/docs/df/dd2/mpd__utils_8h_source.html index 1b3fad563c..07d55c909f 100644 --- a/docs/df/dd2/mpd__utils_8h_source.html +++ b/docs/df/dd2/mpd__utils_8h_source.html @@ -177,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dd2/structshaka_1_1media_1_1H264Pps-members.html b/docs/df/dd2/structshaka_1_1media_1_1H264Pps-members.html index afcdfc06a7..15da627d06 100644 --- a/docs/df/dd2/structshaka_1_1media_1_1H264Pps-members.html +++ b/docs/df/dd2/structshaka_1_1media_1_1H264Pps-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dd3/structshaka_1_1media_1_1MediaEvent.html b/docs/df/dd3/structshaka_1_1media_1_1MediaEvent.html index 12aade0da3..f06750e791 100644 --- a/docs/df/dd3/structshaka_1_1media_1_1MediaEvent.html +++ b/docs/df/dd3/structshaka_1_1media_1_1MediaEvent.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/ddc/webm_2segmenter_8h_source.html b/docs/df/ddc/webm_2segmenter_8h_source.html index daa06ff77d..fa140a48a8 100644 --- a/docs/df/ddc/webm_2segmenter_8h_source.html +++ b/docs/df/ddc/webm_2segmenter_8h_source.html @@ -97,9 +97,9 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
8 #define MEDIA_FORMATS_WEBM_SEGMENTER_H_
9 
10 #include <memory>
-
11 #include "packager/media/base/status.h"
-
12 #include "packager/media/formats/webm/mkv_writer.h"
-
13 #include "packager/media/formats/webm/seek_head.h"
+
11 #include "packager/media/formats/webm/mkv_writer.h"
+
12 #include "packager/media/formats/webm/seek_head.h"
+
13 #include "packager/status.h"
14 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
15 
16 namespace shaka {
@@ -121,15 +121,15 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
32  explicit Segmenter(const MuxerOptions& options);
33  virtual ~Segmenter();
34 
- +
41  Status Initialize(StreamInfo* info,
42  ProgressListener* progress_listener,
43  MuxerListener* muxer_listener);
44 
-
47  Status Finalize();
+
47  Status Finalize();
48 
-
52  Status AddSample(std::shared_ptr<MediaSample> sample);
+
52  Status AddSample(std::shared_ptr<MediaSample> sample);
53 
-
55  virtual Status FinalizeSegment(uint64_t start_timestamp,
+
55  virtual Status FinalizeSegment(uint64_t start_timestamp,
56  uint64_t duration_timestamp,
57  bool is_subsegment) = 0;
58 
@@ -142,8 +142,8 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
70  protected:
72  uint64_t FromBmffTimestamp(uint64_t bmff_timestamp);
74  uint64_t FromWebMTimecode(uint64_t webm_timecode);
-
76  Status WriteSegmentHeader(uint64_t file_size, MkvWriter* writer);
-
78  Status SetCluster(uint64_t start_webm_timecode,
+
76  Status WriteSegmentHeader(uint64_t file_size, MkvWriter* writer);
+
78  Status SetCluster(uint64_t start_webm_timecode,
79  uint64_t position,
80  MkvWriter* writer);
81 
@@ -160,23 +160,23 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
93  int track_id() const { return track_id_; }
94  uint64_t segment_payload_pos() const { return segment_payload_pos_; }
95 
-
96  virtual Status DoInitialize() = 0;
-
97  virtual Status DoFinalize() = 0;
+
96  virtual Status DoInitialize() = 0;
+
97  virtual Status DoFinalize() = 0;
98 
99  private:
-
100  Status InitializeAudioTrack(const AudioStreamInfo* info,
+
100  Status InitializeAudioTrack(const AudioStreamInfo* info,
101  mkvmuxer::AudioTrack* track);
-
102  Status InitializeVideoTrack(const VideoStreamInfo* info,
+
102  Status InitializeVideoTrack(const VideoStreamInfo* info,
103  mkvmuxer::VideoTrack* track);
104 
105  // Writes the previous frame to the file.
-
106  Status WriteFrame(bool write_duration);
+
106  Status WriteFrame(bool write_duration);
107 
108  // This is called when there needs to be a new (sub)segment.
109  // In single-segment mode, a Cluster is a segment and there is no subsegment.
110  // In multi-segment mode, a new file is a segment and the clusters in the file
111  // are subsegments.
-
112  virtual Status NewSegment(uint64_t start_timestamp, bool is_subsegment) = 0;
+
112  virtual Status NewSegment(uint64_t start_timestamp, bool is_subsegment) = 0;
113 
114  // Store the previous sample so we know which one is the last frame.
115  std::shared_ptr<MediaSample> prev_sample_;
@@ -233,7 +233,6 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
An implementation of IMkvWriter using our File type.
Definition: mkv_writer.h:21
Status Initialize(StreamInfo *info, ProgressListener *progress_listener, MuxerListener *muxer_listener)
Definition: segmenter.cc:78
-
void UpdateProgress(uint64_t progress)
Update segmentation progress using ProgressListener.
Definition: segmenter.cc:265
virtual bool GetInitRangeStartAndEnd(uint64_t *start, uint64_t *end)=0
@@ -243,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dde/ts__section__psi_8cc_source.html b/docs/df/dde/ts__section__psi_8cc_source.html index b046bd5a65..7ca18438b9 100644 --- a/docs/df/dde/ts__section__psi_8cc_source.html +++ b/docs/df/dde/ts__section__psi_8cc_source.html @@ -230,7 +230,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html b/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html index 0fca54a0c9..8b2bf2f687 100644 --- a/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html +++ b/docs/df/de2/structshaka_1_1media_1_1H264SEIRecoveryPoint.html @@ -118,7 +118,7 @@ int changing_slice_group_i diff --git a/docs/df/de3/text__track__config_8cc_source.html b/docs/df/de3/text__track__config_8cc_source.html index 5ba5231c9a..2f78ef169b 100644 --- a/docs/df/de3/text__track__config_8cc_source.html +++ b/docs/df/de3/text__track__config_8cc_source.html @@ -122,7 +122,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/de9/segment__info_8h_source.html b/docs/df/de9/segment__info_8h_source.html index 07eda51b6d..eca3dd585b 100644 --- a/docs/df/de9/segment__info_8h_source.html +++ b/docs/df/de9/segment__info_8h_source.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/df1/structshaka_1_1ContentProtectionElement-members.html b/docs/df/df1/structshaka_1_1ContentProtectionElement-members.html index 52c81e3bd7..abdc0ba835 100644 --- a/docs/df/df1/structshaka_1_1ContentProtectionElement-members.html +++ b/docs/df/df1/structshaka_1_1ContentProtectionElement-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dfb/classshaka_1_1media_1_1UdpOptions-members.html b/docs/df/dfb/classshaka_1_1media_1_1UdpOptions-members.html index 25c834d979..45fc06c83f 100644 --- a/docs/df/dfb/classshaka_1_1media_1_1UdpOptions-members.html +++ b/docs/df/dfb/classshaka_1_1media_1_1UdpOptions-members.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/df/dfc/playready__key__encryption__flags_8cc_source.html b/docs/df/dfc/playready__key__encryption__flags_8cc_source.html index 1a73e863b3..3c53180639 100644 --- a/docs/df/dfc/playready__key__encryption__flags_8cc_source.html +++ b/docs/df/dfc/playready__key__encryption__flags_8cc_source.html @@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); diff --git a/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html b/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html index 458d88d623..f317684f19 100644 --- a/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html +++ b/docs/dir_0494b8c96e3190a776d2b97ade9c8ddf.html @@ -165,7 +165,7 @@ Files diff --git a/docs/dir_2618cd273dea54f184e42d7a562af818.html b/docs/dir_2618cd273dea54f184e42d7a562af818.html index 7dfa11dd71..78d4efc688 100644 --- a/docs/dir_2618cd273dea54f184e42d7a562af818.html +++ b/docs/dir_2618cd273dea54f184e42d7a562af818.html @@ -136,7 +136,7 @@ Files diff --git a/docs/dir_263e692158cf359dd655c259558153d6.html b/docs/dir_263e692158cf359dd655c259558153d6.html index da4c4ffb86..e368cd9072 100644 --- a/docs/dir_263e692158cf359dd655c259558153d6.html +++ b/docs/dir_263e692158cf359dd655c259558153d6.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_279fd47bebb21302c25cfb685e84c359.html b/docs/dir_279fd47bebb21302c25cfb685e84c359.html index 1bbf60e08f..43f93dcf2b 100644 --- a/docs/dir_279fd47bebb21302c25cfb685e84c359.html +++ b/docs/dir_279fd47bebb21302c25cfb685e84c359.html @@ -125,7 +125,7 @@ Files diff --git a/docs/dir_2eceb70145328c029a5f43350007537a.html b/docs/dir_2eceb70145328c029a5f43350007537a.html index 9d01485986..62c57a3a21 100644 --- a/docs/dir_2eceb70145328c029a5f43350007537a.html +++ b/docs/dir_2eceb70145328c029a5f43350007537a.html @@ -105,7 +105,7 @@ Files diff --git a/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html b/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html index 50dcbab6be..8308d23f0d 100644 --- a/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html +++ b/docs/dir_39dc0668bd5a501998f94e8b4e546c71.html @@ -107,7 +107,7 @@ Directories diff --git a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html index 29169ad4bd..38f34a1f6f 100644 --- a/docs/dir_3e9291fd7a18fdecc763294cb2628910.html +++ b/docs/dir_3e9291fd7a18fdecc763294cb2628910.html @@ -149,7 +149,7 @@ Files diff --git a/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html b/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html index 15c59fea36..69221272a3 100644 --- a/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html +++ b/docs/dir_49627ef5ef0630f6cf11dd06344c4cf0.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html b/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html index 69e44b182c..124d606221 100644 --- a/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html +++ b/docs/dir_5039d854a18988ed1f1dbebc120ffbf7.html @@ -181,7 +181,7 @@ Files diff --git a/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html b/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html index 3e3d4d9f70..6c28daca0b 100644 --- a/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html +++ b/docs/dir_65f7acfa8cf3a5f1edc11faa2428b914.html @@ -101,7 +101,7 @@ Directories diff --git a/docs/dir_679a6f4e9fa092b388fc986148018f2a.html b/docs/dir_679a6f4e9fa092b388fc986148018f2a.html index 895ab9838d..0d4a069c9d 100644 --- a/docs/dir_679a6f4e9fa092b388fc986148018f2a.html +++ b/docs/dir_679a6f4e9fa092b388fc986148018f2a.html @@ -95,7 +95,7 @@ Files diff --git a/docs/dir_7f5e01ba7faf319a30cabd201b6ef121.html b/docs/dir_7f5e01ba7faf319a30cabd201b6ef121.html index f63ea9b2e3..1963bf5745 100644 --- a/docs/dir_7f5e01ba7faf319a30cabd201b6ef121.html +++ b/docs/dir_7f5e01ba7faf319a30cabd201b6ef121.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_89dd766eb2df7d7257dbe806a34404af.html b/docs/dir_89dd766eb2df7d7257dbe806a34404af.html index 1a567ac268..7bc5ba3abd 100644 --- a/docs/dir_89dd766eb2df7d7257dbe806a34404af.html +++ b/docs/dir_89dd766eb2df7d7257dbe806a34404af.html @@ -93,7 +93,7 @@ Directories diff --git a/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html b/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html index 18ef7160b3..98ba18f29a 100644 --- a/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html +++ b/docs/dir_aa73376d632f252584a1c0dfbefab2c4.html @@ -117,7 +117,7 @@ Files diff --git a/docs/dir_b0da65f92a9541ef8f345654d4bd88fd.html b/docs/dir_b0da65f92a9541ef8f345654d4bd88fd.html index ed796699fc..1772d35c97 100644 --- a/docs/dir_b0da65f92a9541ef8f345654d4bd88fd.html +++ b/docs/dir_b0da65f92a9541ef8f345654d4bd88fd.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_ba94ecd487194410fd7c4b70c530929c.html b/docs/dir_ba94ecd487194410fd7c4b70c530929c.html index e96e131536..6b89896de1 100644 --- a/docs/dir_ba94ecd487194410fd7c4b70c530929c.html +++ b/docs/dir_ba94ecd487194410fd7c4b70c530929c.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html index 81b17590cc..a096190b7b 100644 --- a/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html +++ b/docs/dir_c6ada2450b25ab5438a4dba6c9b890af.html @@ -223,10 +223,6 @@ Files   file  rsa_key.h [code]   -file  status.cc [code] -  -file  status.h [code] -  file  stream_info.cc [code]   file  stream_info.h [code] @@ -259,7 +255,7 @@ Files diff --git a/docs/dir_d422163b96683743ed3963d4aac17747.html b/docs/dir_d422163b96683743ed3963d4aac17747.html index 57699210d5..7a9ddd6c76 100644 --- a/docs/dir_d422163b96683743ed3963d4aac17747.html +++ b/docs/dir_d422163b96683743ed3963d4aac17747.html @@ -151,7 +151,7 @@ Files diff --git a/docs/dir_ebd49ab0652c2e9158bbb57c55382729.html b/docs/dir_ebd49ab0652c2e9158bbb57c55382729.html index 619bfa2a58..f84fc3a58b 100644 --- a/docs/dir_ebd49ab0652c2e9158bbb57c55382729.html +++ b/docs/dir_ebd49ab0652c2e9158bbb57c55382729.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html b/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html index e30a069fba..af41b5ae77 100644 --- a/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html +++ b/docs/dir_eeaeb49ac3913fcfb450d3ce9cc0141b.html @@ -93,7 +93,7 @@ Files diff --git a/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html b/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html index 8384379dec..ca9a84709a 100644 --- a/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html +++ b/docs/dir_f7dcbe7025bbacfc4b9a7dff6ad41d72.html @@ -171,7 +171,7 @@ Files diff --git a/docs/files.html b/docs/files.html index ae954874f4..07329cb2bc 100644 --- a/docs/files.html +++ b/docs/files.html @@ -188,22 +188,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); ||o*request_signer.h ||o*rsa_key.cc ||o*rsa_key.h -||o*status.cc -||o*status.h -||o*stream_info.cc -||o*stream_info.h -||o*text_sample.cc -||o*text_sample.h -||o*text_stream_info.cc -||o*text_stream_info.h -||o*text_track.h -||o*text_track_config.cc -||o*text_track_config.h -||o*timestamp.h -||o*video_stream_info.cc -||o*video_stream_info.h -||o*widevine_key_source.cc -||\*widevine_key_source.h +||o*stream_info.cc +||o*stream_info.h +||o*text_sample.cc +||o*text_sample.h +||o*text_stream_info.cc +||o*text_stream_info.h +||o*text_track.h +||o*text_track_config.cc +||o*text_track_config.h +||o*timestamp.h +||o*video_stream_info.cc +||o*video_stream_info.h +||o*widevine_key_source.cc +||\*widevine_key_source.h |o+chunking ||o*chunking_handler.cc ||\*chunking_handler.h @@ -460,7 +458,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions.html b/docs/functions.html index a7943e0922..242a018799 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -251,7 +251,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_b.html b/docs/functions_b.html index 12fa9282d7..c51c613b07 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -240,7 +240,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_c.html b/docs/functions_c.html index 54fdec8244..906f64d305 100644 --- a/docs/functions_c.html +++ b/docs/functions_c.html @@ -137,7 +137,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Clear() : shaka::media::IoCache -, shaka::media::Status
  • clear_lead_in_seconds : shaka::media::EncryptionOptions @@ -200,7 +199,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : shaka::media::File
  • CopyFrom() -: shaka::media::MediaSample +: shaka::media::MediaSample
  • Create() : shaka::media::FixedKeySource @@ -248,7 +247,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_d.html b/docs/functions_d.html index ecb054e5ec..e8b7352850 100644 --- a/docs/functions_d.html +++ b/docs/functions_d.html @@ -183,7 +183,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_e.html b/docs/functions_e.html index 95f999bbf6..337e2f68f9 100644 --- a/docs/functions_e.html +++ b/docs/functions_e.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_enum.html b/docs/functions_enum.html index 80ab5d3d77..4a4267de8c 100644 --- a/docs/functions_enum.html +++ b/docs/functions_enum.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_eval.html b/docs/functions_eval.html index 4add71ccb7..1ef2805816 100644 --- a/docs/functions_eval.html +++ b/docs/functions_eval.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_f.html b/docs/functions_f.html index bbdd3cc53e..72dace62e0 100644 --- a/docs/functions_f.html +++ b/docs/functions_f.html @@ -196,7 +196,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func.html b/docs/functions_func.html index 89ecd699dd..4258507456 100644 --- a/docs/functions_func.html +++ b/docs/functions_func.html @@ -250,7 +250,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html index b5e2bfab56..badf706a93 100644 --- a/docs/functions_func_b.html +++ b/docs/functions_func_b.html @@ -236,7 +236,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html index f59c9a046c..943321ad41 100644 --- a/docs/functions_func_c.html +++ b/docs/functions_func_c.html @@ -136,7 +136,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Clear() : shaka::media::IoCache -, shaka::media::Status
  • ClearOutputStreamDataVector() : shaka::media::MediaHandlerTestBase @@ -193,10 +192,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : shaka::media::File
  • CopyFile() -: shaka::media::File +: shaka::media::File
  • CopyFrom() -: shaka::media::MediaSample +: shaka::media::MediaSample
  • Create() : shaka::media::FixedKeySource @@ -241,7 +240,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html index ff92ccf451..9cb8bbcf23 100644 --- a/docs/functions_func_d.html +++ b/docs/functions_func_d.html @@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html index 251ffced46..000faaf046 100644 --- a/docs/functions_func_e.html +++ b/docs/functions_func_e.html @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html index b5601a1378..ea806b4890 100644 --- a/docs/functions_func_f.html +++ b/docs/functions_func_f.html @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html index ea78b66d58..3a51d0e70b 100644 --- a/docs/functions_func_g.html +++ b/docs/functions_func_g.html @@ -281,7 +281,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html index 031c26f095..4b3c56b1c1 100644 --- a/docs/functions_func_h.html +++ b/docs/functions_func_h.html @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html index 9bcf2653e9..8c0e7c1c31 100644 --- a/docs/functions_func_i.html +++ b/docs/functions_func_i.html @@ -222,7 +222,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html index 3f6f5d1865..80199cd084 100644 --- a/docs/functions_func_l.html +++ b/docs/functions_func_l.html @@ -134,7 +134,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html index 1a51e2f017..131a544e52 100644 --- a/docs/functions_func_m.html +++ b/docs/functions_func_m.html @@ -124,9 +124,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • MakePathsRelativeToMpd() : shaka::MpdBuilder
  • -
  • Matches() -: shaka::media::Status -
  • MergeFrom() : shaka::media::VPCodecConfigurationRecord
  • @@ -149,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html index 95d8f6f9d0..a2a72d4971 100644 --- a/docs/functions_func_n.html +++ b/docs/functions_func_n.html @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html index 62900729a0..fd30bf17a2 100644 --- a/docs/functions_func_o.html +++ b/docs/functions_func_o.html @@ -199,7 +199,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html index a8995bae91..2e58e5d148 100644 --- a/docs/functions_func_p.html +++ b/docs/functions_func_p.html @@ -239,7 +239,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html index b9e6ac5da9..c0b9386c25 100644 --- a/docs/functions_func_r.html +++ b/docs/functions_func_r.html @@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html index 5f3dc7873f..178cba4631 100644 --- a/docs/functions_func_s.html +++ b/docs/functions_func_s.html @@ -201,9 +201,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • SetContent() : shaka::xml::XmlNode
  • -
  • SetError() -: shaka::media::Status -
  • SetFloatingPointAttribute() : shaka::xml::XmlNode
  • @@ -278,9 +275,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • StartsWithStartCode() : shaka::media::NaluReader
  • -
  • Status() -: shaka::media::Status -
  • Stop() : shaka::media::ProducerConsumerQueue< T >
  • @@ -300,7 +294,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html index 6248d82535..c580ef24d5 100644 --- a/docs/functions_func_t.html +++ b/docs/functions_func_t.html @@ -143,7 +143,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ToString() : shaka::media::AudioStreamInfo , shaka::media::MediaSample -, shaka::media::Status , shaka::media::StreamInfo , shaka::media::VideoStreamInfo , shaka::MpdBuilder @@ -173,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html index ae9f6dd98e..7b1dc528a4 100644 --- a/docs/functions_func_u.html +++ b/docs/functions_func_u.html @@ -124,9 +124,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • UdpFile() : shaka::media::UdpFile
  • -
  • Update() -: shaka::media::Status -
  • UpdateContentProtectionPssh() : shaka::AdaptationSet , shaka::Representation @@ -145,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_v.html b/docs/functions_func_v.html index 4ea438ab4d..cdf7ec587d 100644 --- a/docs/functions_func_v.html +++ b/docs/functions_func_v.html @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html index 8972e3ff1e..0c8b277554 100644 --- a/docs/functions_func_w.html +++ b/docs/functions_func_w.html @@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_x.html b/docs/functions_func_x.html index 0bdd389847..8a09971a87 100644 --- a/docs/functions_func_x.html +++ b/docs/functions_func_x.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html index d0cc435ddf..b3796f4ab2 100644 --- a/docs/functions_func_~.html +++ b/docs/functions_func_~.html @@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_g.html b/docs/functions_g.html index 4d8b76f902..b288d8ca05 100644 --- a/docs/functions_g.html +++ b/docs/functions_g.html @@ -282,7 +282,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_h.html b/docs/functions_h.html index acc90fa989..57204560d9 100644 --- a/docs/functions_h.html +++ b/docs/functions_h.html @@ -163,7 +163,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_i.html b/docs/functions_i.html index 28e40af639..590be0d012 100644 --- a/docs/functions_i.html +++ b/docs/functions_i.html @@ -226,7 +226,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_k.html b/docs/functions_k.html index fe6397c276..2fa8694e2c 100644 --- a/docs/functions_k.html +++ b/docs/functions_k.html @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_l.html b/docs/functions_l.html index 3b168e37d4..665d696ff2 100644 --- a/docs/functions_l.html +++ b/docs/functions_l.html @@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_m.html b/docs/functions_m.html index b694106341..60fe32275e 100644 --- a/docs/functions_m.html +++ b/docs/functions_m.html @@ -125,9 +125,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • MakePathsRelativeToMpd() : shaka::MpdBuilder
  • -
  • Matches() -: shaka::media::Status -
  • MergeFrom() : shaka::media::VPCodecConfigurationRecord
  • @@ -153,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_n.html b/docs/functions_n.html index 0b718d2c6c..988f771dc5 100644 --- a/docs/functions_n.html +++ b/docs/functions_n.html @@ -178,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_o.html b/docs/functions_o.html index 52ed77a3d0..5c51e1d2c4 100644 --- a/docs/functions_o.html +++ b/docs/functions_o.html @@ -203,7 +203,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_p.html b/docs/functions_p.html index 20c97f5274..659f0713b2 100644 --- a/docs/functions_p.html +++ b/docs/functions_p.html @@ -249,7 +249,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_r.html b/docs/functions_r.html index 52c97a3ed5..76daf282d1 100644 --- a/docs/functions_r.html +++ b/docs/functions_r.html @@ -203,7 +203,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_s.html b/docs/functions_s.html index c21714d994..9648c04001 100644 --- a/docs/functions_s.html +++ b/docs/functions_s.html @@ -214,9 +214,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • SetContent() : shaka::xml::XmlNode
  • -
  • SetError() -: shaka::media::Status -
  • SetFloatingPointAttribute() : shaka::xml::XmlNode
  • @@ -291,9 +288,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • StartsWithStartCode() : shaka::media::NaluReader
  • -
  • Status() -: shaka::media::Status -
  • Stop() : shaka::media::ProducerConsumerQueue< T >
  • @@ -322,7 +316,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_t.html b/docs/functions_t.html index 747d8b7188..00980085cc 100644 --- a/docs/functions_t.html +++ b/docs/functions_t.html @@ -147,7 +147,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ToString() : shaka::media::AudioStreamInfo , shaka::media::MediaSample -, shaka::media::Status , shaka::media::StreamInfo , shaka::media::VideoStreamInfo , shaka::MpdBuilder @@ -177,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_type.html b/docs/functions_type.html index ac5671a8db..0a78045c18 100644 --- a/docs/functions_type.html +++ b/docs/functions_type.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_u.html b/docs/functions_u.html index 2fc0a9323c..7586c90b37 100644 --- a/docs/functions_u.html +++ b/docs/functions_u.html @@ -125,9 +125,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • UdpFile() : shaka::media::UdpFile
  • -
  • Update() -: shaka::media::Status -
  • UpdateContentProtectionPssh() : shaka::AdaptationSet , shaka::Representation @@ -146,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_v.html b/docs/functions_v.html index 118ab92782..6934dc6d2f 100644 --- a/docs/functions_v.html +++ b/docs/functions_v.html @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_vars.html b/docs/functions_vars.html index ee784ecf57..27c3ef50b3 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -157,7 +157,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_w.html b/docs/functions_w.html index 4959b9669e..bd45b2708f 100644 --- a/docs/functions_w.html +++ b/docs/functions_w.html @@ -182,7 +182,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_x.html b/docs/functions_x.html index 9bf2771f3f..317dd32da0 100644 --- a/docs/functions_x.html +++ b/docs/functions_x.html @@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/functions_~.html b/docs/functions_~.html index 88bdf08ca8..ce97a91bc0 100644 --- a/docs/functions_~.html +++ b/docs/functions_~.html @@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 839837f4a5..4c3d24a040 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -323,63 +323,62 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); oCshaka::media::mp4::SegmentReference oCSimpleThread |\Cshaka::media::ClosureThread -oCshaka::media::Status -oCshaka::media::StreamData -oCshaka::media::StreamInfoAbstract class holds stream information -|oCshaka::media::AudioStreamInfoHolds audio stream information -|oCshaka::media::TextStreamInfo -|\Cshaka::media::VideoStreamInfoHolds video stream information -oCshaka::media::SubsampleEntry -oCshaka::media::mp4::SyncSampleIterator -oCTest -|oCshaka::media::MediaHandlerTestBase -|\Cshaka::media::SegmentTestBase -oCshaka::media::TextSample -oCshaka::media::TextTrack -oCshaka::media::TextTrackConfig -oCshaka::media::mp4::TrackRunIterator -oCshaka::media::TracksBuilder -oCshaka::media::mp2t::TsPacket -oCshaka::media::mp2t::TsSection -|oCshaka::media::mp2t::TsSectionPes -|\Cshaka::media::mp2t::TsSectionPsi -| oCshaka::media::mp2t::TsSectionPat -| \Cshaka::media::mp2t::TsSectionPmt -oCshaka::media::mp2t::TsSegmenter -oCshaka::media::mp2t::TsWriter -oCshaka::media::UdpOptionsOptions parsed from UDP url string of the form: udp://ip:port[?options] -oCshaka::media::VideoSliceHeaderParser -|oCshaka::media::H264VideoSliceHeaderParser -|\Cshaka::media::H265VideoSliceHeaderParser -oCshaka::media::mp2t::EsParserH26x::VideoSliceInfo -oCshaka::media::VideoStreamInfoParameters -oCshaka::media::VPCodecConfigurationRecordClass for parsing or writing VP codec configuration record -oCshaka::media::VPxFrameInfo -oCshaka::media::VPxParser -|oCshaka::media::VP8Parser -|\Cshaka::media::VP9ParserClass to parse a vp9 bit stream -oCshaka::media::WebMListParser -oCshaka::media::WebMParserClient -|oCshaka::media::SegmentTestBase::ClusterParser -|oCshaka::media::WebMAudioClientHelper class used to parse an Audio element inside a TrackEntry element -|oCshaka::media::WebMClusterParser -|oCshaka::media::WebMContentEncodingsClientParser for WebM ContentEncodings element -|oCshaka::media::WebMInfoParserParser for WebM Info element -|oCshaka::media::WebMTracksParserParser for WebM Tracks element -|\Cshaka::media::WebMVideoClientHelper class used to parse a Video element inside a TrackEntry element -oCshaka::media::WebMWebVTTParser -oCshaka::media::WebVttSampleConverter -oCshaka::xml::XmlDeleter -\Cshaka::xml::XmlNode - \Cshaka::xml::RepresentationBaseXmlNode -  oCshaka::xml::AdaptationSetXmlNodeAdaptationSetType specified in MPD -  \Cshaka::xml::RepresentationXmlNodeRepresentationType in MPD +oCshaka::media::StreamData +oCshaka::media::StreamInfoAbstract class holds stream information +|oCshaka::media::AudioStreamInfoHolds audio stream information +|oCshaka::media::TextStreamInfo +|\Cshaka::media::VideoStreamInfoHolds video stream information +oCshaka::media::SubsampleEntry +oCshaka::media::mp4::SyncSampleIterator +oCTest +|oCshaka::media::MediaHandlerTestBase +|\Cshaka::media::SegmentTestBase +oCshaka::media::TextSample +oCshaka::media::TextTrack +oCshaka::media::TextTrackConfig +oCshaka::media::mp4::TrackRunIterator +oCshaka::media::TracksBuilder +oCshaka::media::mp2t::TsPacket +oCshaka::media::mp2t::TsSection +|oCshaka::media::mp2t::TsSectionPes +|\Cshaka::media::mp2t::TsSectionPsi +| oCshaka::media::mp2t::TsSectionPat +| \Cshaka::media::mp2t::TsSectionPmt +oCshaka::media::mp2t::TsSegmenter +oCshaka::media::mp2t::TsWriter +oCshaka::media::UdpOptionsOptions parsed from UDP url string of the form: udp://ip:port[?options] +oCshaka::media::VideoSliceHeaderParser +|oCshaka::media::H264VideoSliceHeaderParser +|\Cshaka::media::H265VideoSliceHeaderParser +oCshaka::media::mp2t::EsParserH26x::VideoSliceInfo +oCshaka::media::VideoStreamInfoParameters +oCshaka::media::VPCodecConfigurationRecordClass for parsing or writing VP codec configuration record +oCshaka::media::VPxFrameInfo +oCshaka::media::VPxParser +|oCshaka::media::VP8Parser +|\Cshaka::media::VP9ParserClass to parse a vp9 bit stream +oCshaka::media::WebMListParser +oCshaka::media::WebMParserClient +|oCshaka::media::SegmentTestBase::ClusterParser +|oCshaka::media::WebMAudioClientHelper class used to parse an Audio element inside a TrackEntry element +|oCshaka::media::WebMClusterParser +|oCshaka::media::WebMContentEncodingsClientParser for WebM ContentEncodings element +|oCshaka::media::WebMInfoParserParser for WebM Info element +|oCshaka::media::WebMTracksParserParser for WebM Tracks element +|\Cshaka::media::WebMVideoClientHelper class used to parse a Video element inside a TrackEntry element +oCshaka::media::WebMWebVTTParser +oCshaka::media::WebVttSampleConverter +oCshaka::xml::XmlDeleter +\Cshaka::xml::XmlNode + \Cshaka::xml::RepresentationBaseXmlNode +  oCshaka::xml::AdaptationSetXmlNodeAdaptationSetType specified in MPD +  \Cshaka::xml::RepresentationXmlNodeRepresentationType in MPD diff --git a/docs/index.html b/docs/index.html index ecd40b992d..ae4e7b02b2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html index 4124d02564..496bf05fac 100644 --- a/docs/namespacemembers.html +++ b/docs/namespacemembers.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html index 374277b575..e463481299 100644 --- a/docs/namespacemembers_func.html +++ b/docs/namespacemembers_func.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/namespaces.html b/docs/namespaces.html index 19a77bcfdb..c30dbee0a6 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/search/all_10.js b/docs/search/all_10.js index 8fa3fa604f..88930ff2e9 100644 --- a/docs/search/all_10.js +++ b/docs/search/all_10.js @@ -51,7 +51,6 @@ var searchData= ['setcluster',['SetCluster',['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a6060ddc97c58e4435d1db932de17e131',1,'shaka::media::webm::Segmenter']]], ['setcomplete',['SetComplete',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#adea4bf88a29660bd8612ae3bc5048068',1,'shaka::media::mp4::Segmenter']]], ['setcontent',['SetContent',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a73d758186470e7dbcb4f4339eb53458c',1,'shaka::xml::XmlNode']]], - ['seterror',['SetError',['../d0/d93/classshaka_1_1media_1_1Status.html#a26903fbb0ee18f6b8d7cd441e922b644',1,'shaka::media::Status']]], ['setfloatingpointattribute',['SetFloatingPointAttribute',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ac4b6c261b14ffe83e9820b76b16af1ba',1,'shaka::xml::XmlNode']]], ['sethandler',['SetHandler',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0fac1fe2d593e78d47244acdfa21759d',1,'shaka::media::MediaHandler::SetHandler()'],['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a1247302b6c57fbafb09aec71ce0109e3',1,'shaka::media::Demuxer::SetHandler()']]], ['setid',['SetId',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a7479055041708fb681957a838e7ecc1f',1,'shaka::xml::XmlNode']]], @@ -79,8 +78,6 @@ var searchData= ['soundmediaheader',['SoundMediaHeader',['../d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html',1,'shaka::media::mp4']]], ['startbox',['StartBox',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#a6bafd9cd95a97c4c1475d1806d602ae2',1,'shaka::media::mp4::BoxReader']]], ['startswithstartcode',['StartsWithStartCode',['../db/d86/classshaka_1_1media_1_1NaluReader.html#a9ed9d56a06f43717cdb7035f86075975',1,'shaka::media::NaluReader']]], - ['status',['Status',['../d0/d93/classshaka_1_1media_1_1Status.html#abb1d7be8e22d23adff199fdf1a5c8639',1,'shaka::media::Status::Status()'],['../d0/d93/classshaka_1_1media_1_1Status.html#a676879d7464117a9d29281f7fa25b005',1,'shaka::media::Status::Status(error::Code error_code, const std::string &error_message)']]], - ['status',['Status',['../d0/d93/classshaka_1_1media_1_1Status.html',1,'shaka::media']]], ['stop',['Stop',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#ac600977b708381facf07f87e36b43d79',1,'shaka::media::ProducerConsumerQueue']]], ['stopped',['Stopped',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a3d88bdebfa412f2847f1d96fd804bba1',1,'shaka::media::ProducerConsumerQueue']]], ['stream_5fid',['stream_id',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#aa023c7fafbced88ca40e98362a7e4c69',1,'shaka::media::mp2t::PesPacket']]], diff --git a/docs/search/all_11.js b/docs/search/all_11.js index b04bf2c328..cba58e0f95 100644 --- a/docs/search/all_11.js +++ b/docs/search/all_11.js @@ -13,7 +13,7 @@ var searchData= ['texttrack',['TextTrack',['../d4/d0b/classshaka_1_1media_1_1TextTrack.html',1,'shaka::media']]], ['texttrackconfig',['TextTrackConfig',['../de/db3/classshaka_1_1media_1_1TextTrackConfig.html',1,'shaka::media']]], ['threadediofile',['ThreadedIoFile',['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html',1,'shaka::media']]], - ['tostring',['ToString',['../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a7f94e51abcf522ff70e2456a8c8595df',1,'shaka::media::AudioStreamInfo::ToString()'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#aa3cbd9fee3a228403c3128be5141a614',1,'shaka::media::MediaSample::ToString()'],['../d0/d93/classshaka_1_1media_1_1Status.html#ac5d67e71539ca2f3589d3b2d4dc9ad60',1,'shaka::media::Status::ToString()'],['../d5/db1/classshaka_1_1media_1_1StreamInfo.html#aa11d2fe5509ebfdc038aa3f2cdbbe00d',1,'shaka::media::StreamInfo::ToString()'],['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a9cac8e75d76f1192a48d1dcf61435537',1,'shaka::media::VideoStreamInfo::ToString()'],['../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6',1,'shaka::MpdBuilder::ToString()']]], + ['tostring',['ToString',['../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a7f94e51abcf522ff70e2456a8c8595df',1,'shaka::media::AudioStreamInfo::ToString()'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#aa3cbd9fee3a228403c3128be5141a614',1,'shaka::media::MediaSample::ToString()'],['../d5/db1/classshaka_1_1media_1_1StreamInfo.html#aa11d2fe5509ebfdc038aa3f2cdbbe00d',1,'shaka::media::StreamInfo::ToString()'],['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a9cac8e75d76f1192a48d1dcf61435537',1,'shaka::media::VideoStreamInfo::ToString()'],['../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6',1,'shaka::MpdBuilder::ToString()']]], ['track',['Track',['../d3/db5/structshaka_1_1media_1_1mp4_1_1Track.html',1,'shaka::media::mp4']]], ['trackencryption',['TrackEncryption',['../db/db8/structshaka_1_1media_1_1mp4_1_1TrackEncryption.html',1,'shaka::media::mp4']]], ['trackextends',['TrackExtends',['../de/d29/structshaka_1_1media_1_1mp4_1_1TrackExtends.html',1,'shaka::media::mp4']]], diff --git a/docs/search/all_12.js b/docs/search/all_12.js index 04efd7630d..ded530e58b 100644 --- a/docs/search/all_12.js +++ b/docs/search/all_12.js @@ -4,7 +4,6 @@ var searchData= ['udpfile',['UdpFile',['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a9668328623027330d9552f116d61ae86',1,'shaka::media::UdpFile']]], ['udpoptions',['UdpOptions',['../d4/d8e/classshaka_1_1media_1_1UdpOptions.html',1,'shaka::media']]], ['uint8vectortobase64',['Uint8VectorToBase64',['../d8/daf/namespaceshaka.html#a4c7f8f964fec2bb9543e7ee8da9cd994',1,'shaka']]], - ['update',['Update',['../d0/d93/classshaka_1_1media_1_1Status.html#a74d29f349b4673d2eef69a47f5152fe4',1,'shaka::media::Status']]], ['updatecontentprotectionpssh',['UpdateContentProtectionPssh',['../d8/d8e/classshaka_1_1AdaptationSet.html#ae8a28838bf1bbc1ad8f5b80961fe33c2',1,'shaka::AdaptationSet::UpdateContentProtectionPssh()'],['../de/d52/classshaka_1_1Representation.html#a3d17325903aa01f0c8ff7753d94ff330',1,'shaka::Representation::UpdateContentProtectionPssh()']]], ['updateiv',['UpdateIv',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a812dfc641212f8eb877ab153de7fbb37',1,'shaka::media::AesCryptor']]], ['updateprogress',['UpdateProgress',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#afd8bb3584c984c711615800ad93642a3',1,'shaka::media::mp4::Segmenter::UpdateProgress()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a32dc8b7461252b99fe52384b04e3bca2',1,'shaka::media::webm::Segmenter::UpdateProgress()']]], diff --git a/docs/search/all_2.js b/docs/search/all_2.js index f0608ed454..71de205d74 100644 --- a/docs/search/all_2.js +++ b/docs/search/all_2.js @@ -11,7 +11,7 @@ var searchData= ['chunkingoptions',['ChunkingOptions',['../db/d02/structshaka_1_1media_1_1ChunkingOptions.html',1,'shaka::media']]], ['chunklargeoffset',['ChunkLargeOffset',['../db/d95/structshaka_1_1media_1_1mp4_1_1ChunkLargeOffset.html',1,'shaka::media::mp4']]], ['chunkoffset',['ChunkOffset',['../dd/d06/structshaka_1_1media_1_1mp4_1_1ChunkOffset.html',1,'shaka::media::mp4']]], - ['clear',['Clear',['../d0/d93/classshaka_1_1media_1_1Status.html#a3abb4bb8075e30af97b671017e6c18ca',1,'shaka::media::Status::Clear()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a29080034b90671628ea681e10ea92a48',1,'shaka::media::IoCache::Clear()']]], + ['clear',['Clear',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a29080034b90671628ea681e10ea92a48',1,'shaka::media::IoCache']]], ['clear_5flead_5fin_5fseconds',['clear_lead_in_seconds',['../d6/d82/structshaka_1_1media_1_1EncryptionOptions.html#a3d58dc01a4af0ebfb56f3c4979f745f7',1,'shaka::media::EncryptionOptions']]], ['clearoutputstreamdatavector',['ClearOutputStreamDataVector',['../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a7a600a18a6dec0d32b75c292dc634474',1,'shaka::media::MediaHandlerTestBase']]], ['clearsegmentpmt',['ClearSegmentPmt',['../dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html#abaf3df0bbb1b6ff5655d04b828d2889b',1,'shaka::media::mp2t::ProgramMapTableWriter::ClearSegmentPmt()'],['../de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html#a8f439af49b3144f892102c235fb51169',1,'shaka::media::mp2t::H264ProgramMapTableWriter::ClearSegmentPmt()'],['../d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html#aa6d50f3f1249bbf7c1d27608bfb9334f',1,'shaka::media::mp2t::AacProgramMapTableWriter::ClearSegmentPmt()']]], diff --git a/docs/search/all_b.js b/docs/search/all_b.js index c61904fb03..ead5ff377a 100644 --- a/docs/search/all_b.js +++ b/docs/search/all_b.js @@ -1,7 +1,6 @@ var searchData= [ ['makepathsrelativetompd',['MakePathsRelativeToMpd',['../dc/da1/classshaka_1_1MpdBuilder.html#a247a9c807274d4e707530f24e2d207f9',1,'shaka::MpdBuilder']]], - ['matches',['Matches',['../d0/d93/classshaka_1_1media_1_1Status.html#a2a94b3ef32cf301bbb258c44ca180eba',1,'shaka::media::Status']]], ['media',['Media',['../dc/ddf/structshaka_1_1media_1_1mp4_1_1Media.html',1,'shaka::media::mp4']]], ['mediadata',['MediaData',['../d7/dae/structshaka_1_1media_1_1mp4_1_1MediaData.html',1,'shaka::media::mp4']]], ['mediaevent',['MediaEvent',['../df/dd3/structshaka_1_1media_1_1MediaEvent.html',1,'shaka::media']]], @@ -29,19 +28,19 @@ var searchData= ['mp2tmediaparser',['Mp2tMediaParser',['../d3/dc1/classshaka_1_1media_1_1mp2t_1_1Mp2tMediaParser.html',1,'shaka::media::mp2t']]], ['mp4_5fuse_5fdecoding_5ftimestamp_5fin_5ftimeline',['mp4_use_decoding_timestamp_in_timeline',['../d0/d27/structshaka_1_1media_1_1MuxerOptions.html#a4d3d8c1923a2e0f684c2591cd7f4a890',1,'shaka::media::MuxerOptions']]], ['mp4mediaparser',['MP4MediaParser',['../d7/dd5/classshaka_1_1media_1_1mp4_1_1MP4MediaParser.html',1,'shaka::media::mp4']]], - ['mp4muxer',['MP4Muxer',['../db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html',1,'shaka::media::mp4']]], ['mp4muxer',['MP4Muxer',['../db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html#a5b6a878865250e3e17268c011a361497',1,'shaka::media::mp4::MP4Muxer']]], + ['mp4muxer',['MP4Muxer',['../db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html',1,'shaka::media::mp4']]], ['mpd_5ftype',['mpd_type',['../d3/dd0/classshaka_1_1MpdNotifier.html#adfb5bc1586cdb7860dd349b3caf25faa',1,'shaka::MpdNotifier']]], - ['mpdbuilder',['MpdBuilder',['../dc/da1/classshaka_1_1MpdBuilder.html#ab364102e01afedd8a4dcc9be4fdcc0ab',1,'shaka::MpdBuilder']]], ['mpdbuilder',['MpdBuilder',['../dc/da1/classshaka_1_1MpdBuilder.html',1,'shaka']]], + ['mpdbuilder',['MpdBuilder',['../dc/da1/classshaka_1_1MpdBuilder.html#ab364102e01afedd8a4dcc9be4fdcc0ab',1,'shaka::MpdBuilder']]], ['mpdnotifier',['MpdNotifier',['../d3/dd0/classshaka_1_1MpdNotifier.html',1,'shaka']]], ['mpdnotifierfactory',['MpdNotifierFactory',['../d4/db4/classshaka_1_1MpdNotifierFactory.html',1,'shaka']]], - ['mpdnotifymuxerlistener',['MpdNotifyMuxerListener',['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html#a6912e6cfc341c1a768d214ce08bb0f82',1,'shaka::media::MpdNotifyMuxerListener']]], ['mpdnotifymuxerlistener',['MpdNotifyMuxerListener',['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html',1,'shaka::media']]], + ['mpdnotifymuxerlistener',['MpdNotifyMuxerListener',['../d9/da5/classshaka_1_1media_1_1MpdNotifyMuxerListener.html#a6912e6cfc341c1a768d214ce08bb0f82',1,'shaka::media::MpdNotifyMuxerListener']]], ['mpdoptions',['MpdOptions',['../d1/df3/structshaka_1_1MpdOptions.html',1,'shaka']]], ['mpdwriter',['MpdWriter',['../db/dcd/classshaka_1_1MpdWriter.html',1,'shaka']]], - ['multisegmentsegmenter',['MultiSegmentSegmenter',['../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html',1,'shaka::media::webm']]], ['multisegmentsegmenter',['MultiSegmentSegmenter',['../d8/db7/classshaka_1_1media_1_1mp4_1_1MultiSegmentSegmenter.html',1,'shaka::media::mp4']]], + ['multisegmentsegmenter',['MultiSegmentSegmenter',['../d2/dd5/classshaka_1_1media_1_1webm_1_1MultiSegmentSegmenter.html',1,'shaka::media::webm']]], ['mutable_5fdata',['mutable_data',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#a41aa532d0953db4ed9308ad176c6d878',1,'shaka::media::mp2t::PesPacket']]], ['muxer',['Muxer',['../df/d46/classshaka_1_1media_1_1Muxer.html',1,'shaka::media']]], ['muxerlistener',['MuxerListener',['../dd/d7a/classshaka_1_1media_1_1MuxerListener.html',1,'shaka::media']]], diff --git a/docs/search/classes_f.js b/docs/search/classes_f.js index 4d2d58a16e..8a847514cb 100644 --- a/docs/search/classes_f.js +++ b/docs/search/classes_f.js @@ -17,16 +17,15 @@ var searchData= ['segmenter',['Segmenter',['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html',1,'shaka::media::webm']]], ['segmenter',['Segmenter',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html',1,'shaka::media::mp4']]], ['segmentindex',['SegmentIndex',['../d4/df9/structshaka_1_1media_1_1mp4_1_1SegmentIndex.html',1,'shaka::media::mp4']]], - ['segmentinfo',['SegmentInfo',['../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html',1,'shaka::media']]], ['segmentinfo',['SegmentInfo',['../dc/de1/structshaka_1_1SegmentInfo.html',1,'shaka']]], + ['segmentinfo',['SegmentInfo',['../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html',1,'shaka::media']]], ['segmentreference',['SegmentReference',['../dd/d9b/structshaka_1_1media_1_1mp4_1_1SegmentReference.html',1,'shaka::media::mp4']]], ['segmenttestbase',['SegmentTestBase',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html',1,'shaka::media']]], ['segmenttype',['SegmentType',['../d3/dd0/structshaka_1_1media_1_1mp4_1_1SegmentType.html',1,'shaka::media::mp4']]], ['simplempdnotifier',['SimpleMpdNotifier',['../d8/de1/classshaka_1_1SimpleMpdNotifier.html',1,'shaka']]], - ['singlesegmentsegmenter',['SingleSegmentSegmenter',['../d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html',1,'shaka::media::mp4']]], ['singlesegmentsegmenter',['SingleSegmentSegmenter',['../d3/da1/classshaka_1_1media_1_1webm_1_1SingleSegmentSegmenter.html',1,'shaka::media::webm']]], + ['singlesegmentsegmenter',['SingleSegmentSegmenter',['../d0/dab/classshaka_1_1media_1_1mp4_1_1SingleSegmentSegmenter.html',1,'shaka::media::mp4']]], ['soundmediaheader',['SoundMediaHeader',['../d7/d07/structshaka_1_1media_1_1mp4_1_1SoundMediaHeader.html',1,'shaka::media::mp4']]], - ['status',['Status',['../d0/d93/classshaka_1_1media_1_1Status.html',1,'shaka::media']]], ['streamdata',['StreamData',['../d0/d4c/structshaka_1_1media_1_1StreamData.html',1,'shaka::media']]], ['streaminfo',['StreamInfo',['../d5/db1/classshaka_1_1media_1_1StreamInfo.html',1,'shaka::media']]], ['subsampleentry',['SubsampleEntry',['../d1/d34/structshaka_1_1media_1_1SubsampleEntry.html',1,'shaka::media']]], diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index 6baf37d6f7..976810e8fc 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -6,7 +6,7 @@ var searchData= ['tempfilepath',['TempFilePath',['../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62',1,'shaka']]], ['templatefilename',['TemplateFileName',['../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#afa2cdde90c04bf69301a9589faa7efd9',1,'shaka::media::SegmentTestBase']]], ['textstreaminfo',['TextStreamInfo',['../db/dab/classshaka_1_1media_1_1TextStreamInfo.html#a3e759066195689154ef2a8cf2825ea4b',1,'shaka::media::TextStreamInfo']]], - ['tostring',['ToString',['../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a7f94e51abcf522ff70e2456a8c8595df',1,'shaka::media::AudioStreamInfo::ToString()'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#aa3cbd9fee3a228403c3128be5141a614',1,'shaka::media::MediaSample::ToString()'],['../d0/d93/classshaka_1_1media_1_1Status.html#ac5d67e71539ca2f3589d3b2d4dc9ad60',1,'shaka::media::Status::ToString()'],['../d5/db1/classshaka_1_1media_1_1StreamInfo.html#aa11d2fe5509ebfdc038aa3f2cdbbe00d',1,'shaka::media::StreamInfo::ToString()'],['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a9cac8e75d76f1192a48d1dcf61435537',1,'shaka::media::VideoStreamInfo::ToString()'],['../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6',1,'shaka::MpdBuilder::ToString()']]], + ['tostring',['ToString',['../da/d4e/classshaka_1_1media_1_1AudioStreamInfo.html#a7f94e51abcf522ff70e2456a8c8595df',1,'shaka::media::AudioStreamInfo::ToString()'],['../d7/d6d/classshaka_1_1media_1_1MediaSample.html#aa3cbd9fee3a228403c3128be5141a614',1,'shaka::media::MediaSample::ToString()'],['../d5/db1/classshaka_1_1media_1_1StreamInfo.html#aa11d2fe5509ebfdc038aa3f2cdbbe00d',1,'shaka::media::StreamInfo::ToString()'],['../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html#a9cac8e75d76f1192a48d1dcf61435537',1,'shaka::media::VideoStreamInfo::ToString()'],['../dc/da1/classshaka_1_1MpdBuilder.html#af7eae5cc11141eed2b5451d969e57db6',1,'shaka::MpdBuilder::ToString()']]], ['trackruniterator',['TrackRunIterator',['../de/df6/classshaka_1_1media_1_1mp4_1_1TrackRunIterator.html#a743961add0060500509c3fc74ffd26ab',1,'shaka::media::mp4::TrackRunIterator']]], ['trim',['Trim',['../d9/df9/classshaka_1_1media_1_1OffsetByteQueue.html#a77b9a12145dad80df95845bd2b66b6a8',1,'shaka::media::OffsetByteQueue']]], ['tryreadchild',['TryReadChild',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#a1a4457e9638e8cf3fb30b0031b513cec',1,'shaka::media::mp4::BoxReader']]], diff --git a/docs/search/functions_11.js b/docs/search/functions_11.js index 043f027471..f3085e9fc9 100644 --- a/docs/search/functions_11.js +++ b/docs/search/functions_11.js @@ -2,7 +2,6 @@ var searchData= [ ['udpfile',['UdpFile',['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#a9668328623027330d9552f116d61ae86',1,'shaka::media::UdpFile']]], ['uint8vectortobase64',['Uint8VectorToBase64',['../d8/daf/namespaceshaka.html#a4c7f8f964fec2bb9543e7ee8da9cd994',1,'shaka']]], - ['update',['Update',['../d0/d93/classshaka_1_1media_1_1Status.html#a74d29f349b4673d2eef69a47f5152fe4',1,'shaka::media::Status']]], ['updatecontentprotectionpssh',['UpdateContentProtectionPssh',['../d8/d8e/classshaka_1_1AdaptationSet.html#ae8a28838bf1bbc1ad8f5b80961fe33c2',1,'shaka::AdaptationSet::UpdateContentProtectionPssh()'],['../de/d52/classshaka_1_1Representation.html#a3d17325903aa01f0c8ff7753d94ff330',1,'shaka::Representation::UpdateContentProtectionPssh()']]], ['updateiv',['UpdateIv',['../df/d87/classshaka_1_1media_1_1AesCryptor.html#a812dfc641212f8eb877ab153de7fbb37',1,'shaka::media::AesCryptor']]], ['updateprogress',['UpdateProgress',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#afd8bb3584c984c711615800ad93642a3',1,'shaka::media::mp4::Segmenter::UpdateProgress()'],['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a32dc8b7461252b99fe52384b04e3bca2',1,'shaka::media::webm::Segmenter::UpdateProgress()']]], diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index 77d57b3edd..1b485addfc 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -4,7 +4,7 @@ var searchData= ['cancel',['Cancel',['../df/d46/classshaka_1_1media_1_1Muxer.html#a9204fe352d13cea8a367ae9c14e9639e',1,'shaka::media::Muxer::Cancel()'],['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a117ba5528a92b0cf4752d15d3692e158',1,'shaka::media::Demuxer::Cancel()']]], ['childexist',['ChildExist',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#aa65236a6b94ac59d5da409412992211c',1,'shaka::media::mp4::BoxReader']]], ['chunkinfoiterator',['ChunkInfoIterator',['../d9/d57/classshaka_1_1media_1_1mp4_1_1ChunkInfoIterator.html#adae19e8f34f3f962e9858c67f984445d',1,'shaka::media::mp4::ChunkInfoIterator']]], - ['clear',['Clear',['../d0/d93/classshaka_1_1media_1_1Status.html#a3abb4bb8075e30af97b671017e6c18ca',1,'shaka::media::Status::Clear()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a29080034b90671628ea681e10ea92a48',1,'shaka::media::IoCache::Clear()']]], + ['clear',['Clear',['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a29080034b90671628ea681e10ea92a48',1,'shaka::media::IoCache']]], ['clearoutputstreamdatavector',['ClearOutputStreamDataVector',['../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a7a600a18a6dec0d32b75c292dc634474',1,'shaka::media::MediaHandlerTestBase']]], ['clearsegmentpmt',['ClearSegmentPmt',['../dc/d03/classshaka_1_1media_1_1mp2t_1_1ProgramMapTableWriter.html#abaf3df0bbb1b6ff5655d04b828d2889b',1,'shaka::media::mp2t::ProgramMapTableWriter::ClearSegmentPmt()'],['../de/d27/classshaka_1_1media_1_1mp2t_1_1H264ProgramMapTableWriter.html#a8f439af49b3144f892102c235fb51169',1,'shaka::media::mp2t::H264ProgramMapTableWriter::ClearSegmentPmt()'],['../d4/dc8/classshaka_1_1media_1_1mp2t_1_1AacProgramMapTableWriter.html#aa6d50f3f1249bbf7c1d27608bfb9334f',1,'shaka::media::mp2t::AacProgramMapTableWriter::ClearSegmentPmt()']]], ['close',['Close',['../d3/d61/classshaka_1_1media_1_1File.html#a2bfb0c180840356933652a795527b5c8',1,'shaka::media::File::Close()'],['../dd/d7c/classshaka_1_1media_1_1IoCache.html#a23dfcb4d031d76e980e41d1b1bec7112',1,'shaka::media::IoCache::Close()'],['../d9/de6/classshaka_1_1media_1_1LocalFile.html#a8bc11d5bf5ee05904620ab3816c6eaf4',1,'shaka::media::LocalFile::Close()'],['../d9/dbd/classshaka_1_1media_1_1MemoryFile.html#ae6008d3d8401bd9eb561165e142afc6b',1,'shaka::media::MemoryFile::Close()'],['../d0/d66/classshaka_1_1media_1_1ThreadedIoFile.html#a4a85d185a7eaa1abc857540ef703ab9a',1,'shaka::media::ThreadedIoFile::Close()'],['../d7/d7a/classshaka_1_1media_1_1UdpFile.html#aeff24fee715763b5a62edd0d3b3c114e',1,'shaka::media::UdpFile::Close()'],['../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#af560b12e0298ca3dcd8f88fddff1443b',1,'shaka::media::MkvWriter::Close()']]], diff --git a/docs/search/functions_a.js b/docs/search/functions_a.js index 98b1bd9ab0..60d8a5ac7d 100644 --- a/docs/search/functions_a.js +++ b/docs/search/functions_a.js @@ -1,7 +1,6 @@ var searchData= [ ['makepathsrelativetompd',['MakePathsRelativeToMpd',['../dc/da1/classshaka_1_1MpdBuilder.html#a247a9c807274d4e707530f24e2d207f9',1,'shaka::MpdBuilder']]], - ['matches',['Matches',['../d0/d93/classshaka_1_1media_1_1Status.html#a2a94b3ef32cf301bbb258c44ca180eba',1,'shaka::media::Status']]], ['mergefrom',['MergeFrom',['../d1/da5/classshaka_1_1media_1_1VPCodecConfigurationRecord.html#a36dddd88a09f038adfbf87063786178c',1,'shaka::media::VPCodecConfigurationRecord']]], ['mp4muxer',['MP4Muxer',['../db/d30/classshaka_1_1media_1_1mp4_1_1MP4Muxer.html#a5b6a878865250e3e17268c011a361497',1,'shaka::media::mp4::MP4Muxer']]], ['mpd_5ftype',['mpd_type',['../d3/dd0/classshaka_1_1MpdNotifier.html#adfb5bc1586cdb7860dd349b3caf25faa',1,'shaka::MpdNotifier']]], diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js index 571d7c057c..9630bc74c9 100644 --- a/docs/search/functions_f.js +++ b/docs/search/functions_f.js @@ -25,7 +25,6 @@ var searchData= ['setcluster',['SetCluster',['../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html#a6060ddc97c58e4435d1db932de17e131',1,'shaka::media::webm::Segmenter']]], ['setcomplete',['SetComplete',['../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#adea4bf88a29660bd8612ae3bc5048068',1,'shaka::media::mp4::Segmenter']]], ['setcontent',['SetContent',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a73d758186470e7dbcb4f4339eb53458c',1,'shaka::xml::XmlNode']]], - ['seterror',['SetError',['../d0/d93/classshaka_1_1media_1_1Status.html#a26903fbb0ee18f6b8d7cd441e922b644',1,'shaka::media::Status']]], ['setfloatingpointattribute',['SetFloatingPointAttribute',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ac4b6c261b14ffe83e9820b76b16af1ba',1,'shaka::xml::XmlNode']]], ['sethandler',['SetHandler',['../da/dfd/classshaka_1_1media_1_1MediaHandler.html#a0fac1fe2d593e78d47244acdfa21759d',1,'shaka::media::MediaHandler::SetHandler()'],['../dd/d17/classshaka_1_1media_1_1Demuxer.html#a1247302b6c57fbafb09aec71ce0109e3',1,'shaka::media::Demuxer::SetHandler()']]], ['setid',['SetId',['../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a7479055041708fb681957a838e7ecc1f',1,'shaka::xml::XmlNode']]], @@ -48,7 +47,6 @@ var searchData= ['some_5fhandler',['some_handler',['../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#aba1f3fe6f82c2a205aefdeae3be60d1d',1,'shaka::media::MediaHandlerTestBase']]], ['startbox',['StartBox',['../d1/dee/classshaka_1_1media_1_1mp4_1_1BoxReader.html#a6bafd9cd95a97c4c1475d1806d602ae2',1,'shaka::media::mp4::BoxReader']]], ['startswithstartcode',['StartsWithStartCode',['../db/d86/classshaka_1_1media_1_1NaluReader.html#a9ed9d56a06f43717cdb7035f86075975',1,'shaka::media::NaluReader']]], - ['status',['Status',['../d0/d93/classshaka_1_1media_1_1Status.html#abb1d7be8e22d23adff199fdf1a5c8639',1,'shaka::media::Status::Status()'],['../d0/d93/classshaka_1_1media_1_1Status.html#a676879d7464117a9d29281f7fa25b005',1,'shaka::media::Status::Status(error::Code error_code, const std::string &error_message)']]], ['stop',['Stop',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#ac600977b708381facf07f87e36b43d79',1,'shaka::media::ProducerConsumerQueue']]], ['stopped',['Stopped',['../d5/d33/classshaka_1_1media_1_1ProducerConsumerQueue.html#a3d88bdebfa412f2847f1d96fd804bba1',1,'shaka::media::ProducerConsumerQueue']]], ['stream_5fid',['stream_id',['../d2/d93/classshaka_1_1media_1_1mp2t_1_1PesPacket.html#aa023c7fafbced88ca40e98362a7e4c69',1,'shaka::media::mp2t::PesPacket']]],