setNewStream method
void
setNewStream(
- MediaStream newStream
Implementation
void setNewStream(MediaStream newStream) {
stream = newStream;
renderer.srcObject = stream;
if (onNewStream != null) {
onNewStream?.call(stream!);
}
}