Wowza Community

RTMP streaming: switch source on server

Hi,

I am using wowza to stream several RTMP. My need is relativly simple : I need to switch from the ‘live’ source to a defined audio playlist (for advertisement purpose). The playlist could be xml file, indicating the filenames and the exact time they need to be played. At the end of the list, back to the original RTMP source.

Changing the source at the server is a better answer for my need because of the load that would be doubled in case the player had to switch between streams.

Two questions: where should I investigate in term of development? Could it be a module that need to be developed?

Which types of files can the server read?

Thanks a lot for your help.

The best way to mix live and recorded content is with the Stream class API. You can use the Stream class to stream recorded content as if it were live, like TV programming, and you can mix in actual live streams.

This is the basic API:

http://www.wowza.com/forums/showthread.php?t=7094

Take a look at this scheduler example:

https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher

Note that live content must always have a start value of “-2”

Richard

Hi,

We have ready one module for do this, Code Name “WEM” or “Wowza Event Manager” You can manage your stream from HTTP interface or using like a API.

This module was designed for work with Amazon S3 but we can adapt this for read from local storage without problem.

The module can switch from Live stream to VOD, and go back to Live Stream again.

The playlist is managed automatically for the application, read the files into the folder and create the playlist automatically.

If you are interested, you can contact us for more details: support[@]wmconsulting.info

BTW, this module was design with the API than Richard show in the previous post, you can create your own module using the instruction showed into the post.

Cheers,

Alejandro