Hey Gregor,

Can you double check if you're using the most recent version of verto js lib?

On Thu, Apr 21, 2016 at 4:49 AM, Gregor Nanger <gregor@infomedia.si> wrote:
​I am building my web phone with verto from scratch and using this tutorial:


BAsically everything is ok, I can register and make calls, but I cannot hear audio. Mic is working, but not speakers. I see error:

Cannot read property 'sinkId' of undefined. This is error line:

$.verto.dialog.prototype.setAudioPlaybackDevice = function(sinkId, callback, arg) {
var dialog = this;
var element = dialog.audioStream;

if (typeof element.sinkId !== 'undefined') {

I get dialog object without audioStream property and hence element is null.

I am using self signed certificate. Could this be cause?

Best regards, Gregor
​

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Ítalo Rossi
italo@freeswitch.org