Processes consumer transports for audio streams by pausing and resuming them based on their current state and the provided streams.
The options for processing consumer transports.
A promise that resolves when the processing is complete.
Will throw an error if there is an issue processing the consumer transports.
await processConsumerTransportsAudio({ consumerTransports: [transport1, transport2], lStreams: [stream1, stream2], parameters: { sleep: sleepFunction, },}); Copy
await processConsumerTransportsAudio({ consumerTransports: [transport1, transport2], lStreams: [stream1, stream2], parameters: { sleep: sleepFunction, },});
Processes consumer transports for audio streams by pausing and resuming them based on their current state and the provided streams.