Is there any way to derive the VOD video id from a stream? I noticed that there is a broadcast_id, but it is unclear to me what that is referencing.
Thanks,
Justin
http://twinge.tv
Is there any way to derive the VOD video id from a stream? I noticed that there is a broadcast_id, but it is unclear to me what that is referencing.
Thanks,
Justin
http://twinge.tv
There’s not a way to derive a VoD from the broadcast ID that I’m aware of, but as far as I’ve seen the broadcast ID is the same as the _id
of a stream on /kraken/streams
. There used to be a JTV API endpoint to query for a broadcast ID, but that’s long gone. Your best bet would be to grab /kraken/channels/:channel/videos?broadcasts=true
for the channel, and match broadcast_id
to the stream’s _id
.
Thanks for you response, night. That was my backup plan, it just seemed complicated for what it was.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.