webrtc: only add nack pli by default if kind is video
authorMatthew Waters <matthew@centricular.com>
Thu, 6 May 2021 07:07:51 +0000 (17:07 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 6 May 2021 12:19:51 +0000 (12:19 +0000)
commita78c907597a62b325dcc9cadc9dc34be4db839f1
tree41c0a70b145b313d6b141cddc4bfa0cf913a4f38
parent1470660976b4450f36ad151f6416f93e8a584623
webrtc: only add nack pli by default if kind is video

Sending/receiving PLI's (Picture Loss Indication) for non-video doesn't
really make sense.  This also matches what the browsers do.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2220>
ext/webrtc/gstwebrtcbin.c
ext/webrtc/utils.c