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
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
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
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
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.
Alternatively, you might look at our REST API as you can run a simple GET query against an application instance to see its incoming streams. Example cURL request:
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:
{[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
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.
Michelle
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