Wowza Community

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

https://www.wowza.com/docs/how-to-use-the-wowza-streaming-engine-java-api-to-start-and-stop-mediacaster-streams

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?

Thanks,

Alejandro

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

Richard

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

http://www.wowza.com/community/t/-/245

Richard

Thanks Richard