File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ enum RTCVideoViewObjectFit {
4949 RTCVideoViewObjectFitContain ,
5050 RTCVideoViewObjectFitCover ,
5151}
52+
5253enum RTCRtpMediaType {
5354 RTCRtpMediaTypeAudio ,
5455 RTCRtpMediaTypeVideo ,
@@ -72,20 +73,23 @@ enum TransceiverDirection {
7273 SendOnly ,
7374 RecvOnly ,
7475 Inactive ,
76+ Stopped ,
7577}
7678
7779final typeStringToRtpTransceiverDirection = < String , TransceiverDirection > {
7880 'sendrecv' : TransceiverDirection .SendRecv ,
7981 'sendonly' : TransceiverDirection .SendOnly ,
8082 'recvonly' : TransceiverDirection .RecvOnly ,
8183 'inactive' : TransceiverDirection .Inactive ,
84+ 'stopped' : TransceiverDirection .Stopped ,
8285};
8386
8487final typeRtpTransceiverDirectionToString = < TransceiverDirection , String > {
8588 TransceiverDirection .SendRecv : 'sendrecv' ,
8689 TransceiverDirection .SendOnly : 'sendonly' ,
8790 TransceiverDirection .RecvOnly : 'recvonly' ,
8891 TransceiverDirection .Inactive : 'inactive' ,
92+ TransceiverDirection .Stopped : 'stopped,'
8993};
9094
9195RTCIceConnectionState iceConnectionStateForString (String ? state) {
You can’t perform that action at this time.
0 commit comments