Update server
This commit is contained in:
parent
0bdc6fac3a
commit
39efdd12b7
@ -20689,8 +20689,9 @@ const connectSendTransport = async () => {
|
||||
// close video track
|
||||
})
|
||||
|
||||
console.log('doIHaveAudio', doIHaveAudio);
|
||||
// Video is mandatory, but audio may not be included
|
||||
if (doIHaveAudio) {
|
||||
// if (doIHaveAudio) {
|
||||
console.log('audioParams', audioParams);
|
||||
producerAudio = await producerTransport.produce(audioParams)
|
||||
console.log('producerAudio', producerAudio);
|
||||
@ -20703,7 +20704,7 @@ const connectSendTransport = async () => {
|
||||
console.log('transport ended')
|
||||
// close video track
|
||||
})
|
||||
}
|
||||
// }
|
||||
|
||||
const answer = {
|
||||
origin_asset_id: ASSET_ID,
|
||||
|
@ -331,8 +331,9 @@ const connectSendTransport = async () => {
|
||||
// close video track
|
||||
})
|
||||
|
||||
console.log('doIHaveAudio', doIHaveAudio);
|
||||
// Video is mandatory, but audio may not be included
|
||||
if (doIHaveAudio) {
|
||||
// if (doIHaveAudio) {
|
||||
console.log('audioParams', audioParams);
|
||||
producerAudio = await producerTransport.produce(audioParams)
|
||||
console.log('producerAudio', producerAudio);
|
||||
@ -345,7 +346,7 @@ const connectSendTransport = async () => {
|
||||
console.log('transport ended')
|
||||
// close video track
|
||||
})
|
||||
}
|
||||
// }
|
||||
|
||||
const answer = {
|
||||
origin_asset_id: ASSET_ID,
|
||||
|
Loading…
Reference in New Issue
Block a user