Skip to content

Commit

Permalink
Corrected streampath for the recorded file in red5recorder plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitdbst committed Aug 7, 2012
1 parent 9551ece commit f42b29c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/red5recorder/lib.php
Expand Up @@ -60,10 +60,10 @@ public function view($mform) {
global $CFG, $PAGE;

$rtmpserver = get_config('mediacapture', 'rtmp_server');
$streampath = "http://$rtmpserver:5080/red5recorder/streams/video.flv";
$tmpname = sha1(uniqid(rand(), true));
$streampath = "http://$rtmpserver:5080/red5recorder/streams/$tmpname.flv";

$url = new moodle_url("$CFG->wwwroot/repository/mediacapture/plugins/red5recorder/assets/red5recorder.swf");
$tmpname = sha1(uniqid(rand(), true));
$flashvars = "?server=rtmp://$rtmpserver/red5recorder/&fileName=$tmpname";

$recorder = '
Expand Down

0 comments on commit f42b29c

Please sign in to comment.