!31 直播流用户名

Merge pull request !31 from Chao Xing/xingchao
pull/58/head
Chao Xing 2018-05-07 12:16:59 +08:00
commit ca0b1a9719
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class Live extends Api
$base_url = "rtmp://47.104.165.49:1935/live/";
$push_url = $base_url . $code;
$pull_url = $push_url;
$sql = "INSERT INTO fa_live(push_url,pull_url,user_id,status) VALUES ('$push_url','$pull_url','$user_id','1')";
$sql = "INSERT INTO fa_live(push_url,pull_url,user_id,username,status) VALUES ('$push_url','$pull_url','$user_id','$username','1')";
// echo $sql;
// exit();