Resumes the send transport for audio and updates the UI and audio producer state accordingly.
This function supports both a primary and a local audio producer, delegating the local logic to a separate function.
Throws an error if there is an issue during the process of resuming the audio send transport.
await resumeSendTransportAudio({ parameters: { audioProducer: producer, localAudioProducer: localProducer, islevel: '1', hostLabel: 'Host', lock_screen: false, shared: false, updateAudioProducer: updateProducerFunction, updateLocalAudioProducer: updateLocalProducerFunction, videoAlreadyOn: false, updateUpdateMainWindow: updateWindowFunction, prepopulateUserMedia: prepopulateFunction, prepopulateLocalUserMedia: prepopulateLocalFunction, },}); Copy
await resumeSendTransportAudio({ parameters: { audioProducer: producer, localAudioProducer: localProducer, islevel: '1', hostLabel: 'Host', lock_screen: false, shared: false, updateAudioProducer: updateProducerFunction, updateLocalAudioProducer: updateLocalProducerFunction, videoAlreadyOn: false, updateUpdateMainWindow: updateWindowFunction, prepopulateUserMedia: prepopulateFunction, prepopulateLocalUserMedia: prepopulateLocalFunction, },});
The options for resuming the send transport.
A promise that resolves when the send transport is resumed and the UI is updated.
Resumes the send transport for audio and updates the UI and audio producer state accordingly.
This function supports both a primary and a local audio producer, delegating the local logic to a separate function.
Throws
Throws an error if there is an issue during the process of resuming the audio send transport.
Example