webrtc-server | webrtc流媒体服务器
kandi X-RAY | webrtc-server Summary
kandi X-RAY | webrtc-server Summary
webrtc流媒体服务器
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of webrtc-server
webrtc-server Key Features
webrtc-server Examples and Code Snippets
Community Discussions
Trending Discussions on webrtc-server
QUESTION
In order to establish a visio between 2 peers, I developp an app for iOS and Android. The language is flutter and I use the flutter_webrtc plugin from pub.dev.
Video and audio work fine using flutter-webrtc-server (https://github.com/flutter-webrtc/flutter-webrtc-server) as signaling server and another TURN server.
Now, I want to send data from peer 1 to peer 2. The data is a simple int, sent every second in order to synchronise counters.
I try to send data using _socket.send(_encoder.convert(request)); (Signaling.dart), but if the type is not known ("peers", "offer", ...), the signaling server blocks my message (I set COUNTER as type) (Unknown type). It would have been a good solution...
Do you have any idea to send simple text message to another peer, or into a room, I don't care if other peers can read the messages !
Thanks, Luc
...ANSWER
Answered 2020-Nov-05 at 20:28I did it ! I added some code in singaler.go . Very simple : copy the case "candidate" block and paste it just above. Then rename "candidate" into "counter". So now, my signaling server relay the counter message. :-)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install webrtc-server
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page