linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone web plugin VideoSize


From: Thomas Blakey
Subject: Re: [Linphone-developers] Linphone web plugin VideoSize
Date: Wed, 26 Mar 2014 13:21:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hello

Thanks for the reply. I try to set the video size before the core uses its init function as suggested in the previous email. However this seems to cause the plugin to crash. Am I doing it in the wrong order? The config settings seem to have no affect after init has been called?

var core = document.getElementById("linphoneweb");
core.config.setString("video", "size", "vga");
core.init();

Thanks

Thomas Blakey

On 21/03/14 16:30, Ghislain MARY wrote:
Hi,

This has not been implemented yet.
A workaround would be to use the LpConfig API (http://www.linphone.org/docs/linphone-web/external-LpConfig.html) to set the preferredVideoSize in the config before starting the core, eg.:
    config.setString("video", "size", "vga")

Cheers,
Ghislain

On 21/03/2014 17:05, Thomas Blakey wrote:
Hello

I have been trying to set the video size, on the Linphone Web plugin. I have been following the documentation here: http://www.linphone.org/docs/linphone-web/external-LinphoneCore.html

For some reason the LinphoneCore object doesn't seem to be aware of the existence of the preferredVideoSize and preferredVideoSizeByName 'members', and when trying to use the supportedVideoSizes method, it returns a 'is not a function error' in the JavaScript console.

Have these been implemented in the plugin? If not, is there any other way for me to control the video size from the web browser using JavaScript?

Thank You

Thomas Blakey

_______________________________________________
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]