| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 #ifndef WEBRTC_CALL_RTP_STREAM_RECEIVER_CONTROLLER_H_ | 10 #ifndef WEBRTC_CALL_RTP_STREAM_RECEIVER_CONTROLLER_H_ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 RtpStreamReceiverController* const controller_; | 57 RtpStreamReceiverController* const controller_; |
| 58 RtpPacketSinkInterface* const sink_; | 58 RtpPacketSinkInterface* const sink_; |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 // TODO(nisse): Move to a TaskQueue for synchronization. When used | 61 // TODO(nisse): Move to a TaskQueue for synchronization. When used |
| 62 // by Call, we expect construction and all methods but OnRtpPacket | 62 // by Call, we expect construction and all methods but OnRtpPacket |
| 63 // to be called on the same thread, and OnRtpPacket to be called | 63 // to be called on the same thread, and OnRtpPacket to be called |
| 64 // by a single, but possibly distinct, thread. But applications not | 64 // by a single, but possibly distinct, thread. But applications not |
| 65 // using Call may have use threads differently. | 65 // using Call may have use threads differently. |
| 66 rtc::CriticalSection lock_; | 66 rtc::CriticalSection lock_; |
| 67 RtpDemuxer demuxer_ GUARDED_BY(&lock_); | 67 RtpDemuxer demuxer_ RTC_GUARDED_BY(&lock_); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace webrtc | 70 } // namespace webrtc |
| 71 | 71 |
| 72 #endif // WEBRTC_CALL_RTP_STREAM_RECEIVER_CONTROLLER_H_ | 72 #endif // WEBRTC_CALL_RTP_STREAM_RECEIVER_CONTROLLER_H_ |
| OLD | NEW |