function Wo_Ajax_Requests_File(){ return "https://www.mariadda.com/requests.php" } function RunLiveAgora(channelName,DIV_ID,token) { var agoraAppId = '9aabf13b10d24f21a882b2c24f308a1c'; 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'); }); }

Welcome to Mariadda!

Create, share, inspire & entertain. Express & share to show you care.

  • Share

    Share what's new and life moments with your friends.

  • Discover

    Discover new people, create new connections and make new friends.

  • 100% Privacy

    You have full control over your personal information that you share.

  • More Security

    Your account is fully secure. We never share your data with third party..

Discover Mariadda