here old code (with streamlink 1.7.0, it was working just last week):
import re
import socket
import struct
import os
import random
import websocket
import ssl
from streamlink.plugin import Plugin
from streamlink.plugin.api import http, validate, utils
from streamlink.stream import RTMPStream
from streamlink.logger import LoggerModule
[cli][error] Try 1/1: Could not open stream <RTMPStream({'rtmp': 'rtmp://cdn-t04.showup.tv:1935/webrtc/e4c74df0e_aac', 'live': True, 'flv': '-'}, redirect=False> (Could not open stream: rtmpdump.exe is not installed or not supported on your system)
error: Could not open stream <RTMPStream({'rtmp': 'rtmp://cdn-t04.showup.tv:1935/webrtc/e4c74df0e_aac', 'live': True, 'flv': '-'}, redirect=False>, tried 1 times, exiting
here old code (with streamlink 1.7.0, it was working just last week):
import re import socket import struct import os import random import websocket import ssl from streamlink.plugin import Plugin from streamlink.plugin.api import http, validate, utils from streamlink.stream import RTMPStream from streamlink.logger import LoggerModule
RANDOM_UID = '%032x' % random.getrandbits(128) JSON_UID = u'{"id":0,"value":["%s",""]}' JSON_CHANNEL = u'{"id":2,"value":["%s"]}' _urlre = re.compile(r"http(s)?://(\w+.)?showup.tv/(?P[A-Za-z0-9 -]+)")
_websocket_url_re = re.compile(r"socket.connect('(?P[\w.]+):\d+');")
_rtmp_url_re = re.compile(r'{"id":\d+,"value":["joined","(?P.+.showup.tv)"]}')
_channel_id_re = re.compile(r'{"id":\d+,"value":["(?P\w+)"]}')
class ShowUp(Plugin): @classmethod def can_handle_url(self, url): return _url_re.match(url)
plugin = ShowUp
here error:
[cli][error] Try 1/1: Could not open stream <RTMPStream({'rtmp': 'rtmp://cdn-t04.showup.tv:1935/webrtc/e4c74df0e_aac', 'live': True, 'flv': '-'}, redirect=False> (Could not open stream: rtmpdump.exe is not installed or not supported on your system) error: Could not open stream <RTMPStream({'rtmp': 'rtmp://cdn-t04.showup.tv:1935/webrtc/e4c74df0e_aac', 'live': True, 'flv': '-'}, redirect=False>, tried 1 times, exiting