Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in /home/selficlu/public_html/assets/includes/functions_one.php on line 216
Notice: Undefined variable: insert in /home/selficlu/public_html/assets/includes/app_start.php on line 60
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in /home/selficlu/public_html/assets/includes/functions_one.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/selficlu/public_html/assets/includes/functions_one.php:216) in /home/selficlu/public_html/assets/includes/app_start.php on line 283 ceokevinnguyen1
function Wo_Ajax_Requests_File(){
return "https://selficlub.com/requests.php"
}
function RunLiveAgora(channelName,DIV_ID,token) {
var agoraAppId = '505b88ec12034d12b77ceb8af75add9f';
var token = token;
var client = AgoraRTC.createClient({mode: 'live', codec: 'vp8'});
client.init(agoraAppId, function () {
client.setClientRole('audience', function() {
}, function(e) {
});
let rand = Math.floor(Math.random() * 1000000);
client.join(token, channelName, rand, function(uid) {
}, function(err) {
});
}, function (err) {
});
client.on('stream-added', function (evt) {
var stream = evt.stream;
var streamId = stream.getId();
client.subscribe(stream, function (err) {
});
});
client.on('stream-subscribed', function (evt) {
var remoteStream = evt.stream;
remoteStream.play(DIV_ID);
$('#player_'+remoteStream.getId()).addClass('embed-responsive-item');
});
}