# How to check a live streaming video is streaming or not?

**URL:** https://community.wowza.com/t/how-to-check-a-live-streaming-video-is-streaming-or-not/46210
**Category:** Wowza Streaming Engine
**Created:** [November 16, 2015, 2:00pm UTC](https://community.wowza.com/t/how-to-check-a-live-streaming-video-is-streaming-or-not/46210 "2015-11-16T14:00:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Vamsi\_Krishna2](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@Vamsi\_Krishna2](https://community.wowza.com/u/Vamsi_Krishna2)
#### Post date: [November 16, 2015, 2:00pm UTC](https://community.wowza.com/t/how-to-check-a-live-streaming-video-is-streaming-or-not/46210/1 "2015-11-16T14:00:16Z")

</div>

Hello,

I have integrated Wowza live streams using JW Player in my website. The live streams will be streamed from IOS devices. I like to check whether the streaming video is streaming or not before playing the video in website. Can anyone help to check the live streaming video is streaming or not.

Thanks in advance

---

<div class="post-metadata">

### Author: ![RealEyes\_Connect](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@RealEyes\_Connect](https://community.wowza.com/u/RealEyes_Connect)
#### Post date: [November 18, 2015, 3:26pm UTC](https://community.wowza.com/t/how-to-check-a-live-streaming-video-is-streaming-or-not/46210/2 "2015-11-18T15:26:40Z")

</div>

If you can access the example players on the Wowza Magement Console, that would be an easy way to validat that the streams are live and broadcasting. These can be found in the button at the top right of the page in the Management Console and you just need to select the appropriate player and then give the applicable application and stream to have it display that live video.

Instuctions for this can be found here:

RTMP (most likely to work on a desktop): [https://www.wowza.com/docs/how-to-playback-with-the-example-adobe-flash-players-rtmp](https://www.wowza.com/docs/how-to-playback-with-the-example-adobe-flash-players-rtmp)

HLS (Will need to be previewed in a browser that supports HLS streaming): [https://www.wowza.com/docs/how-to-playback-on-apple-ios-devices-cupertino-apple-hls](https://www.wowza.com/docs/how-to-playback-on-apple-ios-devices-cupertino-apple-hls)

If you just want to test on your iOS device you can also just call the m3u8 playlist in a browser and it should load in your device’s native media player. Example: http ://[wowza-ip-address]:1935/live/myStream/playlist.m3u8

---

<div class="post-metadata">

### Author: ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)
#### Post date: [November 24, 2015, 10:29am UTC](https://community.wowza.com/t/how-to-check-a-live-streaming-video-is-streaming-or-not/46210/3 "2015-11-24T10:29:18Z")

</div>

Hello

You could use your external php script to query against serverinfo or connection counts http providers to see what type of streams are currently published. If it is not exactly (or all) of what you need, you can modify this code as the source is provided [here](https://www.wowza.com/docs/how-to-monitor-server-connections-load-and-application-statistics#built-inHTTPProviders).

Alternatively, you might look at our [REST API](https://www.wowza.com/docs/wowza-streaming-engine-rest-api) as you can run a simple GET query against an application instance to see its incoming streams. Example cURL request:

```auto
curl -X GET --header 'Accept:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/[app-name]/instances/_definst_

```

Would return something similar to:

```auto
{[B]"incomingStreams":[{"sourceIp":"rtmp://127.0.0.1:64453","isPTZEnabled":false,"applicationInstance":"_definst_","name":"[app-name]","isRecordingSet":false,"isStreamManagerStream":false,"isPublishedToVOD":false,"isConnected":true,"ptzPollingInterval":2000}][/B],"outgoingStreams":[],"recorders":[],"streamGroups":[],"name":"_definst_"}

```

Thanks,

Matt

---

<div class="post-metadata">

### Author: ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)
#### Post date: [November 18, 2015, 5:05pm UTC](https://community.wowza.com/t/how-to-check-a-live-streaming-video-is-streaming-or-not/46210/4 "2015-11-18T17:05:30Z")

</div>

Hi,

Another option that you can look into to verify if your streams are active is to look up Incoming Streams under the live application. If you select your Incoming Stream, it should show you inbound and outbound data. You can also look up the different methods of collecting statistics outlined in this [post](http://community.wowza.com/t/-/44397).

Michelle

---

<div class="post-metadata">

### Author: ![Vamsi\_Krishna2](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@Vamsi\_Krishna2](https://community.wowza.com/u/Vamsi_Krishna2)
#### Post date: [November 24, 2015, 5:26pm UTC](https://community.wowza.com/t/how-to-check-a-live-streaming-video-is-streaming-or-not/46210/5 "2015-11-24T17:26:31Z")

</div>

Thanks for your reply

I have tried the above process but didn’t worked.

In our website we like to display the live streaming videos list.

So can you please give an example code in php. As all the codes are written in flash or http provider ie., java

Thanks in advance
