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

Unified Diff: third_party/WebKit/public/platform/WebSourceBufferClient.h

Issue 1678523003: Implement InitSegmentReceived algorithm in blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-sb-audiotrack
Patch Set: Don't check track ids in tests Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/modules/mediasource/TrackDefault.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebSourceBufferClient.h
diff --git a/third_party/WebKit/public/platform/WebSourceBufferClient.h b/third_party/WebKit/public/platform/WebSourceBufferClient.h
index 9d496300b97460aea355457d8778c09a942ab0db..3b13f4d5ec23b567c347e34ded8b7329e98100a2 100644
--- a/third_party/WebKit/public/platform/WebSourceBufferClient.h
+++ b/third_party/WebKit/public/platform/WebSourceBufferClient.h
@@ -21,15 +21,15 @@ public:
struct MediaTrackInfo {
WebMediaPlayer::TrackType trackType;
WebMediaPlayer::TrackId id;
+ WebString byteStreamTrackID;
WebString kind;
WebString label;
WebString language;
};
// Notifies SourceBuffer that parsing of a new init segment has been completed successfully. The input parameter is a collection
- // of information about media tracks found in the new init segment. The return value is a vector of blink WebMediaPlayer track ids
- // assigned to each track of the input collection (the order of output track ids must match the input track information).
- virtual WebVector<WebMediaPlayer::TrackId> initializationSegmentReceived(const WebVector<MediaTrackInfo>& tracks) = 0;
+ // of information about media tracks found in the new init segment. The return value is true in case of success.
+ virtual bool initializationSegmentReceived(const WebVector<MediaTrackInfo>& tracks) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/mediasource/TrackDefault.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698