mirror of
https://github.com/Monibuca/plugin-webrtc.git
synced 2025-10-11 01:30:07 +08:00
feat: add screenshare
feat: add camera selector desc: 增加屏幕分享和摄像头选择功能
This commit is contained in:
3
main.go
3
main.go
@@ -230,6 +230,9 @@ func (conf *WebRTCConfig) Push_(w http.ResponseWriter, r *http.Request) {
|
||||
func (conf *WebRTCConfig) Test_Publish(w http.ResponseWriter, r *http.Request) {
|
||||
w.Write(publishHTML)
|
||||
}
|
||||
func (conf *WebRTCConfig) Test_ScreenShare(w http.ResponseWriter, r *http.Request) {
|
||||
w.Write(publishHTML)
|
||||
}
|
||||
func (conf *WebRTCConfig) Test_Subscribe(w http.ResponseWriter, r *http.Request) {
|
||||
w.Write(subscribeHTML)
|
||||
}
|
||||
|
Reference in New Issue
Block a user