LH-265-enable-audio-in-mediasoup #16
@ -20600,6 +20600,7 @@ const getRtpCapabilities = () => {
|
||||
}
|
||||
|
||||
const createSendTransport = () => {
|
||||
console.log('[createSendTransport');
|
||||
// see server's socket.on('createWebRtcTransport', sender?, ...)
|
||||
// this is a call from Producer, so sender = true
|
||||
socket.emit('createWebRtcTransport', { sender: true, callId }, ({ params }) => {
|
||||
@ -20610,7 +20611,7 @@ const createSendTransport = () => {
|
||||
return
|
||||
}
|
||||
|
||||
console.log(params)
|
||||
console.log('[createWebRtcTransport] params', params)
|
||||
|
||||
// creates a new WebRTC Transport to send media
|
||||
// based on the server's producer transport params
|
||||
@ -20664,7 +20665,7 @@ const createSendTransport = () => {
|
||||
|
||||
const connectSendTransport = async () => {
|
||||
|
||||
console.log('[connectSendTransport] producerTransport', params);
|
||||
console.log('[connectSendTransport] producerTransport');
|
||||
|
||||
// we now call produce() to instruct the producer transport
|
||||
// to send media to the Router
|
||||
@ -20716,7 +20717,7 @@ const createRecvTransport = async () => {
|
||||
return
|
||||
}
|
||||
|
||||
console.log(params)
|
||||
console.log('[createRecvTransport] params', params)
|
||||
|
||||
// creates a new WebRTC Transport to receive media
|
||||
// based on server's consumer transport params
|
||||
|
@ -242,6 +242,7 @@ const getRtpCapabilities = () => {
|
||||
}
|
||||
|
||||
const createSendTransport = () => {
|
||||
console.log('[createSendTransport');
|
||||
// see server's socket.on('createWebRtcTransport', sender?, ...)
|
||||
// this is a call from Producer, so sender = true
|
||||
socket.emit('createWebRtcTransport', { sender: true, callId }, ({ params }) => {
|
||||
@ -252,7 +253,7 @@ const createSendTransport = () => {
|
||||
return
|
||||
}
|
||||
|
||||
console.log(params)
|
||||
console.log('[createWebRtcTransport] params', params)
|
||||
|
||||
// creates a new WebRTC Transport to send media
|
||||
// based on the server's producer transport params
|
||||
@ -306,7 +307,7 @@ const createSendTransport = () => {
|
||||
|
||||
const connectSendTransport = async () => {
|
||||
|
||||
console.log('[connectSendTransport] producerTransport', params);
|
||||
console.log('[connectSendTransport] producerTransport');
|
||||
|
||||
// we now call produce() to instruct the producer transport
|
||||
// to send media to the Router
|
||||
@ -358,7 +359,7 @@ const createRecvTransport = async () => {
|
||||
return
|
||||
}
|
||||
|
||||
console.log(params)
|
||||
console.log('[createRecvTransport] params', params)
|
||||
|
||||
// creates a new WebRTC Transport to receive media
|
||||
// based on server's consumer transport params
|
||||
|
Loading…
Reference in New Issue
Block a user