Example #1
0
        public WebRtcSession GetNewSession(Viewer viewer)
        {
            var messageHandler = new RtcMessageHandler(viewer,
                                                       CasterSocket,
                                                       KeyboardMouseInput,
                                                       AudioCapturer,
                                                       ClipboardService,
                                                       FileDownloadService);

            return(new WebRtcSession(viewer, messageHandler));
        }
Example #2
0
 private async void CaptureChannel_MessageReceived(byte[] obj)
 {
     Logger.Debug($"DataChannel message received.  Size: {obj.Length}");
     await RtcMessageHandler.ParseMessage(Viewer, obj);
 }
Example #3
0
 private async void CaptureChannel_MessageReceived(byte[] obj)
 {
     await RtcMessageHandler.ParseMessage(Viewer, obj);
 }