OOStream.
More...
#import "OOStream.h"
+ (BOOL) areSizeBitrateAndProfilePlayable: |
|
(OOStream *) |
stream |
|
+ (OOStream *) bestStreamFromArray: |
|
(NSArray *) |
streams |
|
- (NSInteger) combinedBitrate |
|
|
|
Get the combined (video+audio) bitrate of this OOStream.
- Returns
- an NSNumber containing the combined bitrate
+ (BOOL) containsDeliveryType: |
|
(NSString *) |
type |
inArray: |
|
(NSArray *) |
streams |
|
|
| |
- (instancetype) initWithAssetDictionary: |
|
(NSDictionary *) |
data |
|
- (instancetype) initWithDictionary: |
|
(NSDictionary *) |
data |
|
- (instancetype) initWithUrl: |
|
(NSURL *) |
theUrl |
deliveryType: |
|
(NSString *) |
theType |
|
|
| |
Create a stream for the given URL.
- Parameters
-
[in] | theUrl | an NSURL pointing to an asset for streaming. |
[in] | theType | see OOConstants.h e.g. OO_DELIVERY_TYPE_HLS. |
+ (BOOL) isDeliveryTypePlayable: |
|
(OOStream *) |
stream |
|
+ (BOOL) isPlayable: |
|
(OOStream *) |
stream |
|
+ (void) resetStreamSelector |
|
|
|
Reset the OOStreamSelector to the default.
+ (void) setStreamSelector: |
|
(OOStreamSelector) |
selector |
|
Set the OOStreamSelector used to select the best stream from an array.
- Parameters
-
[in] | selector | the OOStreamSelector to use |
+ (OOStream *) streamFromDictionary: |
|
(NSDictionary *) |
data |
|
+ (OOStream *) streamFromUrl: |
|
(NSURL *) |
url |
withType: |
|
(NSString *) |
type |
|
|
| |
+ (OOStream *) streamWithType: |
|
(NSString *) |
type |
fromArray: |
|
(NSArray *) |
streams |
|
|
| |
- (OOReturnState) updateWithDictionary: |
|
(NSDictionary *) |
data |
|
- (NSString *) aspectRatio |
|
readnonatomicassignprotected |
- (NSInteger) audioBitrate |
|
readnonatomicassignprotected |
- (NSString *) deliveryType |
|
readnonatomicassignprotected |
|
readnonatomicassignprotected |
|
readnonatomicassignprotected |
|
readnonatomicassignprotected |
|
readnonatomicassignprotected |
|
readnonatomicassignprotected |
- (NSInteger) videoBitrate |
|
readnonatomicassignprotected |
- (NSString *) videoCodec |
|
readnonatomicassignprotected |
|
readnonatomicassignprotected |
- (NSString*) certificateUrl |
|
readnonatomicassign |
If drm protected, The OOStream's certificate url.
If drm protected, The OOStream's drm type.
If drm protected, The OOStream's license url.
The documentation for this class was generated from the following file: