We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7ba725 commit 15327c2Copy full SHA for 15327c2
src/main.cpp
@@ -284,6 +284,14 @@ bool CInputStreamAdaptive::OpenStream(int streamid)
284
}
285
286
287
+ if (stream->GetReader() && stream->GetReader()->GetType() == ISampleReader::Type::WebM &&
288
+ !stream->m_info.GetCryptoSession().GetSessionId().empty())
289
+ {
290
+ //! @todo: it should be implemented on the WebM demuxer side and verify if appropriate changes are required on CDM
291
+ LOG::LogF(LOGERROR, "WebM container with DRM encrypted stream is not supported");
292
+ return false;
293
+ }
294
+
295
m_session->EnableStream(stream, true);
296
297
// If stream use DRM always update stream info
0 commit comments