We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f7ba725 + 7e50a1d commit f6deb2eCopy full SHA for f6deb2e
src/main.cpp
@@ -263,6 +263,14 @@ bool CInputStreamAdaptive::OpenStream(int streamid)
263
return false;
264
}
265
266
+ if (stream->GetReader()->GetType() == ISampleReader::Type::WebM &&
267
+ !stream->m_info.GetCryptoSession().GetSessionId().empty())
268
+ {
269
+ //! @todo: it should be implemented on the WebM demuxer side and verify if appropriate changes are required on CDM
270
+ LOG::LogF(LOGERROR, "WebM container with DRM encrypted stream is not supported");
271
+ return false;
272
+ }
273
+
274
stream->GetReader()->SetStreamId(stream->m_info.GetStreamType(), streamid);
275
276
// In case of video quality change (OSD)
0 commit comments