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

Issue 2975963002: Revert of Injectable Obj-C video codecs (Closed)

Created:
3 years, 5 months ago by tkchin_webrtc
Modified:
3 years, 5 months ago
Reviewers:
magjed_webrtc, andersc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Revert of Injectable Obj-C video codecs (patchset #8 id:140001 of https://codereview.webrtc.org/2966023002/ ) Reason for revert: Causes no video in certain scenarios. Please come up with a test plan or unit test to prevent such problems in the future. Original issue's description: > Injectable Obj-C video codecs > > Initial CL for this effort, with a working RTCVideoEncoder/Decoder for H264 > (wrapping the VideoToolbox codec). > > Some notes / things left to do: > - There are some hard-coded references to codec types that are supported by > webrtc::VideoCodec, cricket::VideoCodec, webrtc::CodecSpecificInfo etc > since we need to convert to/from these types in ObjCVideoEncoder/Decoder. > These types would need to be more codec agnostic to avoid this. > - Most interfaces are borrowed from the design document for injectable > codecs in Android. Some data in the corresponding C++ classes is discarded > when converting to the Obj-C version, since it has fewer fields. I have not > verified whether all data that we do keep is needed, or whether we might be > losing anything useful in these conversions. > - Implement the VideoToolbox codec code directly in the RTCVideoEncoderH264 > classes, instead of wrapping webrtc::H264VideoToolboxEncoder / decoder. > Eliminates converting between ObjC/C++ types outside the ObjCVideoEncoder/ > Decoder wrapper classes. > - List the injected codec factory's supported codecs in the list of codecs in > AppRTCMobile. > > BUG=webrtc:7924 > R=magjed@webrtc.org > > Review-Url: https://codereview.webrtc.org/2966023002 . > Cr-Commit-Position: refs/heads/master@{#18928} > Committed: https://chromium.googlesource.com/external/webrtc/+/a0349c138db62c52435be84b6c837f5f4758e264 TBR=magjed@webrtc.org,andersc@webrtc.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=webrtc:7924 NOTRY=true Review-Url: https://codereview.webrtc.org/2975963002 Cr-Commit-Position: refs/heads/master@{#18979} Committed: https://chromium.googlesource.com/external/webrtc/+/1095ada7ad56fe29b7b2bbc560a8f6475a7978ce

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1214 lines) Patch
M webrtc/sdk/BUILD.gn View 8 chunks +0 lines, -18 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/Common/helpers.h View 4 chunks +4 lines, -4 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm View 1 chunk +0 lines, -74 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm View 4 chunks +5 lines, -26 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCRtpFragmentationHeader.mm View 1 chunk +0 lines, -61 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm View 1 chunk +0 lines, -114 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h View 1 chunk +0 lines, -57 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm View 1 chunk +0 lines, -263 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm View 1 chunk +0 lines, -1 line 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.h View 1 chunk +0 lines, -39 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.mm View 1 chunk +0 lines, -125 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.h View 1 chunk +0 lines, -41 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.mm View 1 chunk +0 lines, -156 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h View 1 chunk +1 line, -9 lines 0 comments Download
D webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h View 1 chunk +0 lines, -137 lines 0 comments Download
D webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h View 1 chunk +0 lines, -36 lines 0 comments Download
D webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h View 1 chunk +0 lines, -47 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h View 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/WebRTC.h View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
tkchin_webrtc
Created Revert of Injectable Obj-C video codecs
3 years, 5 months ago (2017-07-11 19:42:52 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2975963002/1
3 years, 5 months ago (2017-07-11 19:43:01 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/9610)
3 years, 5 months ago (2017-07-11 20:13:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2975963002/1
3 years, 5 months ago (2017-07-11 20:15:21 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/9612)
3 years, 5 months ago (2017-07-11 20:49:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2975963002/1
3 years, 5 months ago (2017-07-11 20:53:25 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/9615)
3 years, 5 months ago (2017-07-11 21:20:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2975963002/1
3 years, 5 months ago (2017-07-11 22:43:19 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/external/webrtc/+/1095ada7ad56fe29b7b2bbc560a8f6475a7978ce
3 years, 5 months ago (2017-07-11 22:46:38 UTC) #19
andersc
3 years, 5 months ago (2017-07-12 08:43:18 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.webrtc.org/2981583002/ by andersc@webrtc.org.

The reason for reverting is: New CL for fixing the issues.

Powered by Google App Engine
This is Rietveld 408576698