2023.0.0 • Published 5 days ago

@phenixrts/video-js-plugin v2023.0.0

Weekly downloads
-
License
See in LICENSE fi...
Repository
-
Last release
5 days ago

Phenix RTS SDK VideoJs plugin

This project demonstrates the integration of the popular web video player video.js with the PheixRTS SDK.

Setup

  1. Install phenix RTS SDK VideoJs plugin
    npm i @phenixrts/video-js-plugin
  2. Install phenix RTS SDK
    npm i @phenixrts/sdk
  3. Initialize videojs with phenix RTS SDK VideoJs plugin
        import videojs from 'video.js';
        import PhenixRtsVideoJsPlugin from '@phenixrts/video-js-plugin';
        ...
        videojs.registerPlugin('PhenixRtsSdkPlugin', PhenixRtsVideoJsPlugin);
        videojs('my-video', {...}, function onPlayerReady() {
          const phenixrts = this.PhenixRtsSdkPlugin({
              token: 'DIGEST:....' // PhenixRTS edge token
          });
          ...
        });

Run the example

  1. Publish a stream via Phenix RTS Portal.
  2. Make sure you are in the examples folder.
  3. Start the example with:
    npm run start
  4. Create a viewing token using the Phenix RTS Portal.
    • Go to Channels
    • Select the channel in which the stream was published
    • Go to the EdgeAuth tab
    • Copy the viewing token
  5. Open the locally served URL and add a 'token' query parameter and the previously generated token at the end: http://127.0.0.1:5173/phenixrts-sdk-plugin-for-real-time.html?token=<viewToken>.
2023.0.0-beta.57

13 days ago

2023.0.0-beta.58

13 days ago

2023.0.0-beta.55

13 days ago

2023.0.0-beta.56

13 days ago

2023.0.0-beta.53

13 days ago

2023.0.0-beta.54

13 days ago

2023.0.0-beta.52

13 days ago

2023.0.0-beta.51

16 days ago

2023.0.0-beta.48

22 days ago

2023.0.0-beta.49

22 days ago

2023.0.0-beta.46

22 days ago

2023.0.0-beta.47

22 days ago

2023.0.0-beta.44

22 days ago

2023.0.0-beta.45

22 days ago

2023.0.0-beta.42

22 days ago

2023.0.0-beta.43

22 days ago

2023.0.0-beta.40

22 days ago

2023.0.0-beta.41

22 days ago

2023.0.0-beta.50

22 days ago

2023.0.0

4 months ago

2023.0.1-beta.35

4 months ago

2023.0.0-beta.34

4 months ago

2023.0.0-beta.33

6 months ago

2023.0.0-beta.32

6 months ago

2023.0.0-beta.31

7 months ago

2023.0.0-beta.30

7 months ago

2023.0.0-beta.29

7 months ago

2023.0.0-beta.28

7 months ago

2023.0.0-beta.27

7 months ago

2023.0.0-beta.26

7 months ago

2023.0.0-beta.25

7 months ago

2023.0.0-beta.24

7 months ago

2023.0.0-beta.23

7 months ago

2023.0.0-beta.19

7 months ago

2023.0.0-beta.15

7 months ago

2023.0.0-beta.14

7 months ago

2023.0.0-beta.13

7 months ago

2023.0.0-beta.12

7 months ago

2023.0.0-beta.11

7 months ago

2023.0.0-beta.9

7 months ago

2023.0.0-beta.8

7 months ago

2023.0.0-beta.7

7 months ago

2023.0.0-beta.6

7 months ago

2023.0.0-beta.3

7 months ago

2023.0.0-beta.1

7 months ago