Description
LckStreamingController is a Unity MonoBehaviour that guides users through the steps required before they can live stream with LIV Hub: logging in, verifying their subscription, and confirming stream configuration. It runs as a state machine that advances through each check automatically, then enables the stream toggle once everything is validated.
This class is a reference implementation — you can use it directly or extend it to build custom UI/UX flows. At runtime it integrates with ILckService for starting/stopping streams and ILckCore for authentication and user status checks.
Usage
UseLckStreamingController to manage the full streaming setup flow. Attach it to a GameObject, connect a LckNotificationController for user messages, and wire your stream button to StreamingButtonToggled().
CheckCurrentState() when the user opens the streaming UI to kick off the validation state machine.
References
Properties
Methods
See Also
- ILckService — Service interface used to start/stop streams
- ILckCore — Core interface used for authentication and subscription checks
- LckNotificationController — Displays login codes, errors, and configuration prompts during the flow
- LckService — Default ILckService implementation with streaming methods