joomla - How to Create WebRTC + PubNub Open Source Video Chat,voice chat, using Javascript -


It is possible to create live video and voice chat applications in my website using WebRTC + PubNub. Finding and how to integrate. I am using Joomla 2.5 I need multiple and single channel video and audio streaming. I

Yes, they have a There is a demo on which you have to sign up to try.

It seems that you write code with WebRTC libraries, and in PubNews fashion, the PubNub Library provides both methods for subscribing and listening to new connections. (The PubNub library comes with the functionality that the users come online.) Is this looking for you? Is there a type of presence of a chat with the ability to call users who are available? If so, then it is probably a good idea to use Pabanab.

If you are actually starting a WebRTC and are trying to make a basic video call between your Joomla website users, then you can open source SIP. JS (sipjs com) and ONSIP have been written at the top of the WebRTC and SIP. You can get a quick user at getonsip.com like making a video call like this (Call starts on page load, call ends Click the End button for):

In HTML

  & lt; Script src = "http://sipjs.com/download/sip-0.6.3.min.js"> & Lt; Video id = "remote video" & gt; & Lt; / Video & gt; & Lt; Video id = "local video" mute = "mute" & gt; & Lt; / Video & gt; & Lt; Button id = "endCall" & gt; End Call & lt; / Button & gt;  

In Javascript:

  var session; Var endButton = document.getElementById ('EndCol'); EndButton.addEventListener ("click", function () {session.bye (); warning ("call ending");}, false); // Creates unknown user agent so that you can call var userAgent = new SIP.UA (); // Here you determine that the video and audio var option in the call = {Media: {barriers: {audio: true, video: true}, render: {remote: {video: document.getElementById ('remote video') }, Local: {video: document.getElementById ('local video')}}}}; // call session = userAgent.invite ('sip: youruser@yourdomain.onsip.com', option);  

You can sign up for quick user addresses at getonsip.com and log in at the end point.


Comments

Popular posts from this blog

c# - NewtonSoft JArray - how to select multiple elements with LINQ -

c# - Process.Kill() returns access denied -

c# - Using the generic type 'System.Collections.Generic.List<T>' requires 1 type arguments -