`media-capture` is the local param that comes from `video-capture` or `audio-capture`. So check video/audio are sufficient here. see Ln67