mirror of
https://github.com/aler9/gortsplib
synced 2025-10-25 08:10:34 +08:00
sdp: fix compatibility with a Uniview camera (bluenviron/mediamtx#5008) (#903)
This commit is contained in:
@@ -91,6 +91,8 @@ func (s *SessionDescription) unmarshalOrigin(value string) error {
|
||||
|
||||
if strings.HasSuffix(value, " IN") {
|
||||
value += " IP4"
|
||||
} else if strings.HasSuffix(value, " IN ") {
|
||||
value += "IP4"
|
||||
}
|
||||
|
||||
if strings.HasSuffix(value, "IN IP4") {
|
||||
|
||||
Reference in New Issue
Block a user