Skip to content

2.5.0

Choose a tag to compare

@AnthonyWu-kkstream AnthonyWu-kkstream released this 29 May 06:58
· 6 commits to main since this release
95feed3

Feature

  • Automatic fallback to software encoder:
    When hardware encoder preparation fails, the system now automatically switches to software encoder.
    This change is exposed via a new StreamState in the streamIngest.streamStatus Flow.

    Usage example:

    streamIngest.streamStatus
        .onEach { streamState ->
            when (streamState) {
                is StreamState.VIDEO_ENCODER_AUTO_SWITCHED_TO_SOFTWARE -> {
                    // Video encoder switched to software.
                }
            }
        }.launchIn(lifecycleScope)
    

Refactor

  • Renamed entity package to model; all related objects have been moved accordingly for better semantic clarity.