Update server
This commit is contained in:
parent
1369491529
commit
21dffefa8c
@ -20622,9 +20622,9 @@ const createSendTransport = () => {
|
|||||||
// this is a call from Producer, so sender = true
|
// this is a call from Producer, so sender = true
|
||||||
socket.emit('createWebRtcTransport', { sender: true, callId }, (value) => {
|
socket.emit('createWebRtcTransport', { sender: true, callId }, (value) => {
|
||||||
|
|
||||||
console.log(`[createWebRtcTransport] value: ${value}`);
|
console.log(`[createWebRtcTransport] value: ${JSON.stringify(value)}`);
|
||||||
|
|
||||||
const params = value;
|
const params = value.params;
|
||||||
// The server sends back params needed
|
// The server sends back params needed
|
||||||
// to create Send Transport on the client side
|
// to create Send Transport on the client side
|
||||||
if (params.error) {
|
if (params.error) {
|
||||||
|
@ -264,9 +264,9 @@ const createSendTransport = () => {
|
|||||||
// this is a call from Producer, so sender = true
|
// this is a call from Producer, so sender = true
|
||||||
socket.emit('createWebRtcTransport', { sender: true, callId }, (value) => {
|
socket.emit('createWebRtcTransport', { sender: true, callId }, (value) => {
|
||||||
|
|
||||||
console.log(`[createWebRtcTransport] value: ${value}`);
|
console.log(`[createWebRtcTransport] value: ${JSON.stringify(value)}`);
|
||||||
|
|
||||||
const params = value;
|
const params = value.params;
|
||||||
// The server sends back params needed
|
// The server sends back params needed
|
||||||
// to create Send Transport on the client side
|
// to create Send Transport on the client side
|
||||||
if (params.error) {
|
if (params.error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user