wrapStream static method
- dynamic stream
Wraps stream to attack the SDK (For web only).
Behavior different between platforms:
- On web platform returns new stream with the sdk plugged in.
- On native platforms returns the same stream. (does nothing with it).
The caller is responsible for disposing of both the original stream and the created stream.
Implementation
static Future<MediaStream> wrapStream(MediaStream stream) {
return _impl.wrapStream(stream);
}