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'); }); }
At TechPack.us, we are passionate about helping fashion designers, startups, and established brands bring their creative visions to life. Our journey began with a simple yet powerful idea: streamline the design-to-production process by creating a precise, professional, and easy-to-follow tech pack that leaves no room for error. Over the years, we’ve fine-tuned our services, expanding our expertise to cater to all kinds of apparel and textile products, from clothing and accessories to home textiles and beyond. Visit techpack.us or contact us