Skip to content

Commit 6944b5c

Browse files
committed
Added Function(int currentAmount, int changedAmount)? onBufferedAmountChange callback.
1 parent cf9eb97 commit 6944b5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/rtc_data_channel.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ abstract class RTCDataChannel {
6666

6767
Function(RTCDataChannelState state)? onDataChannelState;
6868
Function(RTCDataChannelMessage data)? onMessage;
69+
Function(int currentAmount, int changedAmount)? onBufferedAmountChange;
6970

7071
/// Get current state.
7172
RTCDataChannelState? get state;

0 commit comments

Comments
 (0)