​I am building my web phone with verto from scratch and using this tutorial:

http://evoluxbr.github.io/verto-docs/

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
​