Skip to content

Commit f33349c

Browse files
committed
Added callback onBufferedAmountChange and bufferedAmount
1 parent 5cec40d commit f33349c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--------------------------------------------
44
[1.0.5] - 2022-05-31
55

6-
* Added Function(int currentAmount, int changedAmount)? onBufferedAmountChange callback.
6+
* Added Function(int currentAmount, int changedAmount)? onBufferedAmountChange callback and set bufferedAmount as non nullable.
77

88
[1.0.4] - 2022-05-08
99

lib/src/rtc_data_channel.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ abstract class RTCDataChannel {
7777
/// Get channel label
7878
String? get label;
7979

80-
int? get bufferedAmount;
80+
int get bufferedAmount;
8181

8282
/// Stream of state change events. Emits the new state on change.
8383
/// Closes when the [RTCDataChannel] is closed.

0 commit comments

Comments
 (0)