(Auto)update libjingle 79205306-> 79244016
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7633 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
72fd339352
commit
a22a628356
@ -1661,10 +1661,12 @@ bool WebRtcVideoMediaChannel::Init() {
|
||||
}
|
||||
|
||||
WebRtcVideoMediaChannel::~WebRtcVideoMediaChannel() {
|
||||
const bool send = false;
|
||||
SetSend(send);
|
||||
const bool render = false;
|
||||
SetRender(render);
|
||||
Terminate();
|
||||
}
|
||||
|
||||
void WebRtcVideoMediaChannel::Terminate() {
|
||||
SetSend(false);
|
||||
SetRender(false);
|
||||
|
||||
while (!send_channels_.empty()) {
|
||||
if (!DeleteSendChannel(send_channels_.begin()->first)) {
|
||||
|
@ -330,6 +330,7 @@ class WebRtcVideoMediaChannel : public rtc::MessageHandler,
|
||||
virtual void OnMessage(rtc::Message* msg) OVERRIDE;
|
||||
|
||||
protected:
|
||||
void Terminate();
|
||||
int GetLastEngineError() { return engine()->GetLastEngineError(); }
|
||||
|
||||
// webrtc::Transport:
|
||||
|
Loading…
Reference in New Issue
Block a user