Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h

Issue 2089773002: Add EncodedImageCallback::OnEncodedImage(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 bool Sending() const override; 106 bool Sending() const override;
107 107
108 // Drops or relays media packets. 108 // Drops or relays media packets.
109 void SetSendingMediaStatus(bool sending) override; 109 void SetSendingMediaStatus(bool sending) override;
110 110
111 bool SendingMedia() const override; 111 bool SendingMedia() const override;
112 112
113 // Used by the codec module to deliver a video or audio frame for 113 // Used by the codec module to deliver a video or audio frame for
114 // packetization. 114 // packetization.
115 int32_t SendOutgoingData( 115 bool SendOutgoingData(FrameType frame_type,
116 FrameType frame_type, 116 int8_t payload_type,
117 int8_t payload_type, 117 uint32_t time_stamp,
118 uint32_t time_stamp, 118 int64_t capture_time_ms,
119 int64_t capture_time_ms, 119 const uint8_t* payload_data,
120 const uint8_t* payload_data, 120 size_t payload_size,
121 size_t payload_size, 121 const RTPFragmentationHeader* fragmentation,
122 const RTPFragmentationHeader* fragmentation = NULL, 122 const RTPVideoHeader* rtp_video_header,
123 const RTPVideoHeader* rtp_video_header = NULL) override; 123 uint32_t* transport_frame_id_out) override;
124 124
125 bool TimeToSendPacket(uint32_t ssrc, 125 bool TimeToSendPacket(uint32_t ssrc,
126 uint16_t sequence_number, 126 uint16_t sequence_number,
127 int64_t capture_time_ms, 127 int64_t capture_time_ms,
128 bool retransmission, 128 bool retransmission,
129 int probe_cluster_id) override; 129 int probe_cluster_id) override;
130 130
131 // Returns the number of padding bytes actually sent, which can be more or 131 // Returns the number of padding bytes actually sent, which can be more or
132 // less than |bytes|. 132 // less than |bytes|.
133 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) override; 133 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) override;
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 PacketLossStats receive_loss_stats_; 366 PacketLossStats receive_loss_stats_;
367 367
368 // The processed RTT from RtcpRttStats. 368 // The processed RTT from RtcpRttStats.
369 rtc::CriticalSection critical_section_rtt_; 369 rtc::CriticalSection critical_section_rtt_;
370 int64_t rtt_ms_; 370 int64_t rtt_ms_;
371 }; 371 };
372 372
373 } // namespace webrtc 373 } // namespace webrtc
374 374
375 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 375 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698