Phenix Web Channel Demo
The Phenix Web Channel Demo uses the Phenix Web Sdk Express API to view and publish to a channel.
Setup
npm install
PHENIX_APPLICATION_ID='MyApplicationId' PHENIX_SECRET='MySecret' npm start
Replace MyApplicationId and MySecret with your provided credentials.
Publish to a Channel
Go to https://localhost:8843/publish/#MyChannelName to publish either:
- 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.
Viewing a Channel
Go to https://localhost:8843/#MyChannelName