neko/internal/types/webrtc.go
2020-10-31 20:11:32 +01:00

18 lines
277 B
Go

package types
type Sample struct {
Data []byte
Samples uint32
}
type WebRTCManager interface {
Start()
Shutdown() error
CreatePeer(id string, session Session) (string, bool, []string, error)
}
type Peer interface {
SignalAnswer(sdp string) error
Destroy() error
}