Open michael-myers opened 7 years ago
@michael-myers Try: UStream-recorder-py
.
Thank you for the suggestion, but it too relied on parsing an AMF file, and fails similarly.
$ python UStream-recorder.py http://www.ustream.tv/channel/22876556
Opening url: http://www.ustream.tv/channel/22876556
AMF URL: http://cdngw.ustream.tv/Viewer/getStream/1/22876556.amf
Error! Can't find rtmp stream in AMF object.
Extraction of the Channel ID doesn't work, but I commented out those lines and hardcoded that variable. When the script get()'s the AMF file though, it cannot parse out an RMTP link because UStream has apparently deprecated their AMF support. If you use, for example,
curl
to look at one of their AMF links, it is basically a dead option.$ ./ustroku.pl http://www.ustream.tv/channel/fbh9Dc2zmvp jellies
rtmp_url not found. amf_url:http://cdngw.ustream.tv/Viewer/getStream/1/22876556.amf at ./ustroku.pl line 86.
$ curl http://cdngw.ustream.tv/Viewer/getStream/1/22876556.amf AppendToGatewayUrl.+?PHPSESSID=d5f4ab7596a690a1e80b6419e0f304c5 /1/onResultnull�successerrorcodeE_NOT_IMPLEMENTEDmessageCThis call is deprecated. Contact customer support for more details.