mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-31 18:07:05 +02:00
choose video with CreatePeer.
This commit is contained in:
parent
5cdb6e074e
commit
dd2ca03955
4 changed files with 28 additions and 28 deletions
|
@ -46,6 +46,7 @@ type SignalProvide struct {
|
|||
Lite bool `json:"lite"`
|
||||
ICE []string `json:"ice"`
|
||||
Videos []string `json:"videos"`
|
||||
Video string `json:"video"`
|
||||
}
|
||||
|
||||
type SignalCandidate struct {
|
||||
|
|
|
@ -17,5 +17,5 @@ type WebRTCManager interface {
|
|||
ICELite() bool
|
||||
ICEServers() []string
|
||||
|
||||
CreatePeer(session Session) (*webrtc.SessionDescription, error)
|
||||
CreatePeer(session Session, videoID string) (*webrtc.SessionDescription, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue