Red5Pro IOS Client SDK

 7.3.0
Core SDK for IOS
R5AdaptiveBitrateController Class Reference

R5AdaptiveBitrateController allows you to dynamically control the bitrate of the publisher on an R5Stream. It updates on a 2 second interval. More...

#import <R5AdaptiveBitrateController.h>

Inherits NSObject.

Instance Methods

(id) - attachToStream:
 Attach the controller to a stream.
 
(void) - stop
 disable the timer that checks conditions to switch quality of stream.
 
(void) - resume
 re-enable the time that checks conditions to switch quality of stream.
 
(void) - close
 disable the adaptive controller. Bitrate will NOT reset on the R5VideoSource of the stream.
 
(int) - getBitrateLevel
 Returns the current bitrate level that the ABR is at.
 
(void) - setBitrateLevel:
 Specify the current level desired to determine whether to upgrade or downgrade quality when the ABR does its next check.
 
(void) - setBitrateLevelAndMaintain:
 Specify the current level desired and disable the timer check. Call :resume to start timer check again.
 
(NSArray *) - getBitrateLevelValues
 Returns the list of bitrate values for the levels used in determinig quality of stream.
 
(void) - setBitrateLevelValues:
 Explicitly define the set of bitrate levels. USE WITH CAUTION.
 
(void) - setUpdateDelay:
 Set update frequency of the controller in seconds.
 

Properties

BOOL requiresVideo
 Require video to be streamed even if network quality is degraded.
 

Detailed Description

R5AdaptiveBitrateController allows you to dynamically control the bitrate of the publisher on an R5Stream. It updates on a 2 second interval.


The documentation for this class was generated from the following file: