This is just a question, if it doesn't belongs here please let me know where should I add it.
Thank you!
php --ri swoole)?4.4.5
Linux 79755ba2f089 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5 (2019-08-11) x86_64 GNU/Linux
gcc (Debian 8.3.0-6) 8.3.0
PHP 7.2
I'd like to know how could I achieve streaming through WebRTC with swoole since I haven't seen any examples for it.
Thanks!
Hello, since nobody has answered this I will. Swoole currently has no support for WebRTC and I don't think it is likely that it will ever have full WebRTC support. While basic DataChannels can be created over SCTP and MediaChannels can be created over SRTP, "full" WebRTC also requires SDP, ICE, STUN, etc, and full WebRTC support also requires media access. And to provide a useful server side experience it will also require hooking into libraries to process media such as gstreamer and/or ffmpeg. Most of this falls outside of the main goals of Swoole from what I've seen, although it wouldn't surprise me if third parties start releasing extensions to provide limited support for at least some WebRTC features outside of signalling.
Also, existing WebRTC server projects such as Mediasoup and Janus provide ways to use with plaftorms such as Swoole via Unix Domain Sockets and other IPC based mechanisms.
Alright, thanks for the response!
Most helpful comment
Hello, since nobody has answered this I will. Swoole currently has no support for WebRTC and I don't think it is likely that it will ever have full WebRTC support. While basic DataChannels can be created over SCTP and MediaChannels can be created over SRTP, "full" WebRTC also requires SDP, ICE, STUN, etc, and full WebRTC support also requires media access. And to provide a useful server side experience it will also require hooking into libraries to process media such as gstreamer and/or ffmpeg. Most of this falls outside of the main goals of Swoole from what I've seen, although it wouldn't surprise me if third parties start releasing extensions to provide limited support for at least some WebRTC features outside of signalling.