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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eIMAVideoStitcherLiveStreamRequest\u003c/code\u003e is a data object that encapsulates the information needed to request a Google Video Stitcher live stream.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eliveStreamEventID\u003c/code\u003e, \u003ccode\u003eregion\u003c/code\u003e, \u003ccode\u003eprojectNumber\u003c/code\u003e, and \u003ccode\u003eOAuthToken\u003c/code\u003e to identify and authorize the stream.\u003c/p\u003e\n"],["\u003cp\u003eThe request object also specifies where ads should be displayed (\u003ccode\u003eadDisplayContainer\u003c/code\u003e) and where the video content should be rendered (\u003ccode\u003evideoDisplay\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eYou can initialize a \u003ccode\u003eIMAVideoStitcherLiveStreamRequest\u003c/code\u003e with the necessary stream details and optional parameters like user context and session options.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIMAVideoStitcherLiveStreamRequest\u003c/code\u003e is used to initiate playback of a live stream from Google Video Stitcher, incorporating ad serving and playback controls.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAVideoStitcherLiveStreamRequest\n=================================\n\n @interface IMAVideoStitcherLiveStreamRequest : ../Classes/IMAPodStreamRequest.html\n\nData object describing a stream request for a Google video stitcher live serving stream.\n- `\n ``\n ``\n `\n\n ### [liveStreamEventID](#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(py)liveStreamEventID)\n\n `\n ` \n The live stream ID for the stream. \n\n #### Declaration\n\n Swift \n\n var liveStreamEventID: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull liveStreamEventID;\n\n- `\n ``\n ``\n `\n\n ### [region](#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(py)region)\n\n `\n ` \n The region for the stream. \n\n #### Declaration\n\n Swift \n\n var region: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull region;\n\n- `\n ``\n ``\n `\n\n ### [projectNumber](#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(py)projectNumber)\n\n `\n ` \n The project number for the stream. \n\n #### Declaration\n\n Swift \n\n var projectNumber: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull projectNumber;\n\n- `\n ``\n ``\n `\n\n ### [OAuthToken](#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(py)OAuthToken)\n\n `\n ` \n The OAuth Token for the stream. \n\n #### Declaration\n\n Swift \n\n var oAuthToken: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull OAuthToken;\n\n- `\n ``\n ``\n `\n\n ### [videoStitcherSessionOptions](#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(py)videoStitcherSessionOptions)\n\n `\n ` \n The session options are used to set Video Stitcher-specific parameters\n for this Video Stitcher stream request. \n\n #### Declaration\n\n Swift \n\n var videoStitcherSessionOptions: [String : Any]? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) NSDictionary\u003cNSString *, id\u003e *videoStitcherSessionOptions;\n\n- `\n ``\n ``\n `\n\n ### [-initWithLiveStreamEventID:region:projectNumber:OAuthToken:networkCode:customAssetKey:adDisplayContainer:videoDisplay:userContext:videoStitcherSessionOptions:](#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(im)initWithLiveStreamEventID:region:projectNumber:OAuthToken:networkCode:customAssetKey:adDisplayContainer:videoDisplay:userContext:videoStitcherSessionOptions:)\n\n `\n ` \n Initializes a stream request instance with the given network code and custom\n asset key. Uses the given ad display container to display the stream. \n\n #### Declaration\n\n Swift \n\n init(liveStreamEventID: String, region: String, projectNumber: String, oAuthToken ../Classes/IMAVideoStitcherLiveStreamRequest.html#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(py)OAuthToken: String, networkCode: String, customAssetKey: String, adDisplayContainer: ../Classes/IMAAdDisplayContainer.html, videoDisplay: any ../Protocols/IMAVideoDisplay.html, userContext: Any?, videoStitcherSessionOptions: [String : Any]? = nil)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithLiveStreamEventID:(nonnull NSString *)liveStreamEventID\n region:(nonnull NSString *)region\n projectNumber:(nonnull NSString *)projectNumber\n OAuthToken:(nonnull NSString *)OAuthToken\n networkCode:(nonnull NSString *)networkCode\n customAssetKey:(nonnull NSString *)customAssetKey\n adDisplayContainer:\n (nonnull ../Classes/IMAAdDisplayContainer.html *)adDisplayContainer\n videoDisplay:(nonnull id\u003c../Protocols/IMAVideoDisplay.html\u003e)videoDisplay\n userContext:(nullable id)userContext\n videoStitcherSessionOptions:\n (nullable NSDictionary\u003cNSString *, id\u003e *)videoStitcherSessionOptions;\n\n #### Parameters\n\n |-------------------------------------|------------------------------------------------------|\n | ` `*liveStreamEventID*` ` | The live stream ID for the stream. |\n | ` `*region*` ` | The region for the stream. |\n | ` `*projectNumber*` ` | The project number for the stream. |\n | ` `*OAuthToken*` ` | The OAuth Token for the stream. |\n | ` `*networkCode*` ` | The network code for the stream. |\n | ` `*customAssetKey*` ` | The asset key for the stream. |\n | ` `*adDisplayContainer*` ` | The IMAAdDisplayContainer for rendering the ad UI. |\n | ` `*videoDisplay*` ` | The IMAVideoDisplay where the stream will be played. |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n | ` `*videoStitcherSessionOptions*` ` | limited set of cloud session overrides (optional) |\n\n #### Return Value\n\n The IMAVideoStitcherLiveStreamRequest instance.\n- `\n ``\n ``\n `\n\n ### [-initWithLiveStreamEventID:region:projectNumber:OAuthToken:networkCode:customAssetKey:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:videoStitcherSessionOptions:](#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(im)initWithLiveStreamEventID:region:projectNumber:OAuthToken:networkCode:customAssetKey:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:videoStitcherSessionOptions:)\n\n `\n ` \n Initializes a stream request instance with the given network code and custom\n asset key. Uses the given ad display container to display the stream. Uses the picture in picture\n proxy to track PIP events. \n\n #### Declaration\n\n Swift \n\n init(liveStreamEventID: String, region: String, projectNumber: String, oAuthToken ../Classes/IMAVideoStitcherLiveStreamRequest.html#/c:objc(cs)IMAVideoStitcherLiveStreamRequest(py)OAuthToken: String, networkCode: String, customAssetKey: String, adDisplayContainer: ../Classes/IMAAdDisplayContainer.html, videoDisplay: any ../Protocols/IMAVideoDisplay.html, pictureInPictureProxy: ../Classes/IMAPictureInPictureProxy.html?, userContext: Any?, videoStitcherSessionOptions: [String : Any]? = nil)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithLiveStreamEventID:(nonnull NSString *)liveStreamEventID\n region:(nonnull NSString *)region\n projectNumber:(nonnull NSString *)projectNumber\n OAuthToken:(nonnull NSString *)OAuthToken\n networkCode:(nonnull NSString *)networkCode\n customAssetKey:(nonnull NSString *)customAssetKey\n adDisplayContainer:\n (nonnull ../Classes/IMAAdDisplayContainer.html *)adDisplayContainer\n videoDisplay:(nonnull id\u003c../Protocols/IMAVideoDisplay.html\u003e)videoDisplay\n pictureInPictureProxy:\n (nullable ../Classes/IMAPictureInPictureProxy.html *)pictureInPictureProxy\n userContext:(nullable id)userContext\n videoStitcherSessionOptions:\n (nullable NSDictionary\u003cNSString *, id\u003e *)videoStitcherSessionOptions;\n\n #### Parameters\n\n |-------------------------------------|-------------------------------------------------------|\n | ` `*liveStreamEventID*` ` | The live stream ID for the stream. |\n | ` `*region*` ` | The region for the stream. |\n | ` `*projectNumber*` ` | The project number for the stream. |\n | ` `*OAuthToken*` ` | The OAuth Token for the stream. |\n | ` `*networkCode*` ` | The network code for the stream. |\n | ` `*customAssetKey*` ` | The asset key for the stream. |\n | ` `*adDisplayContainer*` ` | The IMAAdDisplayContainer for rendering the ad UI. |\n | ` `*videoDisplay*` ` | The IMAVideoDisplay where the stream will be played. |\n | ` `*pictureInPictureProxy*` ` | The IMAPictureInPictureProxy for tracking PIP events. |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n | ` `*videoStitcherSessionOptions*` ` | limited set of cloud session overrides (optional) |\n\n #### Return Value\n\n The IMAVideoStitcherLiveStreamRequest instance."]]