ObjC: Add implementationName for injectable codecs

BUG=webrtc:7924

Review-Url: https://codereview.webrtc.org/2987253003
Cr-Commit-Position: refs/heads/master@{#19213}
This commit is contained in:
magjed
2017-08-02 05:26:28 -07:00
committed by Commit Bot
parent c5fb4683e5
commit 5805c9dbda
4 changed files with 24 additions and 6 deletions

View File

@ -128,14 +128,13 @@ RTC_EXPORT
codecSpecificInfo:(id<RTCCodecSpecificInfo>)info
frameTypes:(NSArray<NSNumber *> *)frameTypes;
- (BOOL)setBitrate:(uint32_t)bitrateKbit framerate:(uint32_t)framerate;
- (NSString *)implementationName;
/** Returns QP scaling settings for encoder. The quality scaler adjusts the resolution in order to
* keep the QP from the encoded images within the given range. Returning nil from this function
* disables quality scaling. */
- (RTCVideoEncoderQpThresholds *)scalingSettings;
// TODO(andersc): Add implementationName method.
@end
/** Protocol for decoder implementations. */
@ -152,8 +151,7 @@ RTC_EXPORT
fragmentationHeader:(RTCRtpFragmentationHeader *)fragmentationHeader
codecSpecificInfo:(__nullable id<RTCCodecSpecificInfo>)info
renderTimeMs:(int64_t)renderTimeMs;
// TODO(andersc): Add implementationName method.
- (NSString *)implementationName;
@end