CISContentMetadata

@interface CISContentMetadata : NSObject <NSCopying>

Encapsulates all content metadata for a particular video asset. This class instance is required while creating a video session.
The instance of CISContentMetadata will be used while updating content metadata for a video session.

  • A unique identifier for the content, preferably human-readable.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *assetName;

    Swift

    var assetName: String! { get set }
  • A string-to-string dictionary of custom metadata.

    Declaration

    Objective-C

    @property (strong, nonatomic) NSMutableDictionary<NSString *, NSString *> *custom;

    Swift

    var custom: NSMutableDictionary! { get set }
  • Deprecated

    Default bitrate to report for this content.
    Use for single-bitrate content when you know the bitrate ahead of time. DO NOT USE DEPRECATED

    Declaration

    Objective-C

    @property (nonatomic) NSInteger defaultBitrateKbps;

    Swift

    var defaultBitrateKbps: Int { get set }
  • Default video server resource to report for this content.
    Examples: EDGECAST, AKAMAI-FREE, LEVEL3-PREMIUM…

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *defaultResource;

    Swift

    var defaultResource: String! { get set }
  • A string identifying the viewer.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *viewerId;

    Swift

    var viewerId: String! { get set }
  • A string identifying the current application.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *applicationName;

    Swift

    var applicationName: String! { get set }
  • Required the URL from where the video content will be downloaded.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *streamUrl;

    Swift

    var streamUrl: String! { get set }
  • Required the mode of streaming for this session.

    Declaration

    Objective-C

    @property (nonatomic) StreamType streamType;

    Swift

    var streamType: StreamType { get set }
  • Duration of the video content, in seconds.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger duration;

    Swift

    var duration: Int { get set }
  • Video server cdn to report for the content.
    Use when the video server resource cannot be directly inferred from ContentMetadata.streamUrl Examples: AKAMAI, LEVEL3… DO NOT USE DEPRECATED

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *cdnName;

    Swift

    var cdnName: String! { get set }
  • Duration of the video content, in seconds.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger encodedFramerate;

    Swift

    var encodedFramerate: Int { get set }
  • Duration of the video content, in seconds.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isOfflinePlayback;

    Swift

    var isOfflinePlayback: Bool { get set }