client-sdk-js
3c8587db - feat: convert RemoteDataTrack.subscribe to be synchronous

Commit
2 days ago
feat: convert RemoteDataTrack.subscribe to be synchronous The api now looks like: const readableStream = track.subscribe({ signal }); for await (const frame of readableStream) { // Do something with `frame` } Manual cancellation can be done with `signal` OR `readableStream` - they should act identically.
Author
Parents
Loading