Can Stream ID and Video ID be the same?

We are trying to fit both Streams and Videos into one SQL table and would like to set a Primary Key on the IDs of these pieces of content. We were wondering whether it’s possible to encounter possible conflicts between Streams and Videos due to their IDs happening to be the same value.
Looking forward to your answer!

I wouldn’t do this as they are two completely different data types.

A strream may have a video (if vod recording is enabled and the vod not deleted).

And a streams ID has no use anywhere else in the API.

Personally I would jsut collect videos as the “streams that are videos” are of video type archive

Sure it’s possible as a stream and a video at not the same Data Type.
It’s unlikely but it’s possible.

1 Like

Thanks for your reply @BarryCarlyon!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.