rtmp_validate_encoder

Validates the codec used by an RTMP stream encoder. This command will simulate initializing the video codec used by the encoder and return an error if it fails. This can be used to ensure parameters and resolution are valid before playing a stream. Note that this command cannot provide a reason as to why initialization failed, just whether it succeeds or not.

References:

arguments

return value

String[]

If validation fails an error is returned, on success an array containing any warning messages generated. Note that even if warnings are present the codec validation succeeded and the stream encoder should be playable.

groups