mirror of
https://github.com/aler9/gortsplib
synced 2025-11-03 03:03:31 +08:00
sdp: support TP-Link application tracks (https://github.com/aler9/rtsp-simple-server/issues/990)
This commit is contained in:
@@ -403,6 +403,10 @@ func (s *SessionDescription) unmarshalMediaDescription(value string) error {
|
||||
|
||||
newMediaDesc := &psdp.MediaDescription{}
|
||||
|
||||
if fields[0] == "application/TP-LINK" {
|
||||
fields[0] = "application"
|
||||
}
|
||||
|
||||
// <media>
|
||||
// Set according to currently registered with IANA
|
||||
// https://tools.ietf.org/html/rfc4566#section-5.14
|
||||
|
||||
Reference in New Issue
Block a user