Revert of Add EncodedImageCallback::OnEncodedImage(). (patchset #13 id:280001 of https://codereview.webrtc.org/2089773002/ )
Reason for revert: broke internal tests Original issue's description: > Add EncodedImageCallback::OnEncodedImage(). > > OnEncodedImage() is going to replace Encoded(), which is deprecated now. > The new OnEncodedImage() returns Result struct that contains frame_id, > which tells the encoder RTP timestamp for the frame. > > BUG=chromium:621691 > R=niklas.enbom@webrtc.org, sprang@webrtc.org, stefan@webrtc.org > > Committed: https://crrev.com/ad34dbe934d47f88011045671b4aea00dbd5a795 > Cr-Commit-Position: refs/heads/master@{#13613} TBR=pbos@webrtc.org,mflodman@webrtc.org,sprang@webrtc.org,stefan@webrtc.org,niklas.enbom@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:621691 Review-Url: https://codereview.webrtc.org/2206743002 Cr-Commit-Position: refs/heads/master@{#13614}
This commit is contained in:
@ -384,7 +384,7 @@ bool ModuleRtpRtcpImpl::SendingMedia() const {
|
||||
return rtp_sender_.SendingMedia();
|
||||
}
|
||||
|
||||
bool ModuleRtpRtcpImpl::SendOutgoingData(
|
||||
int32_t ModuleRtpRtcpImpl::SendOutgoingData(
|
||||
FrameType frame_type,
|
||||
int8_t payload_type,
|
||||
uint32_t time_stamp,
|
||||
@ -392,8 +392,7 @@ bool ModuleRtpRtcpImpl::SendOutgoingData(
|
||||
const uint8_t* payload_data,
|
||||
size_t payload_size,
|
||||
const RTPFragmentationHeader* fragmentation,
|
||||
const RTPVideoHeader* rtp_video_header,
|
||||
uint32_t* transport_frame_id_out) {
|
||||
const RTPVideoHeader* rtp_video_header) {
|
||||
rtcp_sender_.SetLastRtpTime(time_stamp, capture_time_ms);
|
||||
// Make sure an RTCP report isn't queued behind a key frame.
|
||||
if (rtcp_sender_.TimeToSendRTCPReport(kVideoFrameKey == frame_type)) {
|
||||
@ -401,7 +400,7 @@ bool ModuleRtpRtcpImpl::SendOutgoingData(
|
||||
}
|
||||
return rtp_sender_.SendOutgoingData(
|
||||
frame_type, payload_type, time_stamp, capture_time_ms, payload_data,
|
||||
payload_size, fragmentation, rtp_video_header, transport_frame_id_out);
|
||||
payload_size, fragmentation, rtp_video_header);
|
||||
}
|
||||
|
||||
bool ModuleRtpRtcpImpl::TimeToSendPacket(uint32_t ssrc,
|
||||
|
||||
Reference in New Issue
Block a user