Wowza Community

Sample code to use MediaCaster API to start/stop a stream

Hi Charlie,

I’m try to stop one stream, created by Flash Application, using this API and always I receive this response:

ModuleMediaCasterStreamManager.stopMediaCasterStream: Stream not found: livestream

But the stream exist, what is the correct API for stop one stream created by flash application? can you show me one example?



This looks like what I need! I need to be able to start and stop streams from a .net application - I was wondering if it’s possible to create an httpprovider which accesses those methods so my .net application can interface to wowza to start and stop streams?

This is for MediaCaster streams: shoutcast, rtsp, liverepeater.

You need to use IMediaStream API


Yes, you can. Here is a good starting place:


Thanks Richard