Here’s my code (consumer rtpParameters):
{
codecs: [
{
mimeType: 'video/H264',
payloadType: 101,
clockRate: 90000,
parameters: [Object],
rtcpFeedback: [Array]
},
{
mimeType: 'video/rtx',
payloadType: 102,
clockRate: 90000,
parameters: [Object],
rtcpFeedback: []
}
],
headerExtensions: [
{
uri: 'urn:ietf:params:rtp-hdrext:sdes:mid',
id: 1,
encrypt: false,
parameters: {}
},
{
uri: 'http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time',
id: 4,
encrypt: false,
parameters: {}
},
{
uri: 'http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01',
id: 5,
encrypt: false,
parameters: {}
},
{
uri: 'urn:3gpp:video-orientation',
id: 11,
encrypt: false,
parameters: {}
},
{
uri: 'urn:ietf:params:rtp-hdrext:toffset',
id: 12,
encrypt: false,
parameters: {}
}
],
encodings: [ { ssrc: 324971309, rtx: [Object], scalabilityMode: 'S3T3' } ],
rtcp: { cname: 'f63ff86b', reducedSize: true, mux: true },
mid: '0'
}
{
codecs: [
{
mimeType: 'audio/opus',
payloadType: 100,
clockRate: 48000,
channels: 2,
parameters: [Object],
rtcpFeedback: []
}
],
headerExtensions: [
{
uri: 'urn:ietf:params:rtp-hdrext:sdes:mid',
id: 1,
encrypt: false,
parameters: {}
},
{
uri: 'http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time',
id: 4,
encrypt: false,
parameters: {}
},
{
uri: 'urn:ietf:params:rtp-hdrext:ssrc-audio-level',
id: 10,
encrypt: false,
parameters: {}
}
],
encodings: [ { ssrc: 649489819 } ],
rtcp: { cname: 'f63ff86b', reducedSize: true, mux: true },
mid: '1'
}