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

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