Function processConsumerTransportsAudio

Processes consumer transports for audio streams by pausing and resuming them based on their current state and the provided streams.

Will throw an error if there is an issue processing the consumer transports.

await processConsumerTransportsAudio({
consumerTransports: [transport1, transport2],
lStreams: [stream1, stream2],
parameters: {
sleep: sleepFunction,
},
});