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. We could also take the streamlink/streamlink approach for live broadcasts and launch a player directly after. For region locked streams, the region must match to request the API, but the RTMP link can be used in outside regions.
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. We could also take the streamlink/streamlink approach for live broadcasts and launch a player directly after. For region locked streams, the region must match to request the API, but the RTMP link can be used in outside regions.