2021.0.1 • Published 2 years ago

phenix-web-channel v2021.0.1

Weekly downloads
2
License
Apache-2.0
Repository
-
Last release
2 years ago

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://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_SECRET

Viewing a Channel

http://localhost:8888/?backend=http://pcast.phenixrts.com/pcast&uri==http://pcast.phenixrts.com#MyChannelName
2021.0.1

2 years ago

2019.2.4

4 years ago

2019.0.34

5 years ago

2019.0.33

5 years ago

2019.0.32

5 years ago

2019.0.31

5 years ago

2019.0.30

5 years ago

2019.0.29

5 years ago

2019.0.28

5 years ago

2019.0.27

5 years ago

2019.0.26

5 years ago

2019.0.25

5 years ago

2019.0.24

5 years ago

2019.0.23

5 years ago

2019.0.22

5 years ago

2019.0.21

5 years ago

2019.0.20

5 years ago

2019.0.19

5 years ago

2019.0.18

5 years ago

2019.0.17

5 years ago

2019.0.16

5 years ago

2019.0.15

5 years ago

2019.0.14

5 years ago

2019.0.13

5 years ago

2019.0.12

5 years ago

2019.0.11

5 years ago

2019.0.10

5 years ago

2019.0.9

5 years ago

2019.0.8

5 years ago

2019.0.7

5 years ago

2019.0.6

5 years ago

2019.0.5

5 years ago

2019.0.4

5 years ago

2019.0.3

5 years ago

2019.0.2

5 years ago

2019.0.1

5 years ago

2019.0.0

5 years ago