Skip to content

YouTube LIVE streams unexpectedly end with "finished" while still live #242

Description

@Arbatos1

Basic Troubleshooting

  • I have checked for similar issues (open AND closed), and my issue is not a duplicate. (MANDATORY)
  • I have checked for pull requests that may already address my issue. (MANDATORY)
  • I am using (and my issue is reproducible on) the latest version of youtube-source.
  • My issue is reproducible with IPv6 rotation.
  • I DO NOT confirm that this has been filled out truthfully.

Version of youtube-source

f45bbb7

The search query/queries, URL(s), playlist ID(s)/URL(s) or video ID(s)/URL(s) that triggered the issue

https://www.youtube.com/live/cF4ybgr_b48

Code Example

N/A - reproduced through Lavalink using a direct YouTube LIVE URL.

Exception and Stacktrace

No exception or TrackException is emitted.

The LIVE stream starts playing normally, but after a while Lavalink emits a TrackEndEvent with:

reason: finished

The YouTube broadcast is still live at that point. Reloading the same URL immediately resumes playback, but causes a short ~1 second interruption.

YouTube LIVE playback was working normally with this same setup before the recent YouTube-side changes. This issue only started after those changes.

DEBUG logging shows that LIVE playback is using the WEB client. The stream URL contains source=yt_live_broadcast, live=1 and noclen=1.

Regular non-LIVE YouTube videos are working normally.

What is your client configuration?

WEB, ANDROID_VR, TV, TVHTML5_SIMPLY, MWEB, WEBEMBEDDED

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions