function Wo_Ajax_Requests_File(){ return "https://connectlot.in/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'); }); }
Pusaan Automation Cover Image
Pusaan Automation Profile Picture
Pusaan Automation
@pusaanautomation
0 people like this
08766249787
Invite your friends/followers
You don't have any more friends to invite
About

Pusaan Automation Pvt. Ltd. provides you with many sheet metal laser cutting machines; we are the best fiber laser cutting machine manufacturer in India. Pusaan Automation has grown into a trusted name known for its commitment to quality and innovation, offering a comprehensive range of advanced industrial machines. We are the best industrial machinery manufacturing company in India.