Skip to content

feat(debug): log live sessions - #2328

Merged
A-EDev merged 21 commits into
mainfrom
feat/live-session-log
Nov 23, 2026
Merged

A-EDev merged 21 commits into
mainfrom
feat/live-session-log

Conversation

@A-EDev

@A-EDev A-EDev commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • One diagnostics line when a live stream starts and one a minute while it plays: source (segments, HLS or DASH), window length, how far behind live, stalls, and that minute's manifest and media requests and bytes.
  • A transfer listener on the live data sources splits manifest traffic from media traffic, so live reports can be measured instead of estimated.

Related issue

Closes #1385

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

Run on the top of the stack (fix/live-stream-end), which contains this change:

  • ./gradlew :app:assembleGithubDebug: passed
  • ./gradlew :app:testGithubDebugUnitTest: 7,098 tests, 0 failures, 46 skipped
  • I ran any additional flavor-specific build or test tasks affected by this change: ktlintCheck, :app:compileFossDebugKotlin passed
  • I manually tested the affected behavior on an Android device or emulator.

Test device and Android version: Emulator, Android 17 (API 37), phone 1080x2400

Screenshots or recordings

Risk and compatibility

  • Logging only. The counter adds a few atomic increments per transfer on the live sources.

  • The change does not introduce secrets, private data, or unexpected telemetry.

  • New user-facing text uses Android string resources.

  • Dependency and lockfile changes are intentional and limited to this PR.

  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.

  • Breaking changes and upgrade steps are clearly documented.

fix(player): end playback when a live stream ends
fix(player): refresh live stream URLs before they expire
feat(player): play live streams from their segments with the full DVR window
feat(player): jump back to live after a long stall on streams without DVR
fix(player): lock the seek bar on streams without DVR
feat(player): live chip shows when you are behind live and by how much
fix(player): controls follow the player's live state
feat(innertube): read the live window fields from the player response
fix(player): send live streams to the live clients when the fast client is walled
@github-actions github-actions Bot added documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces extraction InnerTube / NewPipe extraction and networking labels Nov 23, 2026
@A-EDev
A-EDev merged commit 4dcec68 into main Nov 23, 2026
9 checks passed
@A-EDev
A-EDev deleted the feat/live-session-log branch November 23, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation extraction InnerTube / NewPipe extraction and networking player Video and audio playback ui Compose UI, theming, or Material 3 surfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Allow seeking the full DVR history of running livestreams (currently limited to \~1 hour)

1 participant