+ CanWatch.

This commit is contained in:
Miroslav Šedivý 2020-12-06 18:49:20 +01:00
parent d2ffac3d4b
commit 4fe74fd112

View File

@ -7,6 +7,10 @@ import (
)
func (h *MessageHandlerCtx) signalRequest(session types.Session) error {
if !session.CanWatch() {
return nil
}
sdp, lite, ice, err := h.webrtc.CreatePeer(session)
if err != nil {
return err