About the Wowza Video JavaScript SDK for Real-Time Streaming at Scale

Learn about the Wowza Video™ JavaScript SDK for Real-Time Streaming at Scale.

About the SDK

With Real-Time Streaming at Scale in Wowza Video, you can deliver interactive live streams with as little as half-second latency to audiences of up to a million viewers.

The Wowza Video JavaScript SDK for Real-Time Streaming at Scale is used for developing browser-based broadcasting of real-time streams to Wowza Video and for creating playback applications for large audiences. If you're building an application for real-time streaming that leverages the Wowza Video service, the SDK accelerates the development of interfaces for publishing and viewing real-time streams.

You must obtain a license for Real-Time Streaming at Scale to add this capability to your new or existing account. Contact us for more information.

Get started

To get started using the SDK, complete the following steps:

  1. Install the SDK using one of these methods.
    • Add the following script within the <head> of your publisher and viewer HTML pages:
      Copy
      Copied
      <script src='https://www.wowza.com/downloads/rts-sdk/wowza.umd.js'></script>
    • Run the following shell command to install the NPM package to your dependencies if you build an application with Node.js:
      Copy
      Copied
      $ npm i --save @wowzamediasystems/sdk-rts
  2. Use the publisher and viewer sample code under Basic usage in the SDK reference to create basic publishing and viewing interfaces for real-time streams.
    • Publisher example – Start streaming to a real-time stream in Wowza Video from a browser.
    • Viewer example – Play the real-time stream from a browser.

In addition to using the SDK, you need to create a real-time stream in Wowza Video via the REST API or from the UI. Details of the real-time stream must be included in the code of your publisher and viewer interfaces to integrate the SDK with Wowza Video. For more information about using the SDK and Real-Time Streaming at Scale, see the following resources.

SDK documentation

Learn more about using the SDK to develop your publishing and viewing solutions for Real-Time Streaming at Scale with these resources.