LINXD-2270-p2 #19

Closed
sergiu wants to merge 58 commits from LINXD-2270-p2 into develop
2 changed files with 22 additions and 22 deletions
Showing only changes of commit e3536e87cd - Show all commits

View File

@ -20684,19 +20684,19 @@ const connectSendTransport = async () => {
}) })
// Produce audio // Produce audio
producerAudio = await producerTransport.produce(audioParams) // producerAudio = await producerTransport.produce(audioParams)
console.log('audioParams', audioParams); // console.log('audioParams', audioParams);
console.log('producerAudio', producerAudio); // console.log('producerAudio', producerAudio);
producerAudio.on('trackended', () => { // producerAudio.on('trackended', () => {
console.log('track ended') // console.log('track ended')
// close audio track // // close audio track
}) // })
producerAudio.on('transportclose', () => { // producerAudio.on('transportclose', () => {
console.log('transport ended') // console.log('transport ended')
// close audio track // // close audio track
}) // })
const answer = { const answer = {
origin_asset_id: ASSET_ID, origin_asset_id: ASSET_ID,

View File

@ -326,19 +326,19 @@ const connectSendTransport = async () => {
}) })
// Produce audio // Produce audio
producerAudio = await producerTransport.produce(audioParams) // producerAudio = await producerTransport.produce(audioParams)
console.log('audioParams', audioParams); // console.log('audioParams', audioParams);
console.log('producerAudio', producerAudio); // console.log('producerAudio', producerAudio);
producerAudio.on('trackended', () => { // producerAudio.on('trackended', () => {
console.log('track ended') // console.log('track ended')
// close audio track // // close audio track
}) // })
producerAudio.on('transportclose', () => { // producerAudio.on('transportclose', () => {
console.log('transport ended') // console.log('transport ended')
// close audio track // // close audio track
}) // })
const answer = { const answer = {
origin_asset_id: ASSET_ID, origin_asset_id: ASSET_ID,