ConvivaContentInfo

@interface ConvivaContentInfo : NSObject <NSCopying>

@}

  • 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 identifying the CDN used to stream video.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *cdnName;

    Swift

    var cdnName: String! { get set }
  • A set of key-value pairs used in resource selection and policy evaluation

    Declaration

    Objective-C

    @property (strong, nonatomic) NSMutableDictionary *tags;

    Swift

    var tags: NSMutableDictionary! { get set }
  • Set to true if the session includes live content, and false otherwise.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isLive;

    Swift

    var isLive: Bool { get set }
  • The URL from which the video is loaded.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *streamUrl;

    Swift

    var streamUrl: String! { get set }
  • A string identifying the viewer and is optional.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *viewerId;

    Swift

    var viewerId: String! { get set }
  • A string identifying the player in use, preferably human-readable.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *playerName;

    Swift

    var playerName: String! { get set }
  • @brief The resource name used when the streamer does not itself know the resource being played.

    Note

    If this is null, then the value of cdnName is used for reporting.

    Declaration

    Objective-C

    @property (copy, nonatomic) NSString *resource;

    Swift

    var resource: String! { get set }
  • An integer identifying the content length

    Declaration

    Objective-C

    @property (nonatomic) NSInteger contentLength;

    Swift

    var contentLength: Int { get set }
  • An integer identifying the encodedframe rate

    Declaration

    Objective-C

    @property (nonatomic) NSInteger encodedFramerate;

    Swift

    var encodedFramerate: Int { get set }
  • Deprecated

    @brief Timestamp when ConvivaContentInfo was instantiated @deprecated Not used

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSTimeInterval timestamp;

    Swift

    var timestamp: TimeInterval { get }
  • Set to true if the session Offline video, and false otherwise.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isOfflinePlayback;

    Swift

    var isOfflinePlayback: Bool { get set }
  • @brief Create a new ConvivaContentInfo with specified assetName.

    Note

    Missing tags parameter

    Declaration

    Objective-C

    + (id)createInfoForLightSessionWithAssetName:(NSString *)assetName;

    Swift

    class func createInfoForLightSession(withAssetName assetName: String!) -> Any!
  • Undocumented

    Declaration

    Objective-C

    - (CISContentMetadata*) toCISContentMetadata;

    Swift

    func toCISContentMetadata() -> CISContentMetadata!