992 B
992 B
Live Demo: https://rtcmulticonnection.herokuapp.com/demos/SSEConnection.html
Server Sent Events (SSE) are used to setup WebRTC peer-to-peer connections.
- Download above directory
- Upload to your PHP webserver
- Give the directory both read-and-write permissions
- Go to
dev/SSEConnection.jsand replacesseDirPathwithsseDirPath='https://php-server.com/SSEConnection/'; - Try
demos/SSEConnection.htmldemo on HTTPs or localhost.
Relevant files:
- https://github.com/muaz-khan/RTCMultiConnection/blob/master/dev/SSEConnection.js
- https://github.com/muaz-khan/RTCMultiConnection/blob/master/demos/SSEConnection.html
PHP Source: