- add JS api to share webcam
This commit is contained in:
parent
d6377fe89e
commit
f4ff05856a
@ -71,10 +71,14 @@
|
||||
/**
|
||||
* Share user's webcam.
|
||||
*/
|
||||
BBB.shareVideoCamera = function() {
|
||||
BBB.shareVideoCamera = function(publishInClient) {
|
||||
var swfObj = getSwfObj();
|
||||
if (swfObj) {
|
||||
swfObj.shareVideoCamera();
|
||||
if (typeof publishInClient === 'boolean') {
|
||||
swfObj.shareVideoCamera(publishInClient);
|
||||
} else {
|
||||
swfObj.shareVideoCamera();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user