Parcourir la source

fix(SDP): don't separate fmtp parameter with spaces (#2034)

* fix(SDP): don't separate fmtp parameter with spaces

* adjusted tests accordingly to not expect spaces anymore
dev1
Nils Ohlmeier il y a 3 ans
Parent
révision
261736ba1f
Aucun compte lié à l'adresse e-mail de l'auteur
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1
    1
      modules/sdp/SDP.js
  2. 2
    2
      modules/sdp/SDP.spec.js

+ 1
- 1
modules/sdp/SDP.js Voir le fichier

707
                                 + parameter.getAttribute('value'));
707
                                 + parameter.getAttribute('value'));
708
                     })
708
                     })
709
                     .get()
709
                     .get()
710
-                    .join('; ');
710
+                    .join(';');
711
             sdp += '\r\n';
711
             sdp += '\r\n';
712
         }
712
         }
713
 
713
 

+ 2
- 2
modules/sdp/SDP.spec.js Voir le fichier

220
 a=mid:audio
220
 a=mid:audio
221
 a=rtcp-mux
221
 a=rtcp-mux
222
 a=rtpmap:111 opus/48000/2
222
 a=rtpmap:111 opus/48000/2
223
-a=fmtp:111 minptime=10; useinbandfec=1
223
+a=fmtp:111 minptime=10;useinbandfec=1
224
 a=rtcp-fb:111 transport-cc
224
 a=rtcp-fb:111 transport-cc
225
 a=rtpmap:103 ISAC/16000
225
 a=rtpmap:103 ISAC/16000
226
 a=rtpmap:104 ISAC/32000
226
 a=rtpmap:104 ISAC/32000
351
 a=mid:audio
351
 a=mid:audio
352
 a=rtcp-mux
352
 a=rtcp-mux
353
 a=rtpmap:111 opus/48000/2
353
 a=rtpmap:111 opus/48000/2
354
-a=fmtp:111 minptime=10; useinbandfec=1
354
+a=fmtp:111 minptime=10;useinbandfec=1
355
 a=rtcp-fb:111 transport-cc
355
 a=rtcp-fb:111 transport-cc
356
 a=rtpmap:103 ISAC/16000
356
 a=rtpmap:103 ISAC/16000
357
 a=rtpmap:104 ISAC/32000
357
 a=rtpmap:104 ISAC/32000

Chargement…
Annuler
Enregistrer