Index: remoting/proto/audio.proto |
diff --git a/remoting/proto/audio.proto b/remoting/proto/audio.proto |
index eabfcfeb55b31b949a3a070ac6161709ec921f5b..d23071cbdf3f82c0e009eb50f6da5cd442b60836 100644 |
--- a/remoting/proto/audio.proto |
+++ b/remoting/proto/audio.proto |
@@ -13,8 +13,11 @@ package remoting; |
message AudioPacket { |
optional int32 timestamp = 1 [default = 0]; |
- // Data is always signed and represented using little endian. |
- optional bytes data = 2; |
+ // Packets with raw data must have exactly one data field. |
+ // For those packets, samples are signed and represented using little endian. |
+ // Some encoders (eg. Speex) may add multiple data fields to separate encoded |
+ // frames. |
+ repeated bytes data = 2; |
enum Encoding { |
ENCODING_INVALID = -1; |