phenix-web-channel

Phenix Web Channel

Usage no npm install needed!

<script type="module">
  import phenixWebChannel from 'https://cdn.skypack.dev/phenix-web-channel';
</script>

README

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 start

Publish to a Channel

http://localhost:8888/publish?backend=http://demo-integration.phenixrts.com/pcast#MyChannelName

The backend can point to any confirming backend including the local developer setup https://local.phenixrts.com:8443/demo.

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.

Note: SSL may be required for publishing in some browsers. For SSL setup environment variables, see scripts/httpserver.js.

Viewing a Channel

http://localhost:8888/?backend=http://demo-integration.phenixrts.com/pcast#MyChannelName