diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-06-19 13:48:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 13:48:20 +0200 |
commit | 426ca6cc8e46eeb5ba66f151f531303babc24267 (patch) | |
tree | cb1078df959dd2bdb371f543d2a1e6fd060a7ee3 | |
parent | e41d2903adbd36353df96c016555343a8e44302b (diff) | |
parent | 9b53ef3325f630db10eba3a126b8435cfd52df32 (diff) | |
download | fork-godot-webrtc-native-426ca6cc8e46eeb5ba66f151f531303babc24267.tar.gz fork-godot-webrtc-native-426ca6cc8e46eeb5ba66f151f531303babc24267.tar.bz2 fork-godot-webrtc-native-426ca6cc8e46eeb5ba66f151f531303babc24267.zip |
Merge pull request #56 from Faless/fix/write_mode
Fix default data channel write mode to binary.
-rw-r--r-- | src/WebRTCLibDataChannel.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WebRTCLibDataChannel.hpp b/src/WebRTCLibDataChannel.hpp index b79eeaa..05f1ceb 100644 --- a/src/WebRTCLibDataChannel.hpp +++ b/src/WebRTCLibDataChannel.hpp @@ -61,7 +61,7 @@ private: QueuedPacket current_packet; std::shared_ptr<rtc::DataChannel> channel = nullptr; - WriteMode write_mode = WRITE_MODE_TEXT; + WriteMode write_mode = WRITE_MODE_BINARY; ChannelState channel_state = STATE_CONNECTING; bool negotiated = false; |