diff --git a/sdp/parser.go b/sdp/parser.go index 925d9eb..8704081 100644 --- a/sdp/parser.go +++ b/sdp/parser.go @@ -69,7 +69,7 @@ func Parse(content string) (sess Session, medias []Media) { keyval = strings.Split(field, "/") if len(keyval) >= 2 { key := keyval[0] - switch key { + switch strings.ToUpper(key) { case "MPEG4-GENERIC": media.Type = av.AAC case "H264":