C# (CSharp) Luz.Net WebRtcNetwork - 2 exemples trouvés. Ce sont les exemples réels les mieux notés de Luz.Net.WebRtcNetwork extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Uses an underlaying java script library to give network access in browsers. Use WebRtcNetwork.IsAvailable() first to check if it can run. If the java script part of the library is included + the browser supports WebRtc it should return true. If the java script part of the library is not included you can inject it at runtime by using WebRtcNetwork.InjectJsCode(). It is recommecend to include the js files though. To allow incomming connections use StartServer() or StartServer("my room name") To connect oothers use Connect("room name"); To send messages use SendData. You will need to handle incomming events by polling the Dequeue method.