OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 GUARDED_BY(receive_crit_); | 117 GUARDED_BY(receive_crit_); |
118 | 118 |
119 rtc::scoped_ptr<RWLockWrapper> send_crit_; | 119 rtc::scoped_ptr<RWLockWrapper> send_crit_; |
120 std::map<uint32_t, VideoSendStream*> video_send_ssrcs_ GUARDED_BY(send_crit_); | 120 std::map<uint32_t, VideoSendStream*> video_send_ssrcs_ GUARDED_BY(send_crit_); |
121 std::set<VideoSendStream*> video_send_streams_ GUARDED_BY(send_crit_); | 121 std::set<VideoSendStream*> video_send_streams_ GUARDED_BY(send_crit_); |
122 | 122 |
123 VideoSendStream::RtpStateMap suspended_video_send_ssrcs_; | 123 VideoSendStream::RtpStateMap suspended_video_send_ssrcs_; |
124 | 124 |
125 RtcEventLog* event_log_; | 125 RtcEventLog* event_log_; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(Call); | 127 RTC_DISALLOW_COPY_AND_ASSIGN(Call); |
128 }; | 128 }; |
129 } // namespace internal | 129 } // namespace internal |
130 | 130 |
131 Call* Call::Create(const Call::Config& config) { | 131 Call* Call::Create(const Call::Config& config) { |
132 return new internal::Call(config); | 132 return new internal::Call(config); |
133 } | 133 } |
134 | 134 |
135 namespace internal { | 135 namespace internal { |
136 | 136 |
137 Call::Call(const Call::Config& config) | 137 Call::Call(const Call::Config& config) |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 size_t length, | 543 size_t length, |
544 const PacketTime& packet_time) { | 544 const PacketTime& packet_time) { |
545 if (RtpHeaderParser::IsRtcp(packet, length)) | 545 if (RtpHeaderParser::IsRtcp(packet, length)) |
546 return DeliverRtcp(media_type, packet, length); | 546 return DeliverRtcp(media_type, packet, length); |
547 | 547 |
548 return DeliverRtp(media_type, packet, length, packet_time); | 548 return DeliverRtp(media_type, packet, length, packet_time); |
549 } | 549 } |
550 | 550 |
551 } // namespace internal | 551 } // namespace internal |
552 } // namespace webrtc | 552 } // namespace webrtc |
OLD | NEW |