Remove ViEBase::Init() call from VideoCall.
ViEBase::Init() is a no-op in the current implementation. Keeping it there is just confusing. BUG= R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2029004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4544 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -29,13 +29,6 @@ VideoCall* VideoCall::Create(const newapi::VideoCall::Config& config) {
|
|||||||
webrtc::VideoEngine* video_engine = webrtc::VideoEngine::Create();
|
webrtc::VideoEngine* video_engine = webrtc::VideoEngine::Create();
|
||||||
assert(video_engine != NULL);
|
assert(video_engine != NULL);
|
||||||
|
|
||||||
ViEBase* video_engine_base = ViEBase::GetInterface(video_engine);
|
|
||||||
assert(video_engine_base != NULL);
|
|
||||||
if (video_engine_base->Init() != 0) {
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
video_engine_base->Release();
|
|
||||||
|
|
||||||
return new internal::VideoCall(video_engine, config);
|
return new internal::VideoCall(video_engine, config);
|
||||||
}
|
}
|
||||||
} // namespace newapi
|
} // namespace newapi
|
||||||
|
Reference in New Issue
Block a user