Skip to content

Commit dbe9812

Browse files
authored
Merge pull request #2 from flutter-webrtc/datachannel-id
RTCDataChannel missing properties
2 parents 5f90b0f + 72e8c6d commit dbe9812

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/rtc_data_channel.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,14 @@ abstract class RTCDataChannel {
7070
/// Get current state.
7171
RTCDataChannelState? get state;
7272

73+
/// Get channel id
74+
String? get id;
75+
7376
/// Get channel label
7477
String? get label;
7578

79+
int? get bufferedAmount;
80+
7681
/// Stream of state change events. Emits the new state on change.
7782
/// Closes when the [RTCDataChannel] is closed.
7883
late Stream<RTCDataChannelState> stateChangeStream;

0 commit comments

Comments
 (0)