STSVideo

@interface STSVideo : LHDataObject

Video model of StraaS player SDK

  • The video id.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull videoId;

    Swift

    var videoId: UnsafeMutablePointer<Int32>! { get }
  • The id of the account which the resource belongs to.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull accountId;

    Swift

    var accountId: UnsafeMutablePointer<Int32>! { get }
  • The video title.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull title;

    Swift

    var title: UnsafeMutablePointer<Int32>! { get }
  • The video synopsis.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull synopsis;

    Swift

    var synopsis: UnsafeMutablePointer<Int32>! { get }
  • The video transcoding status.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL accomplished;

    Swift

    var accomplished: Int32 { get }
  • The duration of the video.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull duration;

    Swift

    var duration: UnsafeMutablePointer<Int32>! { get }
  • The large size thumbnail of thumbnail_urls.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull posterUrl;

    Swift

    var posterUrl: UnsafeMutablePointer<Int32>! { get }
  • The id of the live event that the video is generated by. If a video is generated by a live event, it would have a corresponding live id. If a video is generated by uploading, liveId would be nil;

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *liveId;

    Swift

    var liveId: UnsafeMutablePointer<Int32>? { get }
  • Indicate if the source is 360-degree streaming or not. equirectangular if the source is 360-degree streaming. flat if not.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull projection;

    Swift

    var projection: UnsafeMutablePointer<Int32>! { get }
  • The total views count. This property is deprecated. Use playCountSum instead.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull viewsCount;

    Swift

    var viewsCount: UnsafeMutablePointer<Int32>! { get }
  • The total viewers count. This property is deprecated and will be removed in a feature release.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull viewersCount;

    Swift

    var viewersCount: UnsafeMutablePointer<Int32>! { get }
  • The total watched duration. This property is deprecated. Use playDurationSum instead.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull timeWatched;

    Swift

    var timeWatched: UnsafeMutablePointer<Int32>! { get }
  • The sum of number of times the media (Live or VOD) played.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull playCountSum;

    Swift

    var playCountSum: UnsafeMutablePointer<Int32>! { get }
  • The play count inherited from related media.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull basePlayCount;

    Swift

    var basePlayCount: UnsafeMutablePointer<Int32>! { get }
  • The sum of play duration of the media (Live or VOD) in seconds.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull playDurationSum;

    Swift

    var playDurationSum: UnsafeMutablePointer<Int32>! { get }
  • The play duration inherited from related media.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull basePlayDuration;

    Swift

    var basePlayDuration: UnsafeMutablePointer<Int32>! { get }
  • The video created time.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull createdAt;

    Swift

    var createdAt: UnsafeMutablePointer<Int32>! { get }
  • The sum of number of times the media (Live or VOD) hit.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull hitCountSum;

    Swift

    var hitCountSum: UnsafeMutablePointer<Int32>! { get }
  • The hit count inherited from related media.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull baseHitCount;

    Swift

    var baseHitCount: UnsafeMutablePointer<Int32>! { get }