Open GiddyNaya opened 1 year ago
I'm trying to add some extra information to the stream so I can retrieve from the server but I can't find any example on how to do this via the initialization.
How can I add extra_info to this stream, example photo_url: model.photo?
photo_url: model.photo
SafeArea( child: ZegoUIKitPrebuiltLiveStreaming( appID: zegoCloudAppId, appSign: zegoCloudAppSign, userID: model?.userId ?? "", userName: model?.username ?? "", liveID: model?.liveId ?? "", config: model?.isHost == true ? ZegoUIKitPrebuiltLiveStreamingConfig.host() : ZegoUIKitPrebuiltLiveStreamingConfig.audience() // ..onLiveStreamingEnded = ((ended) => {if (ended) finish(context)}) ..topMenuBarConfig.buttons = [ ZegoMenuBarButtonName.minimizingButton, ZegoMenuBarButtonName.leaveButton, ], )
I'm trying to add some extra information to the stream so I can retrieve from the server but I can't find any example on how to do this via the initialization.
How can I add extra_info to this stream, example
photo_url: model.photo
?