rtmp_create_stream
Creates an RTMP stream. This is a convenience command that combines both rtmp_create_render_loop and rtmp_create_encoder into one call. Note that it is not possible to use shared render loops with this command.
arguments
- "codec" : String (default: null)
The name of the codec to encode the stream with. If not supplied, or has the value "default" then use the default codec.
Possible Values:
- h264
- sorenson
- screen video
- "encoder_name" : String
The name of the encoder to create.
- "loop_name" : String
The name of the render loop to create.
- "render_handler_name" : String
The name of the render handler to use with the render loop.
- "render_rate" : Uint32 (default: null)
The maximum rate at which to render images
- "resolution" : Uint32<2>
The resolution of the video stream.
- "scene_name" : String
The name of the scene to render.
- "scope_name" : String (default: null)
The name of the scope to render in. If not provided then the current execution scope is used. If an empty string then the global scope is used