Step2. Starting Shoplive Player

    Step2. Starting Shoplive Player


    Article summary

    Initialize the Shoplive iOS SDK using the access key provided.

    ShopLive.configure(with: "AccessKey")


    Play a campaign

    You can play and broadcast a campaign using the campaign key.

    ShopLive.play(data: .init(campaignKey:"CampaignKey"))


    Preview a campaign

    You can start to play a muted campaign in a PIP (Picture-in-Picture) mode within the app.

    ShopLive.preview(data: .init(campaignKey :"CampaignKey"), completion: nil)