Moroz_Grigory Moroz_Grigory - 1 year ago 205
Javascript Question

Connect to Kurento Room without stream

I'm trying to connect to Kurento Room without stream. I'm creating

with this hash of params:

var localStream = kurento.Stream(room, {
audio: false,
video: false,
data: false

But anyway Kurento publishing my webcam to room, what am I doing wrong?

Answer Source

You need to edit KurentoRoom.js

In that file, look for function Stream(kurento, local, room, options) and inside there is an init function (this.init = function() {...}).

This is where you can modify the constraints for the getUserMedia call.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download