2024.2.1 • Published 10 months ago

@phenixrts/video-js-plugin v2024.2.1

Weekly downloads
-
License
See in LICENSE fi...
Repository
-
Last release
10 months 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>.
2024.2.1

10 months ago

2024.2.1-beta.89

11 months ago

2024.2.1-beta.88

11 months ago

2024.2.1-beta.90

10 months ago

2024.2.1-beta.91

10 months ago

2023.0.0

1 year ago

2023.0.0-beta.33

2 years ago

2023.0.0-beta.32

2 years ago

2023.0.0-beta.31

2 years ago

2023.0.0-beta.30

2 years ago

2023.0.0-beta.29

2 years ago

2023.0.0-beta.28

2 years ago

2023.0.0-beta.27

2 years ago

2023.0.0-beta.26

2 years ago

2023.0.0-beta.25

2 years ago

2023.0.0-beta.24

2 years ago

2023.0.0-beta.23

2 years ago

2023.0.0-beta.19

2 years ago

2023.0.0-beta.15

2 years ago

2023.0.0-beta.14

2 years ago

2023.0.0-beta.13

2 years ago

2023.0.0-beta.12

2 years ago

2023.0.0-beta.11

2 years ago

2023.0.0-beta.9

2 years ago

2023.0.0-beta.8

2 years ago

2023.0.0-beta.7

2 years ago

2023.0.0-beta.6

2 years ago

2023.0.0-beta.3

2 years ago

2023.0.0-beta.1

2 years ago