mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-30 19:06:21 +02:00
+ CanWatch.
This commit is contained in:
parent
d2ffac3d4b
commit
4fe74fd112
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue