summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorhshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-23 17:04:45 +0000
committerhshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-23 17:04:45 +0000
commit348baf5a7b91cc4801dca5eae2921072055f35bc (patch)
tree5a5d0be56db613c9fef29ead4711abe7518eea5f /content/common
parent4f17b6707312cd857f888ea2e2e10fe994e76d92 (diff)
downloadchromium_src-348baf5a7b91cc4801dca5eae2921072055f35bc.zip
chromium_src-348baf5a7b91cc4801dca5eae2921072055f35bc.tar.gz
chromium_src-348baf5a7b91cc4801dca5eae2921072055f35bc.tar.bz2
Encoded video capture: wire up key frame and bitrate settings.
Define RequestKeyFrame in IPC message header. Wire up RequestKeyFrame and TrySetBitstreamConfig with the corresponding entry points in WebRTC video encoder. BUG=221441 TEST=trybot Review URL: https://chromiumcodereview.appspot.com/19860002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/media/encoded_video_capture_messages.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/content/common/media/encoded_video_capture_messages.h b/content/common/media/encoded_video_capture_messages.h
index 8de6fb9..6313f72 100644
--- a/content/common/media/encoded_video_capture_messages.h
+++ b/content/common/media/encoded_video_capture_messages.h
@@ -77,6 +77,13 @@ IPC_MESSAGE_CONTROL2(EncodedVideoCaptureHostMsg_TryConfigureBitstream,
int /* device_id */,
media::RuntimeVideoEncodingParameters /* params */)
+// Requests a key frame in the encoded bitstream. Upon receiving this request,
+// browser will try to encode an upcoming captured frame as a key frame. This
+// allows the receiver to quickly recover from data loss. The request is served
+// on a best-effort basis and there is no explicit acknowledgement.
+IPC_MESSAGE_CONTROL1(EncodedVideoCaptureHostMsg_RequestKeyFrame,
+ int /* device_id */)
+
// Notifies that the data within a buffer has been processed and it can be
// reused to encode upcoming bitstream.
IPC_MESSAGE_CONTROL2(EncodedVideoCaptureHostMsg_BitstreamBufferConsumed,