Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(978)

Unified Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.h

Issue 1678523003: Implement InitSegmentReceived algorithm in blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-sb-audiotrack
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
index 5add19dff48d8a5284479b754ee72dff2b73b765..db7c9bed65a23c04b45aa619c0e32d69b84dbe65 100644
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
@@ -136,6 +136,10 @@ private:
void removeMediaTracks();
+ const TrackDefault* getTrackDefault(const AtomicString& trackType, const AtomicString& byteStreamTrackID) const;
+ AtomicString defaultTrackLabel(const AtomicString& trackType, const AtomicString& byteStreamTrackID) const;
+ AtomicString defaultTrackLanguage(const AtomicString& trackType, const AtomicString& byteStreamTrackID) const;
+
// FileReaderLoaderClient interface
void didStartLoading() override;
void didReceiveDataForClient(const char* data, unsigned dataLength) override;
@@ -152,6 +156,7 @@ private:
double m_timestampOffset;
Member<AudioTrackList> m_audioTracks;
Member<VideoTrackList> m_videoTracks;
+ bool m_activeTrack = false;
double m_appendWindowStart;
double m_appendWindowEnd;
bool m_firstInitializationSegmentReceived;

Powered by Google App Engine
This is Rietveld 408576698