|
|
@@ -143,16 +143,10 @@ SDP.prototype.toJingle = function(elem, thecreator) {
|
|
143
|
143
|
}
|
|
144
|
144
|
|
|
145
|
145
|
let ssrc;
|
|
146
|
|
- const simGroup = SDPUtil.findLine(this.media[i], 'a=ssrc-group:SIM');
|
|
147
|
146
|
const assrcline = SDPUtil.findLine(this.media[i], 'a=ssrc:');
|
|
148
|
147
|
|
|
149
|
148
|
if (assrcline) {
|
|
150
|
|
- if (browser.isFirefox() && simGroup) {
|
|
151
|
|
- // Use the first ssrc from the SIM group since the order of the SSRCs need to be reversed for Firefox.
|
|
152
|
|
- ssrc = simGroup.substring(17).split(' ')[0];
|
|
153
|
|
- } else {
|
|
154
|
|
- ssrc = assrcline.substring(7).split(' ')[0]; // take the first
|
|
155
|
|
- }
|
|
|
149
|
+ ssrc = assrcline.substring(7).split(' ')[0]; // take the first
|
|
156
|
150
|
} else {
|
|
157
|
151
|
ssrc = false;
|
|
158
|
152
|
}
|