function Wo_Ajax_Requests_File(){ return "https://bytevidsocial.com/requests.php" } function RunLiveAgora(channelName,DIV_ID,token) { var agoraAppId = ''; 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'); }); }
@jainey
Looking for a dependable eCommerce PPC agency? Softtrix has you covered! With over a decade of experience, our team of experts specializes in developing tailored PPC strategies designed to maximize results. Our professional eCommerce PPC management services help businesses boost online visibility and attract high-converting traffic eliminating the need for an in-house PPC team. As a leading provider of eCommerce PPC solutions, Softtrix offers dedicated remote PPC specialists who use data-driven strategies to optimize ad campaigns and drive sustainable business growth.