Skip to content

Commit

Permalink
Mis-spellings:: onProgress miss to onPregress
Browse files Browse the repository at this point in the history
  • Loading branch information
BPing committed Jul 3, 2017
1 parent ad951b7 commit 6a98bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use FFMpegPush\PushVideo;
$pushUrl = 'rtmp://pili-publish.heliwebs.com;
$pushCmd = PushVideo::create();
// 监听推流进度
$pushCmd->onPregress(function ($percent,$remaining,$rate) {
$pushCmd->onProgress(function ($percent,$remaining,$rate) {
// var_dump(func_get_args());
echo "progress:$percent% remaining:$remaining(s) rate:$rate(kb/s)\n";
});
Expand Down

0 comments on commit 6a98bcc

Please sign in to comment.