Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
57.2.16123 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey committed Feb 6, 2017
1 parent 6060d19 commit d1cf997
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 7 deletions.
10 changes: 10 additions & 0 deletions WebRTC.framework/Headers/RTCAVFoundationVideoSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ RTC_EXPORT

- (instancetype)init NS_UNAVAILABLE;

/**
* Calling this function will cause frames to be scaled down to the
* requested resolution. Also, frames will be cropped to match the
* requested aspect ratio, and frames will be dropped to match the
* requested fps. The requested aspect ratio is orientation agnostic and
* will be adjusted to maintain the input orientation, so it doesn't
* matter if e.g. 1280x720 or 720x1280 is requested.
*/
- (void)adaptOutputFormatToWidth:(int)width height:(int)height fps:(int)fps;

/** Returns whether rear-facing camera is available for use. */
@property(nonatomic, readonly) BOOL canUseBackCamera;

Expand Down
1 change: 1 addition & 0 deletions WebRTC.framework/Headers/RTCConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ RTC_EXPORT
@property(nonatomic, assign)
RTCContinualGatheringPolicy continualGatheringPolicy;
@property(nonatomic, assign) int audioJitterBufferMaxPackets;
@property(nonatomic, assign) BOOL audioJitterBufferFastAccelerate;
@property(nonatomic, assign) int iceConnectionReceivingTimeout;
@property(nonatomic, assign) int iceBackupCandidatePairPingInterval;

Expand Down
24 changes: 18 additions & 6 deletions WebRTC.framework/Headers/RTCFieldTrials.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,24 @@

#import <WebRTC/RTCMacros.h>

typedef NS_OPTIONS(NSUInteger, RTCFieldTrialOptions) {
RTCFieldTrialOptionsNone = 0,
RTCFieldTrialOptionsImprovedBitrateEstimate = 1 << 0,
};
/** The only valid value for the following if set is kRTCFieldTrialEnabledValue. */
RTC_EXTERN NSString * const kRTCFieldTrialAudioSendSideBweKey;
RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03Key;
RTC_EXTERN NSString * const kRTCFieldTrialImprovedBitrateEstimateKey;
RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey;

/** Must be called before any other call into WebRTC. See:
/** The valid value for field trials above. */
RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue;

/** Use a string returned by RTCFieldTrialTrendlineFilterValue as the value. */
RTC_EXTERN NSString * const kRTCFieldTrialTrendlineFilterKey;
/** Returns a valid value for kRTCFieldTrialTrendlineFilterKey. */
RTC_EXTERN NSString *RTCFieldTrialTrendlineFilterValue(
size_t windowSize, double smoothingCoeff, double thresholdGain);

/** Initialize field trials using a dictionary mapping field trial keys to their values. See above
* for valid keys and values.
* Must be called before any other call into WebRTC. See:
* webrtc/system_wrappers/include/field_trial_default.h
*/
RTC_EXTERN void RTCInitFieldTrials(RTCFieldTrialOptions options);
RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *> *fieldTrials);
3 changes: 3 additions & 0 deletions WebRTC.framework/Headers/RTCRtpEncodingParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ RTC_EXPORT
*/
@property(nonatomic, copy, nullable) NSNumber *maxBitrateBps;

/** The SSRC being used by this encoding. */
@property(nonatomic, readonly, nullable) NSNumber *ssrc;

- (instancetype)init NS_DESIGNATED_INITIALIZER;

@end
Expand Down
Binary file modified WebRTC.framework/WebRTC
Binary file not shown.
2 changes: 1 addition & 1 deletion WebRTC.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "WebRTC"
s.version = "56.12.15101"
s.version = "57.2.16123"
s.summary = "WebRTC SDK for iOS"
s.description = <<-DESC
WebRTC is a free, open project that provides browsers and mobile
Expand Down

0 comments on commit d1cf997

Please sign in to comment.