Open VirenderGurgaon opened 4 years ago
Have the same issue, any progress?
Have the same issue, any progress?
My issue was that the folder has to exist in advance, otherwise in the debug log it just says that it tries to open the folder but nothing then happens - no error. When it doesn't have write permissions however, it does output an error.
Hope this can help others who come around with the same issue :)
Here are config parameters -- on_publish is working fine but not on_record_done .. Please advise, if any change required. A sample php program and configuration will be great help. rtmp { server { listen 1935; chunk_size 4096; notify_method get;
}
my PHP Snippet if (!isset($oLearnings)) $oLearnings = new learning();
if (!empty($_GET['name'])) $nameVal=$_GET['name'];
if (!empty($_GET['fsg_key'])) $fsgKey=$_GET['fsg_key'];
//print "Get data---".$nameVal." ".$fsgKey; if (empty($nameVal)) { $nameVal=302; $fileN="302-empty.flv"; } else $fileN="302.flv";
if (empty($fsgKey)) $fsgKey='56e4f';
print "Going to DB"; $retVerify=$oLearnings->updateStream($nameVal,$fsgKey,$fileN);