OOStream. More...

#import "OOStream.h"

+ Inheritance diagram for OOStream:

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

OOStream.

OOStream.h in OoyalaSDK

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]theUrlan NSURL pointing to an asset for streaming.
[in]theTypesee OOConstants.h e.g. OO_DELIVERY_TYPE_HLS.
+ (BOOL) is: (OOStream *)  stream
betterThan: (OOStream *)  better 
+ (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]selectorthe 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

- (NSString *) aspectRatio
readnonatomicassignprotected

The OOStream's URL (Remote Asset only)

- (NSInteger) audioBitrate
readnonatomicassignprotected

The OOStream's audio bitrate.

- (NSString *) deliveryType
readnonatomicassignprotected

The OOStream's delivery type.

- (NSString *) framerate
readnonatomicassignprotected

The OOStream's framerate.

- (NSInteger) height
readnonatomicassignprotected

The OOStream's height.

- (BOOL) isLiveStream
readnonatomicassignprotected

The OOStream's URL (Remote Asset only)

- (NSString *) url
readnonatomicassignprotected

The OOStream's URL in the format specified by OOStream.urlFormat.

- (NSString *) urlFormat
readnonatomicassignprotected

The OOStream's url format.

- (NSInteger) videoBitrate
readnonatomicassignprotected

The OOStream's video bitrate.

- (NSString *) videoCodec
readnonatomicassignprotected

The OOStream's video codec.

- (NSInteger) width
readnonatomicassignprotected

The OOStream's width.

Property Documentation

- (NSString*) certificateUrl
readnonatomicassign

If drm protected, The OOStream's certificate url.

- (NSString*) drmType
readnonatomicassign

If drm protected, The OOStream's drm type.

- (NSString*) licenseUrl
readnonatomicassign

If drm protected, The OOStream's license url.

- (NSString*) profile
readnonatomicassign

The OOStream's encoding profile.


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