BMPSourceOptions

Objective-C

@interface BMPSourceOptions : NSObject <NSCopying, BMPJsonable>
/**
 The position where the stream should be started. Number can be positive or negative depending on the used TimelineReferencePoint.
 Invalid numbers will be corrected according to the stream boundaries.
 For VOD this is applied at the time the stream is loaded, for LIVE when the playback starts.

 Default: NAN
 */
@property (nonatomic) NSTimeInterval startOffset;
/**
 Timeline reference point to calculate BMPSourceOptions.startOffset from.

 Default for live: BMPTimelineReferencePointEnd
 Default for VOD: BMPTimelineReferencePointStart
 */
@property (nonatomic) BMPTimelineReferencePoint startOffsetTimelineReference;

- (instancetype)initWithStartOffset:(NSTimeInterval)startOffset
  startOffsetTimelineReferencePoint:(BMPTimelineReferencePoint)startOffsetTimelineReference NS_DESIGNATED_INITIALIZER;
@end

Swift

class SourceOptions : NSObject, NSCopying, BMPJsonable

Undocumented

  • The position where the stream should be started. Number can be positive or negative depending on the used TimelineReferencePoint. Invalid numbers will be corrected according to the stream boundaries. For VOD this is applied at the time the stream is loaded, for LIVE when the playback starts.

    Default: NAN

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval startOffset;

    Swift

    var startOffset: TimeInterval { get set }
  • Timeline reference point to calculate BMPSourceOptions.startOffset from.

    Default for live: BMPTimelineReferencePointEnd Default for VOD: BMPTimelineReferencePointStart

    Declaration

    Objective-C

    @property (nonatomic) BMPTimelineReferencePoint startOffsetTimelineReference;

    Swift

    var startOffsetTimelineReference: BMPTimelineReferencePoint { get set }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithStartOffset:(NSTimeInterval)startOffset
      startOffsetTimelineReferencePoint:(BMPTimelineReferencePoint)startOffsetTimelineReference NS_DESIGNATED_INITIALIZER;

    Swift

    init(startOffset: TimeInterval, startOffsetTimelineReferencePoint startOffsetTimelineReference: BMPTimelineReferencePoint)