Peter Marx · Jan 16, 2015 at 05:39 AM ·
Custom Module to Process HTTP input Streams
I need to write a custom Module which can grab a http Stream (for example m3u8) transcode it with xuggler to h264 and then restream it as usual with the settings of the application. How would you start doing that and what API classes should I use?
I already installed the IDE and checked out the starter tutorial.
Should I use Listeners or would I use the onStreamCreate function. How do I find out the streams of the application? And how do I get them back into Wowza after transcoding?
A few steps to get me started would be much appreciated :)
Wowza can and does change the protocol of a source stream for playback with different streaming devices. Please see the
Specifications page for details on what protocols we support.
The HTTP streams such as Apple HLS only support H.264 video codec so there would be no need to transcode the stream (unless you're referring to transrating, which changes the bitrate but doesn't require a change in codec).
As we support transcoding, transrating and transmuxing (the changing of protocol) I'm not sure how having this Module would benefit you. All streams in a single application must have a unique name so any transcoded renditions will not match the stream name the client originally connected to.
If you're wanting to transcode or transrate a stream prior to reaching Wowza this is possible however you must ensure (if wanting to use
adaptive bitrate (ABR) streaming) that the streams/renditions are keyframe aligned.