phenix-web-channel v2021.0.1
Phenix Web Channel Demo
The Phenix Web Channel uses the Phenix WebSdk Express API to view and publish to a channel.
Setup
npm install
npm startPublish to a Channel
http://localhost:8888/publish?backend=http://pcast.phenixrts.com/pcast&uri=http://pcast.phenixrts.com&authToken=<auth_token>#MyChannelName?backend=<url> can point to any confirming backend. (required)
?uri=<url> sets the base uri for channel related calls. (required)
?authToken=<authToken> verifies the user (you can not publish to the channel if you are unauthorized) (optional)
?authRequired=<boolean> redirects to the authentication screen to verify the user, if the authToken is not specified (optional)
?publishToken=<publishToken> provides the stream info for publishing (optional)
?edgeToken=<edgeToken> provides both auth and streaming info (preferred for viewing) (optional)
Note: We do not need authToken and authRequired parameters when using an open backend. (ex. http://demo.phenixrts.com)
You can publish:
- Local User Media - Select audio and video options from the dropdown and allow the browser to use your media when prompted
- Remote Media - Pass in a url to your remote media (mp4, rtmp, etc.)
Once you have selected your media, click the red upload button to begin publishing.
Note: Publishing will create the channel if it does not already exist.
Environment variables list:
NODE_ENV
PHENIX_HTTPS_PFX
PHENIX_HTTPS_PASSPHRASE
PHENIX_BASE_URL
PHENIX_APPLICATION_ID
PHENIX_SECRETViewing a Channel
http://localhost:8888/?backend=http://pcast.phenixrts.com/pcast&uri==http://pcast.phenixrts.com#MyChannelName4 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago