简体   繁体   中英

RTCDataChannel communication between server and client

I am going to create real time web application and would like to use WebRTC RTCDataChannel to exchange data between client and server.

WebRTC is created for peer-to-peer communication. However, is it possible to do data exchanging between server and client?

Yes. You could use a WebRTC implementation and build your server from the ground up. Will feel like using a HTTP library and setting your own endpoints.

Or you could run a WebRTC server and write an extension/modify it. This will get you something working quicker.

Happy to answer more directed questions. I think it depends on what languages/tools you feel comfortable with.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM