Commit c41157db authored by Éloi Bail's avatar Éloi Bail Committed by Guillaume Roguez

daemon: only use codec that can encode and decode

Refs #67894

Change-Id: Idd2565f7f42230e93f307c16cafe8438b2d8f825
Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <>
parent e557d7ef
......@@ -163,8 +163,8 @@ Account::loadDefaultCodecs()
auto systemCodecList = systemCodecContainer_->getSystemCodecInfoList();
for (const auto& systemCodec: systemCodecList) {
// only take encoders and or decoders
if (systemCodec->codecType == CODEC_NONE)
// As defined in SDP RFC, only select a codec if he can encode and decode
if (systemCodec->mediaType & MEDIA_AUDIO) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment