mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
replace video track on demand.
This commit is contained in:
@ -11,6 +11,7 @@ const (
|
||||
SIGNAL_ANSWER = "signal/answer"
|
||||
SIGNAL_PROVIDE = "signal/provide"
|
||||
SIGNAL_CANDIDATE = "signal/candidate"
|
||||
SIGNAL_VIDEO = "signal/video"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -57,6 +57,11 @@ type SignalAnswer struct {
|
||||
SDP string `json:"sdp"`
|
||||
}
|
||||
|
||||
type SignalVideo struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
VideoID string `json:"video_id"`
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
// Member
|
||||
/////////////////////////////
|
||||
|
Reference in New Issue
Block a user