Update build
This commit is contained in:
parent
27151a26d1
commit
f20e1ad260
@ -20672,6 +20672,7 @@ const connectSendTransport = async () => {
|
|||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
||||||
// this action will trigger the 'connect' and 'produce' events above
|
// this action will trigger the 'connect' and 'produce' events above
|
||||||
producerVideo = await producerTransport.produce(videoParams)
|
producerVideo = await producerTransport.produce(videoParams)
|
||||||
|
console.log('producerVideo', producerVideo);
|
||||||
|
|
||||||
producerVideo.on('trackended', () => {
|
producerVideo.on('trackended', () => {
|
||||||
console.log('track ended')
|
console.log('track ended')
|
||||||
@ -20683,7 +20684,8 @@ const connectSendTransport = async () => {
|
|||||||
// close video track
|
// close video track
|
||||||
})
|
})
|
||||||
|
|
||||||
// producerAudio = await producerTransport.produce(audioParams)
|
producerAudio = await producerTransport.produce(audioParams)
|
||||||
|
console.log('producerAudio', producerAudio);
|
||||||
|
|
||||||
// producerAudio.on('trackended', () => {
|
// producerAudio.on('trackended', () => {
|
||||||
// console.log('track ended')
|
// console.log('track ended')
|
||||||
|
@ -314,6 +314,7 @@ const connectSendTransport = async () => {
|
|||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
||||||
// this action will trigger the 'connect' and 'produce' events above
|
// this action will trigger the 'connect' and 'produce' events above
|
||||||
producerVideo = await producerTransport.produce(videoParams)
|
producerVideo = await producerTransport.produce(videoParams)
|
||||||
|
console.log('producerVideo', producerVideo);
|
||||||
|
|
||||||
producerVideo.on('trackended', () => {
|
producerVideo.on('trackended', () => {
|
||||||
console.log('track ended')
|
console.log('track ended')
|
||||||
@ -325,7 +326,8 @@ const connectSendTransport = async () => {
|
|||||||
// close video track
|
// close video track
|
||||||
})
|
})
|
||||||
|
|
||||||
// producerAudio = await producerTransport.produce(audioParams)
|
producerAudio = await producerTransport.produce(audioParams)
|
||||||
|
console.log('producerAudio', producerAudio);
|
||||||
|
|
||||||
// producerAudio.on('trackended', () => {
|
// producerAudio.on('trackended', () => {
|
||||||
// console.log('track ended')
|
// console.log('track ended')
|
||||||
|
Loading…
Reference in New Issue
Block a user