Review URL: http://webrtc-codereview.appspot.com/118001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@406 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
412889a2a9
commit
bca7fa09af
@ -523,21 +523,6 @@ bool WebRtcSession::OnRemoteDescription(
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< .mine
|
|
||||||
=======
|
|
||||||
void WebRtcSession::ProcessTerminateAccept(cricket::SessionDescription* desc) {
|
|
||||||
const cricket::ContentInfo* video_content = GetFirstVideoContent(desc);
|
|
||||||
if (video_content) {
|
|
||||||
SignalRemoveStream(video_content->name, true);
|
|
||||||
} else {
|
|
||||||
const cricket::ContentInfo* audio_content = GetFirstAudioContent(desc);
|
|
||||||
if (audio_content) {
|
|
||||||
SignalRemoveStream(audio_content->name, false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
>>>>>>> .r402
|
|
||||||
bool WebRtcSession::CheckForStreamDeleteMessage(
|
bool WebRtcSession::CheckForStreamDeleteMessage(
|
||||||
const std::vector<cricket::Candidate>& candidates) {
|
const std::vector<cricket::Candidate>& candidates) {
|
||||||
for (size_t i = 0; i < candidates.size(); ++i) {
|
for (size_t i = 0; i < candidates.size(); ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user