3 ms·
Too bad the API is an absolute mess, I worked on a WebRTC application 2 years ago and it was a nightmare.
by latenightcoding 10y ago
Too bad the API is an absolute mess, I worked on a WebRTC application 2 years ago and it was a nightmare.
- mfukar 10y agoThat was my experience as well. An underdocumented mess.
- bratsche 10y agoCan you tell us about any of the problems you experienced?
- latenightcoding 10y agoI just remember it was a nightmare to get it working in both chrome and firefox, the tutorials were outdated, the official docs at w3.org were wrong (suggested settings would break the app), error handling was not consistent, lots of race conditions, API was too complex and awkward, etc.
- cpncrunch 10y agoTry shane tully's example code. Its simple and works well. https://shanetully.com/2014/09/a-dead-simple-webrtc-example/ https://shanetully.com/2014/09/a-dead-simple-webrtc-example/
- pthatcherg 10y agoWhich API? PeerConnection? Would you prefer an API like ORTC?
- latenightcoding 10y agoI never got to try ORTC, a co-worker mentioned it at some point.