Fix Widevine HLS live streaming
Change-Id: I566b693f7f0e9a7b7c8111fb654f79bcd927e02d related-to-bug: 6178393
This commit is contained in:
@@ -311,7 +311,7 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
|
||||
}
|
||||
|
||||
#ifdef REQUIRE_SECURE_BUFFERS
|
||||
if (mESSelector == WV_EsSelector_Video) {
|
||||
if (mESSelector == WV_EsSelector_Video && !mIsLiveStream) {
|
||||
bytesRead = sDecryptContext[mESSelector].mOffset;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user