I'm trying to integrate the live chat of a YouTube live stream into my application. Based on the YouTube API v3 documentation, I need to retrieve the liveChatId to access the live chat details. However, I'm struggling to obtain both the liveChatId and the streamId for a currently live stream.
When I used the LiveStream API with the video (stream) ID, it didn’t return any results. Then I switched to using the video API, and it returned an ID, but it was the video ID, not the stream ID.
As far as I remember, about 3 months ago I was still able to retrieve it, but now I can't, so I think the API might have changed. I hope someone can help me with this. Thank you!