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

Issue 3001183002: Make a friendlier RTCVideoCodecInfo initializer. (Closed)

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

Description

Make a friendlier RTCVideoCodecInfo initializer for when only name and parameters are interesting. Since this is used by users when implementing injectable Obj-C video codecs, the API where the unused payload is required is unnecessarily confusing. Also make the codec parameters optional. BUG=None Review-Url: https://codereview.webrtc.org/3001183002 Cr-Commit-Position: refs/heads/master@{#19411} Committed: https://chromium.googlesource.com/external/webrtc/+/81bc523f5d7eab43796373954b2aaf17fa65ad35

Patch Set 1 #

Patch Set 2 : Mark -init as unavailable. #

Total comments: 2

Patch Set 3 : Make initializer with payload id private. #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -19 lines) Patch
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm View 1 2 2 chunks +14 lines, -5 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm View 3 chunks +3 lines, -7 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M webrtc/sdk/objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/sdk/objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 23 (18 generated)
andersc
3 years, 4 months ago (2017-08-18 11:46:43 UTC) #3
kthelgason
lgtm, boat it! https://codereview.webrtc.org/3001183002/diff/20001/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h File webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h (right): https://codereview.webrtc.org/3001183002/diff/20001/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h#newcode107 webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h:107: parameters:(NSDictionary<NSString *, NSString *> *)parameters Are ...
3 years, 4 months ago (2017-08-18 12:25:44 UTC) #10
andersc
https://codereview.webrtc.org/3001183002/diff/20001/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h File webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h (right): https://codereview.webrtc.org/3001183002/diff/20001/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h#newcode107 webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodec.h:107: parameters:(NSDictionary<NSString *, NSString *> *)parameters On 2017/08/18 12:25:44, kthelgason ...
3 years, 4 months ago (2017-08-18 13:30:37 UTC) #15
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/3001183002/60001
3 years, 4 months ago (2017-08-18 13:31:47 UTC) #20
commit-bot: I haz the power
3 years, 4 months ago (2017-08-18 13:34:20 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/81bc523f5d7eab43796373954...

Powered by Google App Engine
This is Rietveld 408576698