mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add customized WebRTC send functions.
This commit is contained in:
@ -5,9 +5,11 @@ import "github.com/pion/webrtc/v3"
|
||||
type WebRTCPeer interface {
|
||||
SignalAnswer(sdp string) error
|
||||
SignalCandidate(candidate webrtc.ICECandidateInit) error
|
||||
SetVideoID(videoID string) error
|
||||
|
||||
Send(data []byte) error
|
||||
SetVideoID(videoID string) error
|
||||
SendCursorPosition(x, y int) error
|
||||
SendCursorImage(cur *CursorImage) error
|
||||
|
||||
Destroy() error
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user