mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Can switch from screen to webcam
This commit is contained in:
parent
ce89facd2d
commit
3fe8b2f438
@ -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