#import "OOStream.h"

Instance Methods | |
(NSInteger) - combinedBitrate | |
Get the combined (video+audio) bitrate of this OOStream. More... | |
(instancetype) - initWithUrl:deliveryType: | |
Create a stream for the given URL. More... | |
(instancetype) - initWithDictionary: | |
(instancetype) - initWithAssetDictionary: | |
(OOReturnState) - updateWithDictionary: | |
(NSURL *) - decodedURL | |
Class Methods | |
(BOOL) + is:betterThan: | |
(BOOL) + isPlayable: | |
(BOOL) + areSizeBitrateAndProfilePlayable: | |
(BOOL) + isDeliveryTypePlayable: | |
(OOStream *) + streamFromDictionary: | |
(OOStream *) + streamFromUrl:withType: | |
(OOStream *) + bestStreamFromArray: | |
(BOOL) + containsDeliveryType:inArray: | |
(OOStream *) + streamWithType:fromArray: | |
(void) + setStreamSelector: | |
Set the OOStreamSelector used to select the best stream from an array. More... | |
(void) + resetStreamSelector | |
Reset the OOStreamSelector to the default. More... | |
Protected Attributes | |
NSString * deliveryType | |
The OOStream's delivery type. More... | |
NSString * videoCodec | |
The OOStream's video codec. More... | |
NSString * urlFormat | |
The OOStream's url format. More... | |
NSString * framerate | |
The OOStream's framerate. More... | |
NSInteger videoBitrate | |
The OOStream's video bitrate. More... | |
NSInteger audioBitrate | |
The OOStream's audio bitrate. More... | |
NSInteger height | |
The OOStream's height. More... | |
NSInteger width | |
The OOStream's width. More... | |
NSString * url | |
The OOStream's URL in the format specified by OOStream.urlFormat. More... | |
NSString * aspectRatio | |
The OOStream's URL (Remote Asset only) More... | |
BOOL isLiveStream | |
The OOStream's URL (Remote Asset only) More... | |
Properties | |
NSString * profile | |
The OOStream's encoding profile. More... | |
NSString * drmType | |
If drm protected, The OOStream's drm type. More... | |
NSString * licenseUrl | |
If drm protected, The OOStream's license url. More... | |
NSString * certificateUrl | |
If drm protected, The OOStream's certificate url. More... | |
Detailed Description
Method Documentation
+ (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 | |
- (NSURL *) decodedURL |
- (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 |
Member Data Documentation
|
readnonatomicassignprotected |
The OOStream's URL (Remote Asset only)
|
readnonatomicassignprotected |
The OOStream's audio bitrate.
|
readnonatomicassignprotected |
The OOStream's delivery type.
|
readnonatomicassignprotected |
The OOStream's framerate.
|
readnonatomicassignprotected |
The OOStream's height.
|
readnonatomicassignprotected |
The OOStream's URL (Remote Asset only)
|
readnonatomicassignprotected |
The OOStream's URL in the format specified by OOStream.urlFormat.
|
readnonatomicassignprotected |
The OOStream's url format.
|
readnonatomicassignprotected |
The OOStream's video bitrate.
|
readnonatomicassignprotected |
The OOStream's video codec.
|
readnonatomicassignprotected |
The OOStream's width.
Property Documentation
|
readnonatomicassign |
If drm protected, The OOStream's certificate url.
|
readnonatomicassign |
If drm protected, The OOStream's drm type.
|
readnonatomicassign |
If drm protected, The OOStream's license url.
|
readnonatomicassign |
The OOStream's encoding profile.
The documentation for this class was generated from the following file: