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

Unified Diff: media/base/android/media_player_bridge.h

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WebRTC impl on Chrome for TV Created 7 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: media/base/android/media_player_bridge.h
diff --git a/media/base/android/media_player_bridge.h b/media/base/android/media_player_bridge.h
index c6db77bcda7faf27a4d4a154ca2557800086f79d..05dd014bd7aa10f1befd8448fccef2d447666b44 100644
--- a/media/base/android/media_player_bridge.h
+++ b/media/base/android/media_player_bridge.h
@@ -44,6 +44,12 @@ class MEDIA_EXPORT MediaPlayerBridge {
MEDIA_ERROR_INVALID_CODE,
};
+ // Flags for creation
+ enum Flags {
+ FLAG_MEDIA_SOURCE = 1 << 0,
+ FLAG_LOW_LATENCY = 1 << 1,
+ };
+
// Callback when error happens. Args: player ID, error type.
typedef base::Callback<void(int, int)> MediaErrorCB;
@@ -82,7 +88,7 @@ class MEDIA_EXPORT MediaPlayerBridge {
static MediaPlayerBridge* Create(
int player_id,
const GURL& url,
- bool is_media_source,
+ int flags,
const GURL& first_party_for_cookies,
MediaResourceGetter* resource_getter,
bool hide_url_log,

Powered by Google App Engine
This is Rietveld 408576698