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

Issue 2979983002: Reland of Injectable Obj-C video codecs (Closed)

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

Description

Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2979973002/ ) Reason for revert: Fix the broken build file Original issue's description: > Revert of Injectable Obj-C video codecs (patchset #3 id:400001 of https://codereview.webrtc.org/2981583002/ ) > > Reason for revert: > Breaks bots. Build file incorrect. > > Original issue's description: > > Reland of Injectable Obj-C video codecs (patchset #1 id:1 of https://codereview.webrtc.org/2975963002/ ) > > > > Reason for revert: > > New CL for fixing the issues > > > > Original issue's 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 > > > > R=magjed@webrtc.org > > TBR=tkchin@webrtc.org > > # Skipping CQ checks because original CL landed less than 1 days ago. > > NOPRESUBMIT=true > > NOTREECHECKS=true > > NOTRY=true > > BUG=webrtc:7924 > > > > Review-Url: https://codereview.webrtc.org/2981583002 . > > Cr-Commit-Position: refs/heads/master@{#19002} > > Committed: https://chromium.googlesource.com/external/webrtc/+/a5f1de1e6541de03f944bcbf49be87c01f57a18b > > TBR=magjed@webrtc.org,tkchin@webrtc.org,jtteh@webrtc.org,andersc@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:7924 > > Review-Url: https://codereview.webrtc.org/2979973002 > Cr-Commit-Position: refs/heads/master@{#19004} > Committed: https://chromium.googlesource.com/external/webrtc/+/81d40ee1491d5229c2677cc04b1f40d67c2babef TBR=magjed@webrtc.org,tkchin@webrtc.org,jtteh@webrtc.org,sprang@webrtc.org BUG=webrtc:7924 Review-Url: https://codereview.webrtc.org/2979983002 Cr-Commit-Position: refs/heads/master@{#19005} Committed: https://chromium.googlesource.com/external/webrtc/+/732a3437da4db7b452758b8e1cf26fce0ce3bf65

Patch Set 1 #

Patch Set 2 : Fix buildfile dependencies. #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+1446 lines, -10 lines) Patch
M webrtc/sdk/BUILD.gn View 1 10 chunks +23 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/Common/helpers.h View 1 4 chunks +4 lines, -4 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm View 1 chunk +74 lines, -0 lines 1 comment Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm View 4 chunks +26 lines, -5 lines 1 comment Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCRtpFragmentationHeader.mm View 1 chunk +61 lines, -0 lines 2 comments Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm View 1 chunk +114 lines, -0 lines 5 comments Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h View 1 chunk +57 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm View 1 chunk +262 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm View 1 chunk +1 line, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.h View 1 chunk +39 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.mm View 1 chunk +124 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.h View 1 chunk +41 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.mm View 1 chunk +149 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h View 1 1 chunk +9 lines, -1 line 0 comments Download
A webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h View 1 chunk +137 lines, -0 lines 5 comments Download
A webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h View 1 chunk +36 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h View 1 chunk +47 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/WebRTC.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm View 1 chunk +103 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm View 1 chunk +133 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
andersc
Created Reland of Injectable Obj-C video codecs
3 years, 5 months ago (2017-07-13 14:22:02 UTC) #1
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/2979983002/370001
3 years, 5 months ago (2017-07-13 15:56:20 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:370001) as https://chromium.googlesource.com/external/webrtc/+/732a3437da4db7b452758b8e1cf26fce0ce3bf65
3 years, 5 months ago (2017-07-13 15:59:14 UTC) #11
Chuck
Reviewing for objc api issues per tkchin's request. https://codereview.webrtc.org/2979983002/diff/370001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm (right): https://codereview.webrtc.org/2979983002/diff/370001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm#newcode31 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm:31: - ...
3 years, 5 months ago (2017-07-14 14:57:31 UTC) #13
jtt_webrtc
3 years, 5 months ago (2017-07-15 02:30:09 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:370001) has been created in
https://codereview.webrtc.org/2980173002/ by jtteh@webrtc.org.

The reason for reverting is: Still having problems with no video. Reverting.
Once no video is visible, no video is available from then on even if the callee
app is in the foreground.
.

Powered by Google App Engine
This is Rietveld 408576698