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

Unified Diff: content/renderer/media/android/media_source_delegate.h

Issue 257323003: Remove the IPC to request DemuxerConfigs when config changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding CHECK to enforce the optional demuxer_configs only has 0 or 1 element Created 6 years, 7 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: content/renderer/media/android/media_source_delegate.h
diff --git a/content/renderer/media/android/media_source_delegate.h b/content/renderer/media/android/media_source_delegate.h
index 4ac8ed8ade2fdaaed8277f7d3519323b39039f6b..4480a45d9783a843f925b3d04d986fe45aa4ddad 100644
--- a/content/renderer/media/android/media_source_delegate.h
+++ b/content/renderer/media/android/media_source_delegate.h
@@ -97,9 +97,6 @@ class MediaSourceDelegate : public media::DemuxerHost {
// Called when DemuxerStreamPlayer needs to read data from ChunkDemuxer.
void OnReadFromDemuxer(media::DemuxerStream::Type type);
- // Called when the player needs the new config data from ChunkDemuxer.
- void OnMediaConfigRequest();
-
// Called by the Destroyer to destroy an instance of this object.
void Destroy();
@@ -183,6 +180,11 @@ class MediaSourceDelegate : public media::DemuxerHost {
base::TimeDelta FindBufferedBrowserSeekTime_Locked(
const base::TimeDelta& seek_time) const;
+ // Get the demuxer configs for a particular stream identified by |is_audio|.
+ // Returns true on success, of false otherwise.
+ bool GetDemuxerConfigFromStream(media::DemuxerConfigs* configs,
+ bool is_audio);
+
RendererDemuxerAndroid* demuxer_client_;
int demuxer_client_id_;
« no previous file with comments | « content/common/media/media_player_messages_android.h ('k') | content/renderer/media/android/media_source_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698