LH-265-enable-audio-in-mediasoup #16

Closed
sergiu wants to merge 120 commits from LH-265-enable-audio-in-mediasoup into master
2 changed files with 8 additions and 6 deletions
Showing only changes of commit 4e4cd6f893 - Show all commits

View File

@ -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

View File

@ -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