mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add Trickle ICE support.
This commit is contained in:
internal
session
types
webrtc
websocket
handler
@ -1,6 +1,8 @@
|
||||
package message
|
||||
|
||||
import (
|
||||
"github.com/pion/webrtc/v3"
|
||||
|
||||
"demodesk/neko/internal/types"
|
||||
)
|
||||
|
||||
@ -45,6 +47,11 @@ type SignalProvide struct {
|
||||
ICE []string `json:"ice"`
|
||||
}
|
||||
|
||||
type SignalCandidate struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
*webrtc.ICECandidateInit
|
||||
}
|
||||
|
||||
type SignalAnswer struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
SDP string `json:"sdp"`
|
||||
|
Reference in New Issue
Block a user