| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include <utility> | 11 #include <utility> |
| 12 | 12 |
| 13 #include "webrtc/pc/channel.h" | 13 #include "webrtc/pc/channel.h" |
| 14 | 14 |
| 15 #include "webrtc/audio/audio_sink.h" | 15 #include "webrtc/audio_sink.h" |
| 16 #include "webrtc/base/bind.h" | 16 #include "webrtc/base/bind.h" |
| 17 #include "webrtc/base/buffer.h" | 17 #include "webrtc/base/buffer.h" |
| 18 #include "webrtc/base/byteorder.h" | 18 #include "webrtc/base/byteorder.h" |
| 19 #include "webrtc/base/common.h" | 19 #include "webrtc/base/common.h" |
| 20 #include "webrtc/base/dscp.h" | 20 #include "webrtc/base/dscp.h" |
| 21 #include "webrtc/base/logging.h" | 21 #include "webrtc/base/logging.h" |
| 22 #include "webrtc/base/trace_event.h" | 22 #include "webrtc/base/trace_event.h" |
| 23 #include "webrtc/media/base/constants.h" | 23 #include "webrtc/media/base/constants.h" |
| 24 #include "webrtc/media/base/rtputils.h" | 24 #include "webrtc/media/base/rtputils.h" |
| 25 #include "webrtc/p2p/base/transportchannel.h" | 25 #include "webrtc/p2p/base/transportchannel.h" |
| (...skipping 2222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2248 return (data_channel_type_ == DCT_RTP) && BaseChannel::ShouldSetupDtlsSrtp(); | 2248 return (data_channel_type_ == DCT_RTP) && BaseChannel::ShouldSetupDtlsSrtp(); |
| 2249 } | 2249 } |
| 2250 | 2250 |
| 2251 void DataChannel::OnStreamClosedRemotely(uint32_t sid) { | 2251 void DataChannel::OnStreamClosedRemotely(uint32_t sid) { |
| 2252 rtc::TypedMessageData<uint32_t>* message = | 2252 rtc::TypedMessageData<uint32_t>* message = |
| 2253 new rtc::TypedMessageData<uint32_t>(sid); | 2253 new rtc::TypedMessageData<uint32_t>(sid); |
| 2254 signaling_thread()->Post(this, MSG_STREAMCLOSEDREMOTELY, message); | 2254 signaling_thread()->Post(this, MSG_STREAMCLOSEDREMOTELY, message); |
| 2255 } | 2255 } |
| 2256 | 2256 |
| 2257 } // namespace cricket | 2257 } // namespace cricket |
| OLD | NEW |