This commit is contained in:
aler9
2022-06-23 22:47:19 +02:00
parent 8b9fda867a
commit 61726e534c
2 changed files with 130 additions and 0 deletions

View File

@@ -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