Open AlexAplin opened 6 years ago
RTMP seems to be deprecated now. livedl has the logic for both HLS and RTMP, but it doesn't support CAS.
Everything is HLS now.
As part of the attack on Kadokawa (#172), old Niconama timeshifts haven't been recovered.
Easy enough to get the RTMP tokens with the player API, e.g. http://watch.live.nicovideo.jp/api/getplayerstatus?v=lv305524399. Official and user broadcasts are different. For region locked streams, the region must match to request the API, but the RTMP link can be used in outside regions.