AmityStreamBroadcaster. You will need to import
AmityLiveVideoBroadcastKit.frameworkinto your app.
AmityStreamBroadcasterrequires the following permissions to work properly.
AmityStreamBroadcaster, please make sure these permissions are already granted.
NSCameraUsageDescriptionto your app's
NSMicrophoneUsageDescriptionto your app's
AVCaptureDevice.requestAccess(for: .video, completion: ...)
AmityStreamBroadcasterConfiguration. This configuration will be applied for the next live session.
AmityStreamBroadcasterStaterepresents all the possible states.
.idleindicates a state of stream in an idle state.
.connectingindicates a state of stream that it's connecting to the stream server.
.connectedindicates a state of stream that it's connected to the stream server.
.disconnectedindicates a status of stream that it's disconnected.