am 94edc18b: Fixed session not terminated when bandwidth goes below the supported encoded bitrate (preload error).
* commit '94edc18bdeb3a4a1e044ee81bb1f64ccb31c4a8e': Fixed session not terminated when bandwidth goes below the supported encoded bitrate (preload error).
This commit is contained in:
@@ -154,10 +154,12 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
WV_SetWarningToErrorMS(10000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user