- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I get the following error when I call N.API.createRoom (I use Node 6.9.5)
/opt/intelcs/webrtc/Release-v3.4/extras/basic_example/nuve.js:8
TypeError: a.forEach is not a function
at c (/opt/intelcs/webrtc/Release-v3.4/extras/basic_example/nuve.js:8:10901)
at Object.e [as createRoom] (/opt/intelcs/webrtc/Release-v3.4/extras/basic_example/nuve.js:8:11273)
....
the api I call is:
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, there are 2 issues in the createRoom data:
1. as document https://software.intel.com/sites/products/documentation/webrtc/js/class_n_1_1_a_p_i.html#a54e2842c746d3a992891635a571cf511 defined: viewport values should be an array not an object
2. common should be the value, its key should be name, viewports should work if defined like this:
viewports:[{name:"common", mediaMixing: {}}]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply.
I think you have to correct the example in the documentation on the page you mentioned. My code was taken up exactly from this example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the correction, we will update doc in the future release
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to create a room with the options below. However the room is created with the default options and no viewport is created.
In the logs I do not seem to see any error.
What am I doing wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
no indication on my last question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, David, there is a bug in v3.4 for viewport, and we have fixed it in v3.4.1. Please use MCU with 3.4.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
updating to version 3.4.1 has resolved the problem, but the mixed stream bitrate does not meet the maximum set limit of 300 Kbs. It is around 2 Mbps. Why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, david, bitrate option in createRoom API is deprecated in 3.4, if you want to limit bitrate of subscribed stream, please specify qualituLevel option in subscribe API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
one mistake in previous comment, should be qualityLevel:
Hi, david, bitrate option in createRoom API is deprecated in 3.4, if you want to limit bitrate of subscribed stream, please specify qualityLevel option in subscribe API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok thanks for the reply but I would like to understand in more detail the effect of these parameters on a video session of "n" participants with heterogeneous network bandwidth.
I'm developing a web conference application that aims to have 100 participants, so I have to be sure of the network bandwidth that I have to allocate on the server.
many thanks for the kind reply you will give me
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For subscribe actions, bandwidth mainly related to resolution and qualityLevel, here is a reference table for bitrate in different resolution and qualityLevel:

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page