Kurento Room Demo 6.6.0 - Constraints

조회수 66회
읽지 않은 첫 메시지로 건너뛰기

Christian Morgenthaler

읽지 않음,
2016. 11. 11. 오전 8:20:4916. 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

읽지 않음,
2016. 11. 13. 오전 5:33:5916. 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

읽지 않음,
2016. 11. 14. 오전 5:14:1016. 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

읽지 않음,
2016. 11. 14. 오후 3:15:5916. 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

읽지 않음,
2016. 11. 22. 오전 1:58:1116. 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.
전체답장
작성자에게 답글
전달
새 메시지 0개