Kurento Room Demo 6.6.0 - Constraints

66 vues
Passer au premier message non lu

Christian Morgenthaler

non lue,
11 nov. 2016, 08 h 20 min 49 s2016-11-11
à kurento
Hi,

we have a low level hardware device and therefore i need to add some video constraints.
is it possible to set some video constraints (e.g. max resolution, frames) in this sample application?

   var localStream = kurento.Stream(room, {
                audio: true,
                video: true,
                data: false
            });Code hier eingeben...

or in KurentoRoom.js 

var constraints = {
audio: true,
video: {
width: {
ideal: 1280
},
frameRate: {
ideal: 15
}
}
};

Thank you!

Chris

Christian Morgenthaler

non lue,
13 nov. 2016, 05 h 33 min 59 s2016-11-13
à kurento

Is following snippet possible?

var localStream = kurento.Stream(room, {
audio: true,

video: {
mandatory : {
Width : 640,
Height: 320,
maxFrameRate : 15,
minFrameRate : 15
}
},
data: false
});

Ivan Gracia

non lue,
14 nov. 2016, 05 h 14 min 10 s2016-11-14
à Kurento Public
That;s not according to the specification, but it might still work.

Ivan Gracia




--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/620677e2-e4e1-4a98-9568-095092c7aed7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Christian Morgenthaler

non lue,
14 nov. 2016, 15 h 15 min 59 s2016-11-14
à kurento
Okay thank you. I have checked this in angular "Login.js" but it seems that doesnt work.
The constraints are ignored.

In the room docs i found following Information:

"Please observe that the constraints from the options passed to the local stream (audio, video, data) are being ignored at the moment"

What should i do to get the constraints working? And what did you mean with "Thats not according to the specification?

Sorry for my questions, but im still learning!

Thank you!

Ivan Gracia

non lue,
22 nov. 2016, 01 h 58 min 11 s2016-11-22
à kurento
I meant that those constraints are not according to the gUM specification. They work, but might stop doing so at any moment.

Weird those are ignored. Don't remember from the top of my head where exactly, but I'm sure by modifying the source code from the project you'll get those constraints working. Just add them to the call to webrtcpeer, when the object is created in the client.
--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.

To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message