add WebRTC send function.

This commit is contained in:
Miroslav Šedivý
2021-02-12 21:06:42 +01:00
parent f22922191a
commit c8200e3bb7
3 changed files with 18 additions and 15 deletions

View File

@ -7,6 +7,7 @@ type WebRTCPeer interface {
SignalCandidate(candidate webrtc.ICECandidateInit) error
SetVideoID(videoID string) error
Send(data []byte) error
Destroy() error
}