Error in lib-jitsi-meet initJitsiConference

I’m attempting to integrate lib-jitsi-meet into an Angular (version 7) application and, when calling initJitsiConference with an established JitsiConnection, am receiving a compile error at the xmpp.js level. The source is taken directly from the example repo, with no modifications made, and can be found here.

AppComponent_Host.ngfactory.js? [sm]:1 ERROR TypeError: Cannot read property 'substr' of null
at t.value (xmpp.js:409)
at X._init (JitsiConference.js:240)
at new X (JitsiConference.js:118)
at c.initJitsiConference (JitsiConnection.js:103)

The stack trace points to these function calls, at t.value (xmpp.js:409) and at new X (JitsiConference.js:118), respectively.

this.room = this.xmpp.createRoom(this.options.name, config);

and

return new JitsiConference({
    name,
    config: options,
    connection: this
});

Any feedback or advice would be greatly appreciated, thank you!

I wonder if changing the options you pass in would help. I can see with the default options the example has errors logged in console. Then I tried:

const options = {
    hosts: {
        domain: 'meet.jit.si',
        muc: 'conference.meet.jit.si' // FIXME: use XEP-0030
    },
    bosh: 'https:////meet.jit.si/http-bind', // FIXME: use xep-0156 for that

    // The name of client node advertised in XEP-0115 'c' stanza
    clientNode: 'http://jitsi.org/jitsimeet'
};