mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-06 10:20:26 +02:00
send video IDs with signal provide.
This commit is contained in:
parent
1838a74213
commit
5cdb6e074e
2 changed files with 10 additions and 8 deletions
|
@ -45,6 +45,7 @@ type SignalProvide struct {
|
|||
SDP string `json:"sdp"`
|
||||
Lite bool `json:"lite"`
|
||||
ICE []string `json:"ice"`
|
||||
Videos []string `json:"videos"`
|
||||
}
|
||||
|
||||
type SignalCandidate struct {
|
||||
|
|
|
@ -22,6 +22,7 @@ func (h *MessageHandlerCtx) signalRequest(session types.Session) error {
|
|||
SDP: offer.SDP,
|
||||
Lite: h.webrtc.ICELite(),
|
||||
ICE: h.webrtc.ICEServers(),
|
||||
Videos: h.capture.VideoIDs(),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue