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 {
49
49
RTCVideoViewObjectFitContain ,
50
50
RTCVideoViewObjectFitCover ,
51
51
}
52
+
52
53
enum RTCRtpMediaType {
53
54
RTCRtpMediaTypeAudio ,
54
55
RTCRtpMediaTypeVideo ,
@@ -72,20 +73,23 @@ enum TransceiverDirection {
72
73
SendOnly ,
73
74
RecvOnly ,
74
75
Inactive ,
76
+ Stopped ,
75
77
}
76
78
77
79
final typeStringToRtpTransceiverDirection = < String , TransceiverDirection > {
78
80
'sendrecv' : TransceiverDirection .SendRecv ,
79
81
'sendonly' : TransceiverDirection .SendOnly ,
80
82
'recvonly' : TransceiverDirection .RecvOnly ,
81
83
'inactive' : TransceiverDirection .Inactive ,
84
+ 'stopped' : TransceiverDirection .Stopped ,
82
85
};
83
86
84
87
final typeRtpTransceiverDirectionToString = < TransceiverDirection , String > {
85
88
TransceiverDirection .SendRecv : 'sendrecv' ,
86
89
TransceiverDirection .SendOnly : 'sendonly' ,
87
90
TransceiverDirection .RecvOnly : 'recvonly' ,
88
91
TransceiverDirection .Inactive : 'inactive' ,
92
+ TransceiverDirection .Stopped : 'stopped,'
89
93
};
90
94
91
95
RTCIceConnectionState iceConnectionStateForString (String ? state) {
You can’t perform that action at this time.
0 commit comments