neko/internal/types/webrtc.go
2020-11-25 18:41:40 +01:00

13 lines
216 B
Go

package types
type WebRTCPeer interface {
SignalAnswer(sdp string) error
Destroy() error
}
type WebRTCManager interface {
Start()
Shutdown() error
CreatePeer(session Session) (string, bool, []string, error)
}