Function resumeSendTransportAudio

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,
},
});