Switch camera at KurentoRoom

141 views
Skip to first unread message

Ilay Vasilyev

unread,
Nov 19, 2017, 6:11:26 AM11/19/17
to kurento
Hello.
Im trying to customize https://github.com/Kurento/kurento-room/blob/master/kurento-room-client-js/src/main/resources/static/js/KurentoRoom.js to switch cameras.
The room has only one publisher.
By customizing adapter.js (i know this is bad) i'v got array of cameras.
In the init() methos of KurentoRoom.Stream im sending deviceId to set camera from  array of cameras.
To change camera im forced to leave room and execute init() again with new 
deviceId.
Please point me to right way.
Reply all
Reply to author
Forward
0 new messages