Add RTSP SDP to stream info JSON

This commit is contained in:
Alexey Khit
2023-07-23 17:26:26 +03:00
parent 3defbd60db
commit e6a87fbd69
5 changed files with 20 additions and 7 deletions
+1
View File
@@ -90,6 +90,7 @@ type Info struct {
URL string `json:"url,omitempty"`
RemoteAddr string `json:"remote_addr,omitempty"`
UserAgent string `json:"user_agent,omitempty"`
SDP string `json:"sdp,omitempty"`
Medias []*Media `json:"medias,omitempty"`
Receivers []*Receiver `json:"receivers,omitempty"`
Senders []*Sender `json:"senders,omitempty"`