Fixed session not terminated when bandwidth goes below the supported encoded bitrate (preload error).
Change-Id: Ib7bddaaaac7d48df7f18fab0c5d486624abe3119 related-to-bug: 5564453
This commit is contained in:
@@ -154,9 +154,11 @@ void WVMExtractorImpl::Initialize()
|
||||
if (result != WV_Status_OK) {
|
||||
LOGE("WV_Setup returned status %d in WVMMediaSource::start\n", result);
|
||||
mSetupStatus = ERROR_IO;
|
||||
WV_Teardown(mSession);
|
||||
mSession = NULL;
|
||||
} else {
|
||||
mInfoListener->setSession(mSession);
|
||||
}
|
||||
|
||||
mInfoListener->setSession(mSession);
|
||||
}
|
||||
|
||||
WV_SetWarningToErrorMS(10000);
|
||||
|
||||
Reference in New Issue
Block a user