shithub: opus-tools

Download patch

ref: 39f8ced76584531fb68da965f35e3f562ca900a7
parent: e76f6023d7b32d95dc5839d5dbcca57ccfe4a23a
author: Ralph Giles <[email protected]>
date: Wed Oct 3 10:49:34 EDT 2012

The current rtp version is 2.

Previously we were sending version 0, which the webrtc.org
code rightly rejects.

--- a/src/opusrtp.c
+++ b/src/opusrtp.c
@@ -515,7 +515,7 @@
     return ret;
   }
 
-  rtp.version = 0;
+  rtp.version = 2;
   rtp.type = OPUS_PAYLOAD_TYPE;
   rtp.pad = 0;
   rtp.ext = 0;