RTCRtpTransceiverInit constructor
RTCRtpTransceiverInit({
- RTCRtpTransceiverDirection? direction,
- Iterable<
MediaStream> ? streams, - Iterable<
RTCRtpEncodingParameters> ? sendEncodings,
Implementation
factory RTCRtpTransceiverInit(
{RTCRtpTransceiverDirection? direction,
Iterable<MediaStream>? streams,
Iterable<RTCRtpEncodingParameters>? sendEncodings}) =>
RTCRtpTransceiverInit._(
direction:
direction?.value ?? RTCRtpTransceiverDirection.sendrecv.value,
streams: streams ?? const [],
sendEncodings: sendEncodings ?? const []);