PHP Ratchet and WebRTC
javascript, php, streaming, webrtc, websocket
Solution
Almost all the tutorials says WebRTC is simple, but at the same time they keep repeating only the same webrtc.org basic examples and using almost only Node.js.
I found this nice early WebRTC+PHP GitHub project that codes a simple signaling server using PHP and MySQL (although it could be replace by a text file). I think it could be useful to you. Is outdated, last change was 6 years ago, but I could explain you the changes in the code needed to run it using PHP 7 and the last Firefox and Chrome versions.
I'm planning to share a fork when I could achieve to code a multiple (not a fixed number) users version. But the lack of examples make it harder.
Problem
I am trying to develop streaming webrtc on a PHP website. I want to establish streaming peer to peer with webrtc. I know webrtc works fine on node and socket to make all the configuration to stablish webrtc connection. Can I use Ratchet and PHP in place of node and socket? Does Ratchet support https?