|
From: | Saumil Gandhi |
Subject: | Re: [Linphone-developers] Building a custom linphone web client |
Date: | Thu, 24 Apr 2014 17:28:25 +0530 |
Hi,So I've got to the point where I can login a user and initiate a call and receive a call. Some issues:1. When the call is connected, my script does not seem to be capturing the microphone (on my mac) because I cannot transmit any sound (so not sure how to set my microphone to the call) or receive any sound (set my internal speakers to the call)I tried doing this if my call state changed to 'Connected':core.captureDevice = 'Built-in Input';core.playbackDevice = 'Built-in Output';but it does not help2. My mac's camera does get turned on. On the receiving device, I am able to see myself from my mac's camera i.e. my browser is transmitting video. But I am not able to receive the video from the person I am calling i.e. I am not receiving / seeing the video of the connected person on my browser. How do I enable display of this video playback?Thanks,SaumilOn Wed, Apr 16, 2014 at 10:33 PM, Saumil Gandhi <address@hidden> wrote:
Thanks Saumar, this could be really helpful. I'm going to give it a go.SaumilOn Wed, Apr 16, 2014 at 7:45 PM, Saumar Hajjar <address@hidden> wrote:
In the linphone-web-plugin source, there's a folder doc/tutorials with basic html/js files.
I managed to write a simple web app using the following:
- tutorials folder
- linphone.org/docs/linphone-web
- web.linphone.org source
Em 16/4/2014 07:24, Saumil Gandhi escreveu:
Hi,
I'm trying to build my own web page and use the linphone-web plugin. I've done web development before, but am not familiar with handlebars.js or how the current linphone JS code is structured.
Here's what I want to do when someone logs into my web app:
- Initiate the linphone object
- automatically log the user in to their linphone account (I have their credentials)
- On clicking a button, automatically dial a pre-determined SIP account
- Display the controls and video calling area in a custom div on my page
How do I initialize the core object so that I can use it persistently?What JS files do I need to include on my page to make this happen?
Thanks,Saumil
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |