8000 Update. · RainwayApp/flutter-webrtc@201d06a · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 201d06a

Browse files
committed
Update.
1 parent 8cd9300 commit 201d06a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

android/src/main/java/com/cloudwebrtc/webrtc/utils/ConstraintsArray.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ public void pushArray(ConstraintsArray array){
102102
mArray.add(array.toArrayList());
103103
}
104104

105+
public void pushByte(byte[] value){
106+
mArray.add(value);
107+
}
108+
105109
public void pushMap(ConstraintsMap map){
106110
mArray.add(map.toMap());
107111
}

lib/rtc_data_channel.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ class RTCDataChannelMessage {
5858
this._data = binary;
5959
this._isBinary = true;
6060
}
61-
62-
61+
6362
/// Tells whether this message contains binary.
6463
/// If this is false, it's a text message.
6564
bool get isBinary => _isBinary;

0 commit comments

Comments
 (0)
0