Publish and Subscribe Examples
Stream Manager Proxy Publish and Subscribe Examples
With the latest release, the live
webapp includes two examples: proxy-publisher.html
and proxy-subscriber.html
. These examples will take the following query parameters:
Name | Description | Default Value |
---|---|---|
host | hostname or IP | window.location.hostname |
protocol | protocol which Stream Manager is served over (http or https) | window.location.protocol |
port | port number that Stream Maager is served on | window.location.port |
app | webapp name to stream to on the server | live |
streamName | The unique stream name to broadcast with or subscribe to | None. Required |
verbose | Flag to enable verbose logging in Dev Console | None. optional |
view | Target broadcast tech (rtc, rtmp or hls) | None. Optional |
Example URI:
https://streammanager.test.com/live/proxy-publisher.html?streamName=stream1&verbose=1
Red5 Pro HTML5 SDK Examples:
Note: the streaming-html5
examples testbed is included with the Red5 Pro server distribution, and can be accessed via your stream manager at https://your.server.url/webrtcexamples/
.
Red5 Pro iOS SDK Examples:
Red5 Pro Android SDK Examples: