Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • VLC VLC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,414
    • Issues 3,414
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 172
    • Merge requests 172
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • VLCVLC
  • Issues
  • #25397

Closed
Open
Created Jan 19, 2021 by Salz@Salz

Twitch URL no longer plays, API changed

Twitch streams no longer work when opened in VLC. If specifying a URL on the commandline, VLC openes and states "empty playlist", in the console it reports:

[00007f96fc02d040] access stream error: HTTP 404 error [00007f96fc02d040] http stream error: local stream 1 error: Cancellation (0x8) [00007f96fc02c180] main stream error: no suitable access module for `https://api.twitch.tv/api/channels/twitch/access_token?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko' [00007f96fc02c180] lua stream error: Error getting request token from Twitch: Error getting JSON object: Failed creating VLC stream

I could not find information on the API that is used here to get the access token, but I believe those are documented nowhere and twitch seems to have disabled it.

Operating System: Debian GNU/Linux bullseye/sid

VLC Version: Debian packaged 3.0.12-1 (amd64)

How to reproduce: run VLC with any twitch channel URL (eg.): vlc https://twitch.tv/twitch

Attached is a log of vlc -vvv https://twitch.tv/twitch

Since twitch.lua does not seem to be changed in the master branch, this probably applies to the development version, too

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance