Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,14 @@ bool CInputStreamAdaptive::OpenStream(int streamid)
return false;
}

if (stream->GetReader()->GetType() == ISampleReader::Type::WebM &&
!stream->m_info.GetCryptoSession().GetSessionId().empty())
{
//! @todo: it should be implemented on the WebM demuxer side and verify if appropriate changes are required on CDM
LOG::LogF(LOGERROR, "WebM container with DRM encrypted stream is not supported");
return false;
}

stream->GetReader()->SetStreamId(stream->m_info.GetStreamType(), streamid);

// In case of video quality change (OSD)
Expand Down
Loading