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

Unified Diff: content/public/renderer/media_stream_utils.h

Issue 1849003002: Add video frame refresh to MediaStream and VideoCapture stacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nick's PS3 comments (moving non-observer impl out of MSVideoSink interface). 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
« no previous file with comments | « content/common/media/video_capture_messages.h ('k') | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/media_stream_utils.h
diff --git a/content/public/renderer/media_stream_utils.h b/content/public/renderer/media_stream_utils.h
index 5df43edc998836a075c59deb9e2be780ac5e447f..8b94b7222b911e92509b62e572adbddfd68f0856 100644
--- a/content/public/renderer/media_stream_utils.h
+++ b/content/public/renderer/media_stream_utils.h
@@ -54,6 +54,11 @@ CONTENT_EXPORT bool AddAudioTrackToMediaStream(
CONTENT_EXPORT const media::VideoCaptureFormat* GetCurrentVideoTrackFormat(
const blink::WebMediaStreamTrack& video_track);
+// Requests that a refresh frame be sent "soon" (e.g., to resolve picture loss
+// or quality issues).
+CONTENT_EXPORT void RequestRefreshFrameFromVideoTrack(
+ const blink::WebMediaStreamTrack& video_track);
+
} // namespace content
#endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_
« no previous file with comments | « content/common/media/video_capture_messages.h ('k') | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698