sdp: Handle level-asymmetry-allowed for H264 streams
authorThibault Saunier <tsaunier@igalia.com>
Fri, 3 Dec 2021 01:45:49 +0000 (01:45 +0000)
committerThibault Saunier <tsaunier@igalia.com>
Sun, 12 Dec 2021 13:59:00 +0000 (10:59 -0300)
commit9ac502c21d5d51f87b38db2f3b6e8d435fe4478a
tree21a0fba01c27da153b1099b3ac10cfb30040463d
parentf10867dfb5e70fa983bd32653f2c30596c5f2e68
sdp: Handle level-asymmetry-allowed for H264 streams

The ["level-asymmetry-allowed"] field states that the peer wants the
profile specified in the "profile-level-id" fields but doesn't care
about the level. To express this in GStreamer caps term, we add a
"profile" field in the caps, which reuses the usual "profile" semantics
for H.264 streams and, and remove "profile-level-id" and
"level-asymmetry-allowed" fields.

["level-asymmetry-allowed"]: https://www.iana.org/assignments/media-types/video/H264

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1410>
subprojects/gst-plugins-base/gst-libs/gst/meson.build
subprojects/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c
subprojects/gst-plugins-base/gst-libs/gst/sdp/meson.build
subprojects/gst-plugins-base/tests/check/libs/sdp.c