StreamingAgentParameters
StreamingAgent parameters. Can be passed as arguments to the VoxEngine.createStreamingAgent method.
Add the following line to your scenario code to use the interface:
require(Modules.StreamingAgent);
Props
applicationName
applicationName: string
| undefined
Part of streamName, e.g, live2. The parameter is platform dependent, use it if it is required by the streaming platform.
backupUrl
backupUrl: string
| undefined
URL of another streaming server to use if the server specified in url does not respond.
keyframeInterval
keyframeInterval: number
| undefined
How often a keyframe in a stream is created (seconds). Default value is 2. Any value less than "2" yields "2".
protocol
protocol: RTMP
Protocol for streaming purposes. Currently only RTMP is supported.
streamName
streamName: string
| undefined
Unique stream name, use along with the url. Can be retrieved from a live-streaming CDN provider.
url
url: string
URL of a server which processes video streaming. Can be retrieved from a live-streaming CDN provider.