Bug 1274340 - Make RED and ULPFEC payload type match sdp values; r=jesup
authorDan Minor <dminor@mozilla.com>
Thu, 30 Jun 2016 12:20:04 -0400
changeset 334850 c9b04662c81bcfdf8cf2d26c9afcabfdeb2ca87f
parent 334849 03b9c5797a8bb07431f552aaa1acb81d0312bb43
child 334851 ac0708fe8f742c67355d9578bb87954769a037ce
push id10033
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:50:26 +0000
treeherdermozilla-aurora@5dddbefdf759 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs1274340
milestone51.0a1
Bug 1274340 - Make RED and ULPFEC payload type match sdp values; r=jesup To be able to send and receive video with FEC enabled it appears we need to have matching constant values here and in sdp/sipcc/ccsdp.h. MozReview-Commit-ID: LZzAyMW9eEu
media/webrtc/trunk/webrtc/modules/video_coding/main/interface/video_coding_defines.h
--- a/media/webrtc/trunk/webrtc/modules/video_coding/main/interface/video_coding_defines.h
+++ b/media/webrtc/trunk/webrtc/modules/video_coding/main/interface/video_coding_defines.h
@@ -31,18 +31,18 @@ namespace webrtc {
 #define VCM_UNINITIALIZED       -7
 #define VCM_NO_CODEC_REGISTERED -8
 #define VCM_JITTER_BUFFER_ERROR -9
 #define VCM_OLD_PACKET_ERROR    -10
 #define VCM_NO_FRAME_DECODED    -11
 #define VCM_ERROR_REQUEST_SLI   -12
 #define VCM_NOT_IMPLEMENTED     -20
 
-#define VCM_RED_PAYLOAD_TYPE        96
-#define VCM_ULPFEC_PAYLOAD_TYPE     97
+#define VCM_RED_PAYLOAD_TYPE       122
+#define VCM_ULPFEC_PAYLOAD_TYPE    123
 #define VCM_VP8_PAYLOAD_TYPE       100
 #define VCM_VP9_PAYLOAD_TYPE       101
 #define VCM_I420_PAYLOAD_TYPE      124
 #define VCM_H264_PAYLOAD_TYPE      127
 
 enum { kDefaultStartBitrateKbps = 300 };
 
 enum VCMVideoProtection {