'直播流用户名'

pull/58/head^2
xingchao 2018-05-07 12:16:05 +08:00
parent 46e12d9847
commit e4fa93ac5b
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();