Skip to content

Wowza Streaming Engine™ HTTP Provider that is used to control Stream class streams and playlists through HTTP requests.

License

Notifications You must be signed in to change notification settings

WowzaMediaSystems/wse-plugin-httpstreamcontrol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTPStreamControl

You can use the HTTPStreamControl plugin for Wowza Streaming Engine™ media server software to control Stream class streams and playlists through HTTP requests. Use it to dynamically create, set up, and start new live Stream class streams from static and live sources, and to add sources to existing Stream class streams. For extra control, use this HTTP provider with the StreamPublisher module.

This repo includes a compiled version.

Prerequisites

Wowza Streaming Engine™ 4.0.0 or later is required.

Usage

Control the playlist through an HTTP request, passing the required variables as query string parameters.

  1. Add a new stream:
curl "http://localhost:8086/streamcontrol?appName=live&action=addNewStream&streamName=testStream"
  1. Add a new playlist:
curl "http://localhost:8086/streamcontrol?appName=live&action=addNewPlaylist&playlistName=p1"
  1. Add a playlist item:
curl "http://localhost:8086/streamcontrol?appName=live&action=addItemToPlaylist&playlistName=p1&streamName=testStream&playlistItemName=sample.mp4"
  1. Open the playlist on a stream. By default, start is 0 and length is -1. For live streams, use -2 for start. Any positive integer for length plays the source for that number of seconds:
curl "http://localhost:8086/streamcontrol?appName=live&action=openPlaylistOnStream&playlistName=p1&streamName=testStream"
  1. Play the next item on the playlist:
curl "http://localhost:8086/streamcontrol?appName=live&action=playNextPlaylistItem&streamName=testStream"
  1. Remove an item from a playlist:
curl "http://localhost:8086/streamcontrol?appName=live&action=removeItemFromPlaylist&playlistItemName=sample.mp4&streamName=testStream"
  1. Stop a stream:
curl "http://localhost:8086/streamcontrol?appName=live&action=stopStream&streamName=testStream"

More resources

To use the compiled version of this module, see Control Stream class streams dynamically with a Wowza Streaming Engine Java module.

Wowza Streaming Engine Server-Side API Reference

How to extend Wowza Streaming Engine using the Wowza IDE

How to use server-side modules and HTTP Providers

Wowza Media Systems™ provides developers with a platform to create streaming applications and solutions. See Wowza Developer Tools to learn more about our APIs and SDKs.

Contact

Wowza Media Systems, LLC

License

This code is distributed under the Wowza Public License.

About

Wowza Streaming Engine™ HTTP Provider that is used to control Stream class streams and playlists through HTTP requests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages