WebRtcStream constructor

WebRtcStream(
  1. RtcDataChannel _channel,
  2. Conn _conn,
  3. Direction direction
)

Implementation

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