Skip to content

webrtcsink: prevent video-info error log for audio streams

The following error is logged when webrtcsink is feeded with an audio stream:

ERROR video-info video-info.c:540:gst_video_info_from_caps: wrong name 'audio/x-raw', expected video/ or image/

This commit bypasses VideoInfo::from_caps for audio streams.

Merge request reports

Loading