Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
66 Views

MCU Error Basic Example not Working version 4.1.1

Dear Team,

We have hosted MCU ubuntu version 4.1.1 under AWS. everything was working fine but after some time basic example room is not working and below is the browser console log.Also noticed there is no room found in mcu management console

Also found in server there are UDP ports not got released. there is no call is happening.

we need to restart whole services again to work with. this issue is not happening with 4.1 version

Logs below of browser console

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

index.js:138 server connection failed: SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at ics.js:7
    at new Promise (<anonymous>)
    at n.ConferenceClient.join (ics.js:7)
    at index.js:75
    at XMLHttpRequest.req.onreadystatechange (rest-sample.js:7)

Nuve Logs below

name: 'Error',

  status: 404,

  code: 1003,

  data: { error: { code: 1003, message: 'Room not found' } } }

2019-02-08 17:05:39.406  - INFO: ServiceResource - Representing service  5c57df4bc941ec406cc9575b

2019-02-08 17:05:39.436  - INFO: ServicesResource - Representing services

2019-02-08 17:06:26.265  - INFO: ServiceResource - Representing service  5c57df4bc941ec406cc9575b

2019-02-08 17:06:26.291  - INFO: ServicesResource - Representing services

2019-02-08 17:22:00.879  - WARN: Nuve - { Error: Room not found

  name: 'Error',

  status: 404,

  code: 1003,

  data: { error: { code: 1003, message: 'Room not found' } } }

2019-02-08 17:22:13.118  - INFO: ServiceResource - Representing service  5c57df4bc941ec406cc9575b

2019-02-08 17:22:13.164  - INFO: ServicesResource - Representing services

2019-02-08 17:22:16.314  - INFO: ServiceResource - Representing service  5c57df4bc941ec406cc9575b

2019-02-08 17:22:16.357  - INFO: ServicesResource - Representing services

2019-02-08 17:22:18.914  - INFO: ServiceResource - Representing service  5c57df4bc941ec406cc9575b

2019-02-08 17:22:18.960  - INFO: ServicesResource - Representing services

2019-02-08 17:23:20.495  - WARN: Nuve - { Error: Room not found

  name: 'Error',

  status: 404,

  code: 1003,

  data: { error: { code: 1003, message: 'Room not found' } } }

2019-02-08 17:23:23.295  - WARN: Nuve - { Error: Room not found

  name: 'Error',

  status: 404,

  code: 1003,

 

We could not find any other logs apart from the above

 

Thanks

Naresh

Tags (2)
0 Kudos
8 Replies
Highlighted
Employee
66 Views

Hi, 

what do you mean by "after some time", did you keep the connection and there were streams?

Are there any errors in conference logs? 

0 Kudos
Highlighted
New Contributor I
66 Views

Hi,

When there is more traffic/frequent connections to a room. this issue we faced in 3. versions.

Thanks

Naresh

0 Kudos
Highlighted
Employee
66 Views

Hi, Naresh

Can you please share the steps which can easily reproduce the issues? We will try to reproduce.

Best wishes,

Zhai Lei

0 Kudos
Highlighted
66 Views

Hi, Naresh, did you mean you also encountered this issue in 3.x version? did you see this issue in 4.0? or you did not encounter this issue in 4.0 and 4.1 and only see this issue in 4.1.1 version? Please also provide the reproduce steps if you have. Thanks~

0 Kudos
Highlighted
Beginner
66 Views

@Lei Zhai (Intel)

关于 4.1.1的屏幕共享接口有修改吗?

new StreamConstraints(audioConstraints, videoConstraints, extensionId)

new Ics.Base.VideoTrackConstraints(Ics.Base.VideoSourceInfo.SCREENCAST)

new Ics.Base.StreamSourceInfo('screen-cast', 'screen-cast')

传入屏幕共享插件ID 总提示 TypeError: Extension ID must be specified for screen sharing on Chrome.

是我的用法有问题吗?期待答复,谢谢

0 Kudos
Highlighted
Employee
66 Views

We changed StreamConstraints parameter from 4.0. For screen stream, you need to specify your extensionId, there is no default extension id. Because the default one definitely not work for your environment.

0 Kudos
Highlighted
Beginner
66 Views

@Lei Zhai (Intel)

非常感谢,通过设置extensionId 后已经可以正常使用了。

另外,还有一个疑问。使用nwjs 直接调用 chrome navigator.webkitGetUserMedia 打开屏幕共享(共享预览已经打开了),应该怎么传入流参数到sdk中呢?因为 nwjs 貌似无法传入extension 扩展插件ID无法使用。

0 Kudos
Highlighted
Beginner
66 Views

@Lei Zhai (Intel)  点击浏览器里面的停止屏幕共享应该用什么事件监听呢,之前 3.5 应该用的  removestream,现在看文档使用  pub 的 ended事件,但是没有效果

0 Kudos