aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.WebRTC
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-18 04:46:26 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-18 04:46:26 +0200
commit14d0b3383d04e102029f41661c192e77e22bfd98 (patch)
tree25c8e1176941c0a8a27a34a71998b666601650e2 /Software/Visual_Studio/Tango.WebRTC
parentcbdadde2ebbc587909f2a120ddb2adfa699e4d65 (diff)
downloadTango-14d0b3383d04e102029f41661c192e77e22bfd98.tar.gz
Tango-14d0b3383d04e102029f41661c192e77e22bfd98.zip
Added support for FSE mouse gestures via WebRTC.
Added SendBinaryData via WebRtcClient.
Diffstat (limited to 'Software/Visual_Studio/Tango.WebRTC')
-rw-r--r--Software/Visual_Studio/Tango.WebRTC/WebRtcClient.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.WebRTC/WebRtcClient.cs b/Software/Visual_Studio/Tango.WebRTC/WebRtcClient.cs
index bbbabb4e4..e1d49e18c 100644
--- a/Software/Visual_Studio/Tango.WebRTC/WebRtcClient.cs
+++ b/Software/Visual_Studio/Tango.WebRTC/WebRtcClient.cs
@@ -412,6 +412,13 @@ namespace Tango.WebRTC
_conductor.DataChannelSendText(msg);
}
+ public void SendBinary(byte[] data)
+ {
+ EnsureInitialized();
+
+ _conductor.DataChannelSendData(data);
+ }
+
public void AddIceCandidate(IceCandidate ice)
{
EnsureInitialized();