summaryrefslogtreecommitdiffstats
path: root/remoting/proto/video.proto
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-03 04:17:09 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-03 04:17:09 +0000
commit14fd1a60acdd439f80bdfc0aeb86761ba649db79 (patch)
tree5bfbcefbd8776ca6a4d810a75601d8bf62d91a7c /remoting/proto/video.proto
parent07f1ceeabc0cf63ed8d7ae7aa8d1ff04dda02584 (diff)
downloadchromium_src-14fd1a60acdd439f80bdfc0aeb86761ba649db79.zip
chromium_src-14fd1a60acdd439f80bdfc0aeb86761ba649db79.tar.gz
chromium_src-14fd1a60acdd439f80bdfc0aeb86761ba649db79.tar.bz2
Add VideoReader and VideoWriter interfaces.
Implemented VideoReader and VideoWriter for RTP and Protobuf. BUG=53986 TEST=None Review URL: http://codereview.chromium.org/4229003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto/video.proto')
-rw-r--r--remoting/proto/video.proto6
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index c91a0a3..963c118 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -85,9 +85,11 @@ message VideoPacket {
// The sequence number of the partial data for updating a rectangle.
optional int32 sequence_number = 2 [default = 0];
+ optional int32 timestamp = 3 [default = 0];
+
// This is provided on the first packet of the rectangle data, when
// the flags has FIRST_PACKET set.
- optional VideoPacketFormat format = 3;
+ optional VideoPacketFormat format = 4;
- optional bytes data = 4;
+ optional bytes data = 5;
}