diff --git a/android/android/app/src/main/java/com/ariacockpit/PcmStreamPlayerModule.kt b/android/android/app/src/main/java/com/ariacockpit/PcmStreamPlayerModule.kt index fe2fef6..2815667 100644 --- a/android/android/app/src/main/java/com/ariacockpit/PcmStreamPlayerModule.kt +++ b/android/android/app/src/main/java/com/ariacockpit/PcmStreamPlayerModule.kt @@ -119,8 +119,13 @@ class PcmStreamPlayerModule(reactContext: ReactApplicationContext) : ReactContex if (endRequested) { // Falls wir vor Pre-Roll enden (kurzer Text): trotzdem abspielen if (!playbackStarted) { - try { t.play() } catch (_: Exception) {} - playbackStarted = true + try { + t.play() + playbackStarted = true + Log.i(TAG, "Playback gestartet VOR Pre-Roll (kurzer Text, ${bytesBuffered}B gepuffert)") + } catch (e: Exception) { + Log.w(TAG, "play() fallback failed: ${e.message}") + } } return@Thread }