|
|
@@ -629,7 +629,7 @@ JitsiConference.prototype._setupNewTrack = function (newTrack) {
|
|
629
|
629
|
* @param {boolean} [dontModifySources] if true _modifySources won't be called.
|
|
630
|
630
|
* Used for streams added before the call start.
|
|
631
|
631
|
*/
|
|
632
|
|
-JitsiConference.prototype.addLocalWebRTCStream
|
|
|
632
|
+JitsiConference.prototype.addLocalStream
|
|
633
|
633
|
= function (stream, callback, errorCallback, ssrcInfo, dontModifySources) {
|
|
634
|
634
|
if(this.jingleSession) {
|
|
635
|
635
|
this.jingleSession.addStream(
|
|
|
@@ -649,7 +649,7 @@ JitsiConference.prototype.addLocalWebRTCStream
|
|
649
|
649
|
* @param {object} ssrcInfo object with information about the SSRCs associated
|
|
650
|
650
|
* with the stream.
|
|
651
|
651
|
*/
|
|
652
|
|
-JitsiConference.prototype.removeLocalWebRTCStream
|
|
|
652
|
+JitsiConference.prototype.removeLocalStream
|
|
653
|
653
|
= function (stream, callback, errorCallback, ssrcInfo) {
|
|
654
|
654
|
if(this.jingleSession) {
|
|
655
|
655
|
this.jingleSession.removeStream(
|
|
|
@@ -1021,7 +1021,7 @@ function (jingleSession, jingleOffer, now) {
|
|
1021
|
1021
|
};
|
|
1022
|
1022
|
}
|
|
1023
|
1023
|
try {
|
|
1024
|
|
- this.addLocalWebRTCStream(
|
|
|
1024
|
+ this.addLocalStream(
|
|
1025
|
1025
|
localTrack.getOriginalStream(), function () {}, function () {},
|
|
1026
|
1026
|
ssrcInfo, true /* don't modify SSRCs */);
|
|
1027
|
1027
|
} catch(e) {
|