surflion-service 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/surflion.js +2 -2
package/package.json
CHANGED
package/surflion.js
CHANGED
|
@@ -1532,7 +1532,7 @@ var SurfLion = {
|
|
|
1532
1532
|
// SurfLion.ringtoneStream.pause();
|
|
1533
1533
|
SurfLion.eventHandlers.ended(data)
|
|
1534
1534
|
})
|
|
1535
|
-
data.session.on('sdp', function (
|
|
1535
|
+
data.session.on('sdp', function (e) {
|
|
1536
1536
|
console.log('sdp');
|
|
1537
1537
|
const stream = new MediaStream();
|
|
1538
1538
|
const receivers = data.session.connection?.getReceivers();
|
|
@@ -1542,7 +1542,7 @@ var SurfLion = {
|
|
|
1542
1542
|
SurfLion.localStream.srcObject = stream;
|
|
1543
1543
|
SurfLion.localStream.play();
|
|
1544
1544
|
if (SurfLion.debug) {
|
|
1545
|
-
console.info('onSDP, type - ',
|
|
1545
|
+
console.info('onSDP, type - ', e.type, ' sdp - ', e.sdp);
|
|
1546
1546
|
}
|
|
1547
1547
|
});
|
|
1548
1548
|
|