IMAVideoStitcherLiveStreamRequest
@interface IMAVideoStitcherLiveStreamRequest : IMAPodStreamRequestData object describing a stream request for a Google video stitcher live serving stream.
-
The live stream ID for the stream.
Declaration
Swift
var liveStreamEventID: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull liveStreamEventID; -
The region for the stream.
Declaration
Swift
var region: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull region; -
The project number for the stream.
Declaration
Swift
var projectNumber: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull projectNumber; -
The OAuth Token for the stream.
Declaration
Swift
var oAuthToken: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull OAuthToken; -
The session options are used to set Video Stitcher-specific parameters for this Video Stitcher stream request.
Declaration
Swift
var videoStitcherSessionOptions: [String : Any]? { get set }Objective-C
@property (nonatomic, copy, nullable) NSDictionary<NSString *, id> *videoStitcherSessionOptions; -
-initWithLiveStreamEventID:region:projectNumber:OAuthToken:networkCode:customAssetKey:adDisplayContainer:videoDisplay:userContext:videoStitcherSessionOptions:
Initializes a stream request instance with the given network code and custom asset key. Uses the given ad display container to display the stream.
Declaration
Swift
init(liveStreamEventID: String, region: String, projectNumber: String, oAuthToken OAuthToken: String, networkCode: String, customAssetKey: String, adDisplayContainer: IMAAdDisplayContainer, videoDisplay: any IMAVideoDisplay, userContext: Any?, videoStitcherSessionOptions: [String : Any]? = nil)Objective-C
- (nonnull instancetype) initWithLiveStreamEventID:(nonnull NSString *)liveStreamEventID region:(nonnull NSString *)region projectNumber:(nonnull NSString *)projectNumber OAuthToken:(nonnull NSString *)OAuthToken networkCode:(nonnull NSString *)networkCode customAssetKey:(nonnull NSString *)customAssetKey adDisplayContainer: (nonnull IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(nonnull id<IMAVideoDisplay>)videoDisplay userContext:(nullable id)userContext videoStitcherSessionOptions: (nullable NSDictionary<NSString *, id> *)videoStitcherSessionOptions;Parameters
liveStreamEventIDThe live stream ID for the stream.
regionThe region for the stream.
projectNumberThe project number for the stream.
OAuthTokenThe OAuth Token for the stream.
networkCodeThe network code for the stream.
customAssetKeyThe asset key for the stream.
adDisplayContainerThe IMAAdDisplayContainer for rendering the ad UI.
videoDisplayThe IMAVideoDisplay where the stream will be played.
userContextThe user context for tracking requests (optional)
videoStitcherSessionOptionslimited set of cloud session overrides (optional)
Return Value
The IMAVideoStitcherLiveStreamRequest instance.
-
-initWithLiveStreamEventID:region:projectNumber:OAuthToken:networkCode:customAssetKey:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:videoStitcherSessionOptions:
Initializes a stream request instance with the given network code and custom asset key. Uses the given ad display container to display the stream. Uses the picture in picture proxy to track PIP events.
Declaration
Swift
init(liveStreamEventID: String, region: String, projectNumber: String, oAuthToken OAuthToken: String, networkCode: String, customAssetKey: String, adDisplayContainer: IMAAdDisplayContainer, videoDisplay: any IMAVideoDisplay, pictureInPictureProxy: IMAPictureInPictureProxy?, userContext: Any?, videoStitcherSessionOptions: [String : Any]? = nil)Objective-C
- (nonnull instancetype) initWithLiveStreamEventID:(nonnull NSString *)liveStreamEventID region:(nonnull NSString *)region projectNumber:(nonnull NSString *)projectNumber OAuthToken:(nonnull NSString *)OAuthToken networkCode:(nonnull NSString *)networkCode customAssetKey:(nonnull NSString *)customAssetKey adDisplayContainer: (nonnull IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(nonnull id<IMAVideoDisplay>)videoDisplay pictureInPictureProxy: (nullable IMAPictureInPictureProxy *)pictureInPictureProxy userContext:(nullable id)userContext videoStitcherSessionOptions: (nullable NSDictionary<NSString *, id> *)videoStitcherSessionOptions;Parameters
liveStreamEventIDThe live stream ID for the stream.
regionThe region for the stream.
projectNumberThe project number for the stream.
OAuthTokenThe OAuth Token for the stream.
networkCodeThe network code for the stream.
customAssetKeyThe asset key for the stream.
adDisplayContainerThe IMAAdDisplayContainer for rendering the ad UI.
videoDisplayThe IMAVideoDisplay where the stream will be played.
pictureInPictureProxyThe IMAPictureInPictureProxy for tracking PIP events.
userContextThe user context for tracking requests (optional)
videoStitcherSessionOptionslimited set of cloud session overrides (optional)
Return Value
The IMAVideoStitcherLiveStreamRequest instance.