Wowza Community

Wowza with push notification

Hi,

How can we send push notification to android/ios mobile from wowza server whenever it receives the stream from the camera ?

Once customer accepts it then it should send stream to the mobile.

How others are doing please share the technical details.

Regards,

Kiran.

That is not a function of Wowza Streaming Engine. You can use our REST API to detect when a new live stream appears and then send the notification per the method of your choice.

For example, a basic digest authentication command that returns XML formatted output of all live streams on a specific application would look as follows.

$ curl --digest -u "username:password" -X GET -H 'Accept:application/xml; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_

I suggest that if you are unfamiliar with Wowza Streaming Engine’s REST API that you use our Swagger documentation. More information on how to enable the REST API documentation can be found in the following article:
https://www.wowza.com/docs/how-to-access-documentation-for-wowza-streaming-engine-rest-api

The download link is buried in the article above. You can download the documentation here:
https://www.wowza.com/downloads/forums/restapidocumentation/RESTAPIDocumentationWebpage.zip

Hi Kiran,

you can also write a custom module that monitor incoming streams and send a notification.

Look at IMediaStreamActionNotify3, should be perfect for your need