Specifies how the server verifies client SWF files before allowing the
files to connect to an application. Verifying SWF files is a security
measure that prevents someone from creating their own SWF files that can
attempt to stream your resources.
Signed-off-by: Martin Storsjö <martin@martin.st>
pull/28/head
Samuel Pitoiset13 years agocommitted byMartin Storsjö
{"rtmp_pageurl","URL of the web page in which the media was embedded. By default no value will be sent.",OFFSET(pageurl),AV_OPT_TYPE_STRING,{.str=NULL},0,0,DEC},
{"rtmp_playpath","Stream identifier to play or to publish",OFFSET(playpath),AV_OPT_TYPE_STRING,{.str=NULL},0,0,DEC|ENC},
{"rtmp_subscribe","Name of live stream to subscribe to. Defaults to rtmp_playpath.",OFFSET(subscribe),AV_OPT_TYPE_STRING,{.str=NULL},0,0,DEC},
{"rtmp_swfhash","SHA256 hash of the decompressed SWF file (32 bytes).",OFFSET(swfhash),AV_OPT_TYPE_BINARY,.flags=DEC},
{"rtmp_swfsize","Size of the decompressed SWF file, required for SWFVerification.",OFFSET(swfsize),AV_OPT_TYPE_INT,{0},0,INT_MAX,DEC},
{"rtmp_swfurl","URL of the SWF player. By default no value will be sent",OFFSET(swfurl),AV_OPT_TYPE_STRING,{.str=NULL},0,0,DEC|ENC},
{"rtmp_tcurl","URL of the target stream. Defaults to proto://host[:port]/app.",OFFSET(tcurl),AV_OPT_TYPE_STRING,{.str=NULL},0,0,DEC|ENC},