I’m using Wowza Cloud Api for live streaming and I set the vod_stream parameter to true for VOD.
As per my understanding, As soon as Live stream stopped, wowza automatically create the VOD.
My question is how can i get the VOD id to fetch details about VOD OR VOD playback url after live stream stopped via API ?
You would need to reference the Cloud REST API docs here for how to fetch a VOD based on the VOD id.
https://api.docs.cloud.wowza.com/current/tag/vod_streams#operation/showVODStream
Note: Wowza Streaming Cloud assigns a unique eight-character ID to every VOD stream. The ID appears under the VOD stream name in the search results table. If you don’t know the ID, search by VOD stream name to find the ID. You can also get the ID by using the Wowza Streaming Cloud REST API.
From the doc on live to vod in Cloud.
Well, problem is how to get the VOD ID ?
Here is the scenario:
- User created and Started the Live Stream via API and vod_stream param is true.
- From Publish page, User broadcasts the streaming and then via API Live Stream has been stopped.
- Now, how can I get the ID or playback url of VOD in API response?
I can see the VOD has been created in DASHBOARD (GUI) (https://cloud.wowza.com/en/tvffdr40/manage/vod_streams) but I need the VOD id or VOD payback url via API response of some request.
Thank you for your help.
@Rose_Power-Wowza_Com Can you please look into this question?
Out on holiday, apologies for the delay: The API call I sent you returns all your VOD streams by actual name and shows their id.
Once you see your stream name, you can see its id number and then you can make the calls to access that by id only.
Let me see if I can find a clearer example for you instead of the API reference docs. Be back soon.
Update: @Kaleem_Ullah this is the doc you need which is specific API examples on how to use the REST API to get the vod id after the live stream has stopped.
Learn how to create a video on demand (VOD) stream using the Wowza Streaming Cloud™ REST API
@Rose_Power-Wowza_Com Thank you for your response.
If I use the API which first returns all VOD streams and then I’ll compare VOD stream names with Live Stream name and then send another API request to fetch related VOD Stream by ID then all this process is highly in-efficient as system had to send two requests to fetch VOD and might hundreds of users will Live Streams in few mins/hours.
Ideally, Live Stream Stop API request should return VOD stream playback url or ID.
Agreed. Very inefficient. Let me clarify this with the Cloud Manager.
@Kaleem_Ullah I spoke with the Cloud manager and he wants to know if you’re aware that the playback VOD URL (as soon as it is available when live event ends) is the same URL as the live event was.
Hello @Rose_Power-Wowza_Com,
Thank you so much for your support.
Actually, I tried to use same url after the streaming ends but it does not work.
Fore example, I’ve below playback stream url but it’s not working though VOD for it has been generated already.
https://cdn3.wowza.com/1/cVRBa01iaXhsZ29j/OU8rQnZW/hls/live/playlist.m3u8
You’re welcome, but unfortunately, the engineers can only accurately diagnose the issue with access to all your files. The cloud team is requesting a support ticket please so they can review your entire configuration and logs.
Sorry you’ve spent so much time trying to troubleshoot, but we’ll identify the issue in your ticket and get you back to streaming live to vod in an efficient manner.