WebRtcStream constructor
WebRtcStream(
- RtcDataChannel _channel,
- Conn _conn,
- Direction direction
Implementation
WebRtcStream(this._channel, this._conn, this.direction) : _id = '${_channel.streamId}' {
_finAck.future.ignore();
_channel.messages.listen(_onChunk, onDone: _onChannelClosed);
}