chore(deps): upgrade to StreamPack 3.1.0

This commit is contained in:
ThibaultBee
2026-01-17 15:27:16 +01:00
parent 5a0104a72e
commit 4e4e34ddbf
2 changed files with 2 additions and 3 deletions

View File

@@ -226,9 +226,8 @@ class MainActivity : AppCompatActivity() {
} }
private fun setStreamerView() { private fun setStreamerView() {
binding.preview.streamer = streamer // Bind the streamer to the preview
lifecycleScope.launch { lifecycleScope.launch {
binding.preview.startPreview() binding.preview.setVideoSourceProvider(streamer) // Bind the streamer to the preview
} }
} }

View File

@@ -2,7 +2,7 @@
buildscript { buildscript {
ext { ext {
// Upgrade StreamPack version here // Upgrade StreamPack version here
streampackVersion = '3.0.2' streampackVersion = '3.1.0'
} }
} }