Fetch a live stream

GET {{baseUrl}}/live_streams/:id

When you created the live stream in the last step, the response showed the hosted_page_url value as in_progress, instead of providing a URL to the hosted page. The hosted page and player aren't instantly available because Wowza Video generates them after receiving the POST Start a live stream request.

In this tutorial, we'll use the hosted page to view the stream playback.

ACTION
Click Send. This request returns information about the stream, and because both the hosted page and player should be generated now you'll get the hosted_page_url.

Typically, you'd send the live stream ID as a path variable in the request, but we captured it as a variable from the POST Create a live stream response and will send it for you.

The response includes:

* hosted_page_url, formatted similar to: https://player.video.wowza/hosted/ID/player.html

ACTION
Open the hosted_page_url in a browser window.

Next step

Open the PUT Start a live stream request.


Below is additional information about the GET Fetch a live stream request.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"live_stream":{"aspect_ratio_height":62508086,"aspect_ratio_width":-34615705,"asset_id":"et laboris","billing_mode":"pay_as_you_go","broadcast_location":"eu_germany","closed_caption_type":"none","connection_code":"","connection_code_expires_at":"1984-08-04T01:58:33.307Z","created_at":"1965-11-16T22:38:56.461Z","delivery_method":"cdn","delivery_protocols":["ex non","eiusmod nisi"],"delivery_type":"single-bitrate","direct_playback_urls":{"delivery_protocol":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"output_id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"application_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"stream_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"output_id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"application_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"stream_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"encoder":"wowza_gocoder","hosted_page":true,"hosted_page_description":"","hosted_page_logo_image_url":"","hosted_page_sharing_icons":false,"hosted_page_title":"","hosted_page_url":"","id":"","low_latency":true,"name":"","playback_stream_name":"","player_countdown":true,"player_countdown_at":"2008-10-25T09:51:03.613Z","player_embed_code":"","player_hls_playback_url":"","player_id":"","player_logo_image_url":"","player_logo_position":"bottom-right","player_responsive":false,"player_type":"","player_video_poster_image_url":"","player_width":72676322,"recording":true,"reference_id":"","save_asset":true,"source_connection_information":{},"stream_source_id":"","stream_targets":[{"id":"dcxq5q6c"},{"id":"dcxq5q6c"}],"target_delivery_protocol":"hls-https","transcoder_type":"transcoded","updated_at":"1956-01-20T19:51:20.896Z","use_stream_source":true,"vod_stream":true}}