mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
Can switch from screen to webcam
This commit is contained in:
parent
ce89facd2d
commit
3fe8b2f438
@ -169,7 +169,7 @@ class CallWindow extends CustomEvents {
|
||||
// Sub-menu entries
|
||||
const menuEntries = [
|
||||
|
||||
//Full screen button
|
||||
// Full screen button
|
||||
{
|
||||
icon: "fa-expand",
|
||||
text: "Toggle fullscreen",
|
||||
@ -179,6 +179,27 @@ class CallWindow extends CustomEvents {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// Share screen button
|
||||
{
|
||||
icon: "fa-tv",
|
||||
text: "Share screen",
|
||||
needVideo: true,
|
||||
onclick: () => {
|
||||
this.startStreaming(true, true)
|
||||
}
|
||||
},
|
||||
|
||||
// Share camera button
|
||||
{
|
||||
icon: "fa-video-camera",
|
||||
text: "Share webcam",
|
||||
needVideo: true,
|
||||
onclick: () => {
|
||||
this.startStreaming(true, false)
|
||||
}
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
//Add buttons
|
||||
|
Loading…
Reference in New Issue
Block a user