[jitsi-dev] Problems using the Javascript API


#1

Hi everyone,

Not sure I am doing something wrong but I am trying to use the Javascript API on my own project setup but I am having lots of errors when I try to use my own. I have used the sample file in the docs (https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md) and everything works fine when I use <script src="https://meet.jit.si/external_api.js"></script>, however when I try to replace that with <script src="https://mydomain.com/external_api.js"></script> I get lots of erros on the console and conference does not work (issues detecting camera and audio with lots of console errors).

I have tried using both the stable and testing binaries on Ubuntu and the behaviour is always the same. Any hints on what might be happening?

Best,
Jose


#2

Hi,

Have you tried using https://mydomain.com/libs/external_api.min.js as
a source script?
The script is in libs on new deployments, for meet.jit.si we left a
symlink to not break users using the old file location.

Regards
damencho

···

On Mon, Nov 13, 2017 at 7:31 AM, Jose Simoes <simoes83@gmail.com> wrote:

Hi everyone,

Not sure I am doing something wrong but I am trying to use the Javascript
API on my own project setup but I am having lots of errors when I try to use
my own. I have used the sample file in the docs
(https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md) and everything
works fine when I use <script
src="https://meet.jit.si/external_api.js"></script>, however when I try to
replace that with <script
src="https://mydomain.com/external_api.js"></script> I get lots of erros on
the console and conference does not work (issues detecting camera and audio
with lots of console errors).

I have tried using both the stable and testing binaries on Ubuntu and the
behaviour is always the same. Any hints on what might be happening?

Best,
Jose

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Hi Jose,

Could you please send us the console logs with the errors?

Regards,
Hristo.

···

On Nov 13, 2017, at 7:31 AM, Jose Simoes <simoes83@gmail.com> wrote:

Hi everyone,

Not sure I am doing something wrong but I am trying to use the Javascript API on my own project setup but I am having lots of errors when I try to use my own. I have used the sample file in the docs (https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md) and everything works fine when I use <script src="https://meet.jit.si/external_api.js"></script>, however when I try to replace that with <script src="https://mydomain.com/external_api.js"></script> I get lots of erros on the console and conference does not work (issues detecting camera and audio with lots of console errors).

I have tried using both the stable and testing binaries on Ubuntu and the behaviour is always the same. Any hints on what might be happening?

Best,
Jose

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4

Hi Damian,

It worked but not on that path. I had to use: https://mydomain.com/external_api.min.js

Seems like if the file is not minified it does not work properly. Either that, or that “unminified” file is just an old version. Either way, it works now, thanks!

Best,
Jose

···

On 13 Nov 2017, at 11:49, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

Have you tried using https://mydomain.com/libs/external_api.min.js as
a source script?
The script is in libs on new deployments, for meet.jit.si we left a
symlink to not break users using the old file location.

Regards
damencho

On Mon, Nov 13, 2017 at 7:31 AM, Jose Simoes <simoes83@gmail.com> wrote:

Hi everyone,

Not sure I am doing something wrong but I am trying to use the Javascript
API on my own project setup but I am having lots of errors when I try to use
my own. I have used the sample file in the docs
(https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md) and everything
works fine when I use <script
src="https://meet.jit.si/external_api.js"></script>, however when I try to
replace that with <script
src="https://mydomain.com/external_api.js"></script> I get lots of erros on
the console and conference does not work (issues detecting camera and audio
with lots of console errors).

I have tried using both the stable and testing binaries on Ubuntu and the
behaviour is always the same. Any hints on what might be happening?

Best,
Jose

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

Hi Hristo,

Below you can find the log.

Best,
Jose

external_api.js:175 Not supported command name.
JitsiMeetExternalAPI.executeCommand @ external_api.js:175
x:9 (TIME) index.html loaded: 541.045
Logger.js:125 [modules/RTC/RTCBrowserType.js] <Array.r>: This appears to be Chrome, ver: 64
deprecation.js:59 DEPRECATED JS - Cookie has been deprecated since 5.8.0 and will be removed in a future release. Use cookie instead.
     at assign (<anonymous>)
a @ deprecation.js:59
parseURLParams.js:41 Failed to parse URL parameter value: both SyntaxError: Unexpected token b in JSON at position 0
    at JSON.parse (<anonymous>)
    at parseURLParams.js:36
    at Array.forEach (<anonymous>)
    at r (parseURLParams.js:22)
    at Object.<anonymous> (constants.js:13)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:110434)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:21473)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:94887)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:58265)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:94786)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:63561)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:94607)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:159826)
    at Object.<anonymous> (app.bundle.min.js:159926)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:53390)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:5605)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:72738)
    at Object.<anonymous> (app.bundle.min.js:72953)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:15095)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:72207)
    at Object.<anonymous> (app.bundle.min.js:72729)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:20217)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:17255)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:60796)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:180889)
    at Object.<anonymous> (app.bundle.min.js:181186)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:180713)
    at Object.<anonymous> (app.bundle.min.js:180881)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:232135)
    at Object.<anonymous> (app.bundle.min.js:234890)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:187854)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:182481)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at bootstrap 47d0dc516bc6b5696d22:62
    at bootstrap 47d0dc516bc6b5696d22:62
(anonymous) @ parseURLParams.js:41
parseURLParams.js:41 Failed to parse URL parameter value: microphone,camera,fullscreen,fodeviceselection,hangup,chat,settings,videoquality SyntaxError: Unexpected token m in JSON at position 0
    at JSON.parse (<anonymous>)
    at parseURLParams.js:36
    at Array.forEach (<anonymous>)
    at r (parseURLParams.js:22)
    at Object.<anonymous> (constants.js:13)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:110434)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:21473)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:94887)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:58265)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:94786)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:63561)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:94607)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:159826)
    at Object.<anonymous> (app.bundle.min.js:159926)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:53390)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:5605)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:72738)
    at Object.<anonymous> (app.bundle.min.js:72953)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:15095)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:72207)
    at Object.<anonymous> (app.bundle.min.js:72729)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:20217)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:17255)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:60796)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:180889)
    at Object.<anonymous> (app.bundle.min.js:181186)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:180713)
    at Object.<anonymous> (app.bundle.min.js:180881)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:232135)
    at Object.<anonymous> (app.bundle.min.js:234890)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:187854)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at Object.<anonymous> (app.bundle.min.js:182481)
    at t (bootstrap 47d0dc516bc6b5696d22:19)
    at bootstrap 47d0dc516bc6b5696d22:62
    at bootstrap 47d0dc516bc6b5696d22:62
(anonymous) @ parseURLParams.js:41
Logger.js:125 [react/index.web.js] <HTMLDocument.<anonymous>>: (TIME) document ready: 1184.91
parseURLParams.js:41 Failed to parse URL parameter value: both SyntaxError: Unexpected token b in JSON at position 0
    at JSON.parse (<anonymous>)
    at parseURLParams.js:36
    at Array.forEach (<anonymous>)
    at r (parseURLParams.js:22)
    at a (functions.js:217)
    at functions.js:119
    at <anonymous>
(anonymous) @ parseURLParams.js:41
parseURLParams.js:41 Failed to parse URL parameter value: microphone,camera,fullscreen,fodeviceselection,hangup,chat,settings,videoquality SyntaxError: Unexpected token m in JSON at position 0
    at JSON.parse (<anonymous>)
    at parseURLParams.js:36
    at Array.forEach (<anonymous>)
    at r (parseURLParams.js:22)
    at a (functions.js:217)
    at functions.js:119
    at <anonymous>
(anonymous) @ parseURLParams.js:41
Logger.js:125 [react/features/base/config/functions.js] <o>: Extending interfaceConfig with: {"filmStripOnly":false,"SHOW_WATERMARK_FOR_GUESTS":false,"SHOW_JITSI_WATERMARK":false,"ENABLE_FEEDBACK_ANIMATION":true,"DISABLE_FOCUS_INDICATOR":false,"DISABLE_DOMINANT_SPEAKER_INDICATOR":false}
parseURLParams.js:41 Failed to parse URL parameter value: both SyntaxError: Unexpected token b in JSON at position 0
    at JSON.parse (<anonymous>)
    at parseURLParams.js:36
    at Array.forEach (<anonymous>)
    at r (parseURLParams.js:22)
    at t (middleware.js:69)
    at middleware.js:24
    at middleware.js:127
    at middleware.js:21
    at middleware.js:39
    at middleware.js:34
    at j (middleware.js:120)
    at middleware.js:22
    at middleware.js:36
    at middleware.js:17
    at middleware.js:54
    at middleware.js:12
    at middleware.js:33
    at middleware.js:27
    at middleware.js:20
    at middleware.js:57
    at middleware.js:21
    at middleware.js:80
    at middleware.js:64
    at dispatch (applyMiddleware.js:35)
    at actions.js:51
    at <anonymous>
(anonymous) @ parseURLParams.js:41
parseURLParams.js:41 Failed to parse URL parameter value: microphone,camera,fullscreen,fodeviceselection,hangup,chat,settings,videoquality SyntaxError: Unexpected token m in JSON at position 0
    at JSON.parse (<anonymous>)
    at parseURLParams.js:36
    at Array.forEach (<anonymous>)
    at r (parseURLParams.js:22)
    at t (middleware.js:69)
    at middleware.js:24
    at middleware.js:127
    at middleware.js:21
    at middleware.js:39
    at middleware.js:34
    at j (middleware.js:120)
    at middleware.js:22
    at middleware.js:36
    at middleware.js:17
    at middleware.js:54
    at middleware.js:12
    at middleware.js:33
    at middleware.js:27
    at middleware.js:20
    at middleware.js:57
    at middleware.js:21
    at middleware.js:80
    at middleware.js:64
    at dispatch (applyMiddleware.js:35)
    at actions.js:51
    at <anonymous>
(anonymous) @ parseURLParams.js:41
Logger.js:125 [react/features/base/media/middleware.js] <t>: Start muted:
Logger.js:125 [react/features/base/media/middleware.js] <t>: Start audio only set to false
Logger.js:125 [modules/URL/ConferenceUrl.js] <new e>: Stored original conference URL: https://conf.xxx.com/x#jitsi_meet_external_api_id=0&interfaceConfig.filmStripOnly=false&interfaceConfig.SHOW_WATERMARK_FOR_GUESTS=false&interfaceConfig.SHOW_JITSI_WATERMARK=false&interfaceConfig.VIDEO_LAYOUT_FIT=both&interfaceConfig.ENABLE_FEEDBACK_ANIMATION=true&interfaceConfig.DISABLE_FOCUS_INDICATOR=false&interfaceConfig.DISABLE_DOMINANT_SPEAKER_INDICATOR=false&interfaceConfig.TOOLBAR_BUTTONS=microphone,camera,fullscreen,fodeviceselection,hangup,chat,settings,videoquality
Logger.js:125 [modules/URL/ConferenceUrl.js] <new e>: Conference URL for invites: https://conf.xxx.com/x
Logger.js:125 [modules/RTC/ScreenObtainer.js] <Object._createObtainStreamMethod>: Using Chrome extension for desktop sharing
Logger.js:125 [modules/RTC/RTCUtils.js] <t.value>: Using the new gUM flow
Logger.js:125 [modules/xmpp/strophe.jingle.js] <new t>: Configured STUN servers: Array(3)
Logger.js:125 [modules/xmpp/xmpp.js] <t.value>: (TIME) Strophe connecting: 1350.15
Logger.js:125 [modules/RTC/RTCUtils.js] <t.<anonymous>>: Got media constraints: Object
select2x2.png Failed to load resource: the server responded with a status of 404 (Not Found)
Logger.js:125 [modules/RTC/ScreenObtainer.js] <>: Extension not installed?: Object
r @ Logger.js:125
Logger.js:125 [modules/RTC/ScreenObtainer.js] <>: Chrome extension installed: false updateRequired: false
Logger.js:125 [modules/RTC/RTCUtils.js] <>: Available devices: Array(7)
conf.xxx.com/libs/atl-analytics.js Failed to load resource: the server responded with a status of 404 (Not Found)
Logger.js:125 [react/features/analytics/functions.js] <>: Failed to load https://conf.xxx.com/libs/atl-analytics.js: [object Event]
r @ Logger.js:125
jitsi.html:1 AudioCapture permission has been blocked because of a Feature Policy applied to the current document. See https://goo.gl/EuHzyv for more details.
jitsi.html:1 VideoCapture permission has been blocked because of a Feature Policy applied to the current document. See https://goo.gl/EuHzyv for more details.
Logger.js:125 [modules/RTC/RTCUtils.js] <>: Failed to get access to local media. NotAllowedError [object Object]
r @ Logger.js:125
Logger.js:125 [react/features/base/tracks/functions.js] <>: Failed to create local tracks Array(2) r
r @ Logger.js:125
Logger.js:125 [modules/RTC/RTCUtils.js] <t.value>: Using the new gUM flow
Logger.js:125 [modules/RTC/RTCUtils.js] <t.<anonymous>>: Got media constraints: Object
Logger.js:125 [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: null Script: null Line: null Column: null StackTrace: Object
r @ Logger.js:125
conf.xxx.com/x#jitsi_meet_external_api_id=0&interfaceConfig.filmStripOnly=false&interfaceConfig.SHOW_WATERMARK_FOR_GUESTS=false&interfaceConfig.SHOW_JITSI_WATERMARK=false&interfaceConfig.VIDEO_LAYOUT_FIT=both&interfaceConfig.ENABLE_FEEDBACK_ANIMATION=true&interfaceConfig.DISABLE_FOCUS_INDICATOR=false&interfaceConfig.DISABLE_DOMINANT_SPEAKER_INDICATOR=false&interfaceConfig.TOOLBAR_BUTTONS=microphone,camera,fullscreen,fodeviceselection,hangup,chat,settings,videoquality:1 Uncaught (in promise) Object
jitsi.html:1 AudioCapture permission has been blocked because of a Feature Policy applied to the current document. See https://goo.gl/EuHzyv for more details.
Logger.js:125 [modules/RTC/RTCUtils.js] <>: Failed to get access to local media. NotAllowedError [object Object]
r @ Logger.js:125
Logger.js:125 [react/features/base/tracks/functions.js] <>: Failed to create local tracks Array(1) r
r @ Logger.js:125
Logger.js:125 [modules/RTC/RTCUtils.js] <t.value>: Using the new gUM flow
Logger.js:125 [modules/RTC/RTCUtils.js] <t.<anonymous>>: Got media constraints: Object
Logger.js:125 [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: null Script: null Line: null Column: null StackTrace: Object
r @ Logger.js:125
conf.xxx.com/x#jitsi_meet_external_api_id=0&interfaceConfig.filmStripOnly=false&interfaceConfig.SHOW_WATERMARK_FOR_GUESTS=false&interfaceConfig.SHOW_JITSI_WATERMARK=false&interfaceConfig.VIDEO_LAYOUT_FIT=both&interfaceConfig.ENABLE_FEEDBACK_ANIMATION=true&interfaceConfig.DISABLE_FOCUS_INDICATOR=false&interfaceConfig.DISABLE_DOMINANT_SPEAKER_INDICATOR=false&interfaceConfig.TOOLBAR_BUTTONS=microphone,camera,fullscreen,fodeviceselection,hangup,chat,settings,videoquality:1 Uncaught (in promise) Object
jitsi.html:1 VideoCapture permission has been blocked because of a Feature Policy applied to the current document. See https://goo.gl/EuHzyv for more details.
Logger.js:125 [modules/RTC/RTCUtils.js] <>: Failed to get access to local media. NotAllowedError [object Object]
r @ Logger.js:125
Logger.js:125 [react/features/base/tracks/functions.js] <>: Failed to create local tracks Array(1) r
r @ Logger.js:125
Logger.js:125 [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: null Script: null Line: null Column: null StackTrace: Object
r @ Logger.js:125
conf.xxx.com/x#jitsi_meet_external_api_id=0&interfaceConfig.filmStripOnly=false&interfaceConfig.SHOW_WATERMARK_FOR_GUESTS=false&interfaceConfig.SHOW_JITSI_WATERMARK=false&interfaceConfig.VIDEO_LAYOUT_FIT=both&interfaceConfig.ENABLE_FEEDBACK_ANIMATION=true&interfaceConfig.DISABLE_FOCUS_INDICATOR=false&interfaceConfig.DISABLE_DOMINANT_SPEAKER_INDICATOR=false&interfaceConfig.TOOLBAR_BUTTONS=microphone,camera,fullscreen,fodeviceselection,hangup,chat,settings,videoquality:1 Uncaught (in promise) Object
Logger.js:125 [modules/xmpp/xmpp.js] <t.value>: (TIME) Strophe connected: 2152.625
Logger.js:125 [modules/xmpp/xmpp.js] <t.value>: My Jabber ID: 517a4fcb-9faf-4709-be58-8a3508aafc82@conf.xxx.com/993fb1e4-fea7-4997-bf57-b7def5a169a1
Logger.js:125 [conference.js] <>: initialized with %s local tracks 0
Logger.js:125 [modules/xmpp/ChatRoom.js] <new t>: Joined MUC as x@conference.conf.xxx.com/517a4fcb
Logger.js:125 [modules/connectivity/ParticipantConnectionStatus.js] <new e>: RtcMuteTimeout set to: 2000
Logger.js:125 [modules/statistics/AvgRTPStatsReporter.js] <new e>: Avg RTP stats will be calculated every 15 samples
Logger.js:125 [JitsiConference.js] <new r>: backToP2PDelay: 5
Logger.js:125 [modules/remotecontrol/RemoteControl.js] <t.value>: Initializing remote control.
Logger.js:125 [modules/xmpp/moderator.js] <i.setFocusUserJid>: Focus jid set to: undefined
Logger.js:125 [modules/xmpp/moderator.js] <i.createConferenceIq>: Session ID: null machine UID: b6342c5d680609f1c3098a21622906fa
Logger.js:125 [modules/xmpp/strophe.ping.js] <a.value>: XMPP pings will be sent every 10000 ms
Logger.js:125 [modules/xmpp/moderator.js] <i.setFocusUserJid>: Focus jid set to: focus@auth.conf.xxx.com
Logger.js:125 [modules/xmpp/moderator.js] <i.parseConfigOptions>: Authentication enabled: false
Logger.js:125 [modules/xmpp/moderator.js] <i.parseConfigOptions>: External authentication enabled: false
Logger.js:125 [modules/xmpp/moderator.js] <i.parseConfigOptions>: Sip gateway enabled: false
Logger.js:125 [modules/xmpp/ChatRoom.js] <t.value>: entered x@conference.conf.xxx.com/focus Object
Logger.js:125 [modules/xmpp/ChatRoom.js] <t.value>: Ignore focus: x@conference.conf.xxx.com/focus, real JID: focus@auth.conf.xxx.com/focus3865026070713850
Logger.js:125 [modules/UI/UI.js] <Object.O.initEtherpad>: Etherpad is enabled
Logger.js:125 [modules/version/ComponentsVersions.js] <>: Got xmpp version: Prosody(0.9.10,Linux)
Logger.js:125 [modules/version/ComponentsVersions.js] <>: Got focus version: JiCoFo(1.0.1.0-388,Linux)
Logger.js:125 [modules/version/ComponentsVersions.js] <>: Got videobridge version: JVB(0.1.1011,Linux)
Logger.js:125 [modules/xmpp/ChatRoom.js] <t.value>: entered x@conference.conf.xxx.com/96dbefb0 Object
Logger.js:125 [conference.js] <n.<anonymous>>: USER %s connnected 96dbefb0 e
Logger.js:125 [modules/xmpp/ChatRoom.js] <t.value>: entered x@conference.conf.xxx.com/ca0c1035 Object
Logger.js:125 [conference.js] <n.<anonymous>>: USER %s connnected ca0c1035 e
Logger.js:125 [conference.js] <n.<anonymous>>: My role changed, new role: none
Logger.js:125 [modules/xmpp/ChatRoom.js] <t.value>: (TIME) MUC joined: 2469.7950000000005
Logger.js:125 [modules/UI/videolayout/LargeVideoManager.js] <>: hover in %s 517a4fcb
Logger.js:125 [modules/xmpp/strophe.jingle.js] <a.value>: on jingle session-initiate from x@conference.conf.xxx.com/focus <iq xmlns=​"jabber:​client" type=​"set" to=​"517a4fcb-9faf-4709-be58-8a3508aafc82@conf.xxx.com/​993fb1e4-fea7-4997-bf57-b7def5a169a1" from=​"x@conference.conf.xxx.com/​focus" id=​"NTE3YTRmY2ItOWZhZi00NzA5LWJlNTgtOGEzNTA4YWFmYzgyQGNvbmYuemVua2x1Yi5jb20vOTkzZmIxZTQtZmVhNy00OTk3LWJmNTctYjdkZWY1YTE2OWExADRqN1NFLTE1MDEwAH0RZWmbqRxyQudbUuSGISw=">​…​</iq>​
Logger.js:125 [modules/xmpp/strophe.jingle.js] <a.value>: (TIME) received session-initiate: 2821.905
Logger.js:125 [modules/xmpp/strophe.jingle.js] <a.value>: Marking session from x@conference.conf.xxx.com/focus as *not* P2P
index.js:44 SdpSimulcast: using 3 layers
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <new r>: Create new TPC[1,p2p:false]
Logger.js:125 [JitsiConference.js] <r.onIncomingCall>: Starting CallStats for JVB connection...
Logger.js:125 [modules/statistics/statistics.js] <a.startCallStats>: Starting CallStats for TPC[1,p2p:false]...
index.js:146 Halt: There are no SSRC groups in the remote description.
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteStreamAdded>: TPC[1,p2p:false] ignored remote 'stream added' event for non-user streamid: mixedmslabel
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteTrackAdded>: TPC[1,p2p:false] remote track added: 299e3931-6790-4dec-b84e-8f66f7166bf2 audio
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteTrackAdded>: TPC[1,p2p:false] associated ssrc 96dbefb0 18095587
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteStreamAdded>: TPC[1,p2p:false] ignored remote 'stream added' event for non-user streamid: default
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteTrackAdded>: TPC[1,p2p:false] remote track added: 09ed5f54-a844-5249-a6b4-b2d0962dbe86 audio
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteTrackAdded>: TPC[1,p2p:false] associated ssrc ca0c1035 4153194089
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteTrackAdded>: TPC[1,p2p:false] remote track added: 6e51efe6-8749-4a64-aa44-8e491eb66471 video
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteTrackAdded>: TPC[1,p2p:false] associated ssrc 96dbefb0 2956355502
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteTrackAdded>: TPC[1,p2p:false] remote track added: 54bca1a3-289f-4a46-8ba4-a2495507a941 video
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r._remoteTrackAdded>: TPC[1,p2p:false] associated ssrc ca0c1035 1615925945
Logger.js:125 [modules/RTC/TraceablePeerConnection.js] <r.generateRecvonlySsrc>: TPC[1,p2p:false] generated new recvonly SSRC: 462558886
Logger.js:125 [modules/xmpp/SdpConsistency.js] <e.value>: TPC[1,p2p:false] no SSRC found for the recvonly videostream!
JitsiRemoteTrack.js:214 (TIME) Render audio: 2965.8250000000003
JitsiRemoteTrack.js:231 (TIME) TTFM audio: 2598.6600000000008
Logger.js:125 [modules/xmpp/SDPUtil.js] <Object.candidateToJingle>: not translating "network-cost" = "50"
Logger.js:125 [modules/xmpp/JingleSessionPC.js] <t.value>: Sending session-accept <iq to=​"x@conference.conf.xxx.com/​focus" type=​"set" xmlns=​"jabber:​client" id=​"0ddc3829-fd7e-4ef5-9018-e49b0155d631:​sendIQ">​…​</iq>​
Logger.js:125 [modules/xmpp/JingleSessionPC.js] <r.peerconnection.oniceconnectionstatechange>: (TIME) ICE checking P2P? false: 2982.5550000000003
Logger.js:125 [modules/xmpp/SDPUtil.js] <Object.candidateToJingle>: not translating "ufrag" = "P1A+"
Logger.js:125 [modules/xmpp/SDPUtil.js] <Object.candidateToJingle>: not translating "network-cost" = "50"
Logger.js:125 [modules/xmpp/JingleSessionPC.js] <t.value>: sendIceCandidates Array(1)
Logger.js:125 [modules/xmpp/SDPUtil.js] <Object.candidateToJingle>: not translating "ufrag" = "P1A+"
Logger.js:125 [modules/xmpp/SDPUtil.js] <Object.candidateToJingle>: not translating "network-cost" = "50"
Logger.js:125 [modules/xmpp/JingleSessionPC.js] <t.value>: sendIceCandidate: last candidate.
Logger.js:125 [modules/xmpp/JingleSessionPC.js] <r.peerconnection.oniceconnectionstatechange>: (TIME) ICE connected P2P? false: 3249.1200000000003
JitsiRemoteTrack.js:214 (TIME) Render video: 3271.2100000000005
JitsiRemoteTrack.js:231 (TIME) TTFM video: 2904.045000000001
Logger.js:125 [modules/UI/videolayout/VideoLayout.js] <Object.remoteVideoActive>: 96dbefb0 video is now active <video muted=​"true" autoplay id=​"remoteVideo_6e51efe6-8749-4a64-aa44-8e491eb66471" style=​"display:​ block;​ visibility:​ visible;​">​</video>​
Logger.js:125 [modules/UI/videolayout/LargeVideoManager.js] <>: hover in %s 96dbefb0
Logger.js:125 [modules/UI/videolayout/VideoLayout.js] <Object.remoteVideoActive>: ca0c1035 video is now active <video muted=​"true" autoplay id=​"remoteVideo_54bca1a3-289f-4a46-8ba4-a2495507a941" style=​"display:​ block;​ visibility:​ hidden;​">​</video>​
Logger.js:125 [modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onopen>: datachannel channel opened
Logger.js:125 [JitsiConferenceEventManager.js] <n.<anonymous>>: (TIME) data channel opened 3357.67
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending a ReceiverVideoConstraint message with a maxFrameHeight of 1080 pixels
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending pinned changed notification to the bridge for endpoint null
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending selected changed notification to the bridge for endpoint ca0c1035
Logger.js:125 [modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onmessage>: Channel new dominant speaker event: 96dbefb0
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending selected changed notification to the bridge for endpoint 96dbefb0
Logger.js:125 [modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onmessage>: Channel new last-n event: Array(0) Object
Logger.js:125 [modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onmessage>: Channel new last-n event: Array(2) Object
auth.callstats.io/authenticate Failed to load resource: the server responded with a status of 400 ()
Logger.js:125 [modules/statistics/CallStats.js] <value>: CallStats Status: err=authError msg=Origin URL missmatch
Logger.js:125 [modules/UI/videolayout/LargeVideoManager.js] <>: hover in %s ca0c1035
Logger.js:125 [modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onmessage>: Channel new dominant speaker event: ca0c1035
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending selected changed notification to the bridge for endpoint ca0c1035
Logger.js:125 [modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onmessage>: Channel new dominant speaker event: 96dbefb0
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending selected changed notification to the bridge for endpoint 96dbefb0
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending selected changed notification to the bridge for endpoint 96dbefb0
Logger.js:125 [modules/UI/videolayout/LargeVideoManager.js] <>: hover in %s 96dbefb0
Logger.js:125 [modules/RTC/BridgeChannel.js] <RTCDataChannel.e.onmessage>: Channel new dominant speaker event: ca0c1035
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending selected changed notification to the bridge for endpoint ca0c1035
Logger.js:125 [modules/RTC/BridgeChannel.js] <e.value>: sending selected changed notification to the bridge for endpoint ca0c1035

···

On 13 Nov 2017, at 14:19, Hristo Terezov <hristo@sip-communicator.org> wrote:

Hi Jose,

Could you please send us the console logs with the errors?

Regards,
Hristo.

On Nov 13, 2017, at 7:31 AM, Jose Simoes <simoes83@gmail.com <mailto:simoes83@gmail.com>> wrote:

Hi everyone,

Not sure I am doing something wrong but I am trying to use the Javascript API on my own project setup but I am having lots of errors when I try to use my own. I have used the sample file in the docs (https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md) and everything works fine when I use <script src="https://meet.jit.si/external_api.js"></script>, however when I try to replace that with <script src="https://mydomain.com/external_api.js"></script> I get lots of erros on the console and conference does not work (issues detecting camera and audio with lots of console errors).

I have tried using both the stable and testing binaries on Ubuntu and the behaviour is always the same. Any hints on what might be happening?

Best,
Jose

_______________________________________________
dev mailing list
dev@jitsi.org <mailto:dev@jitsi.org>
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev