Skip to content

Commit

Permalink
id & bufferedAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Mar 30, 2022
1 parent 7009df5 commit bee53f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/rtc_data_channel_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ class RTCDataChannelWeb extends RTCDataChannel {
@override
RTCDataChannelState get state => _state;

@override
int? get id => _jsDc.id;

@override
String? get label => _jsDc.label;

@override
int? get bufferedAmount => _jsDc.bufferedAmount;

final _stateChangeController =
StreamController<RTCDataChannelState>.broadcast(sync: true);
final _messageController =
Expand Down

0 comments on commit bee53f7

Please sign in to comment.