| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 Configuration(); | 48 Configuration(); |
| 49 | 49 |
| 50 // True for a audio version of the RTP/RTCP module object false will create | 50 // True for a audio version of the RTP/RTCP module object false will create |
| 51 // a video version. | 51 // a video version. |
| 52 bool audio = false; | 52 bool audio = false; |
| 53 bool receiver_only = false; | 53 bool receiver_only = false; |
| 54 | 54 |
| 55 // The clock to use to read time. If nullptr then system clock will be used. | 55 // The clock to use to read time. If nullptr then system clock will be used. |
| 56 Clock* clock = nullptr; | 56 Clock* clock = nullptr; |
| 57 | 57 |
| 58 ReceiveStatistics* receive_statistics; | 58 ReceiveStatistics* receive_statistics = nullptr; |
| 59 | 59 |
| 60 // Transport object that will be called when packets are ready to be sent | 60 // Transport object that will be called when packets are ready to be sent |
| 61 // out on the network. | 61 // out on the network. |
| 62 Transport* outgoing_transport = nullptr; | 62 Transport* outgoing_transport = nullptr; |
| 63 | 63 |
| 64 // Called when the receiver request a intra frame. | 64 // Called when the receiver request a intra frame. |
| 65 RtcpIntraFrameObserver* intra_frame_callback = nullptr; | 65 RtcpIntraFrameObserver* intra_frame_callback = nullptr; |
| 66 | 66 |
| 67 // Called when we receive a changed estimate from the receiver of out | 67 // Called when we receive a changed estimate from the receiver of out |
| 68 // stream. | 68 // stream. |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 463 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; |
| 464 | 464 |
| 465 // Sends a request for a keyframe. | 465 // Sends a request for a keyframe. |
| 466 // Returns -1 on failure else 0. | 466 // Returns -1 on failure else 0. |
| 467 virtual int32_t RequestKeyFrame() = 0; | 467 virtual int32_t RequestKeyFrame() = 0; |
| 468 }; | 468 }; |
| 469 | 469 |
| 470 } // namespace webrtc | 470 } // namespace webrtc |
| 471 | 471 |
| 472 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 472 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
| OLD | NEW |