Skip to content

plugins.twitcasting: re-implement websocket client #4154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

bastimeyer
Copy link
Member

#4153

$ streamlink 'https://twitcasting.tv/deoxymole' best -l debug
[cli][debug] OS:         Linux-5.15.0-1-git-x86_64-with-glibc2.33
[cli][debug] Python:     3.9.7
[cli][debug] Streamlink: 2.4.0+76.g73417ce.dirty
[cli][debug] Requests(2.26.0), Socks(1.7.1), Websocket(1.2.1)
[cli][debug] Arguments:
[cli][debug]  url=https://twitcasting.tv/deoxymole
[cli][debug]  stream=['best']
[cli][debug]  --loglevel=debug
[cli][debug]  --player=mpv
[cli][info] Found matching plugin twitcasting for URL https://twitcasting.tv/deoxymole
[plugins.twitcasting][debug] Live stream info: {'movie': {'id': 708601320, 'live': True}, 'fmp4': {'host': '211-133-247-132.twitcasting.tv', 'proto': 'wss', 'source': True, 'mobilesource': True}}
[plugins.twitcasting][debug] Real stream url: wss://211-133-247-132.twitcasting.tv/ws.app/stream/708601320/fmp4/bd/1/1500?mode=main
[cli][info] Available streams: main (worst, best)
[cli][info] Opening stream: main (stream)
[cli][debug] Pre-buffering 8192 bytes
[plugin.api.websocket][debug] Connected: wss://211-133-247-132.twitcasting.tv/ws.app/stream/708601320/fmp4/bd/1/1500?mode=main
[cli][info] Starting player: mpv
[cli.output][debug] Opening subprocess: mpv --force-media-title=https://twitcasting.tv/deoxymole -
[cli][debug] Writing stream to output
[cli][info] Player closed
[plugin.api.websocket][debug] Closed: wss://211-133-247-132.twitcasting.tv/ws.app/stream/708601320/fmp4/bd/1/1500?mode=main
[cli][info] Stream ended
[cli][info] Closing currently open stream...

@bastimeyer bastimeyer added the plugin enhancement A new feature for a working Plugin label Nov 6, 2021
@back-to back-to merged commit 037a201 into streamlink:master Nov 6, 2021
@bastimeyer bastimeyer deleted the plugins/twitcasting/websocket branch November 6, 2021 16:09
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin enhancement A new feature for a working Plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants