MediaCaster Type constant declaration

Hi,

I can’t find MediaCaster Type constants in Java API.

For example:

public interface IMediaCasterTypes {
         public static final String MEDIA_CASTER_TYPE_RTP = "rtp";
         public static final String MEDIA_CASTER_TYPE_SHOUTCAST = "shoutcast";
}

Any ideas appreciated

If you check in IMediaCaster interface you should see similar types defined:

com.wowza.wms.mediacaster.IMediaCaster
public static final int	MEDIACASTERTYPE_LIVEREPEATER	1
public static final int	MEDIACASTERTYPE_RTPLIVE	3
public static final int	MEDIACASTERTYPE_SHOUTCAST	2

Corresponding with this example How to use the MediaCaster API

We need a String variable as a second param.

Start an IP camera stream with the stream name camera.stream (file contains RTSP URL):
appInstance.startMediaCasterStream("camera.stream", "rtp");
Start a SHOUTcast stream with the stream name radio.stream (file contains SHOUTcast URL):
appInstance.startMediaCasterStream("radio.stream", "shoutcast");
Start pull a stream from another Wowza or FMS server with the stream name rtmp.stream (file contains full RTMP URL):
appInstance.startMediaCasterStream("rtmp.stream", "liverepeater");

Moreover:

API

startMediaCasterStream
public boolean startMediaCasterStream(String streamName, String streamExt, [B]String mediaCasterType[/B])
Start a media caster stream
Parameters:
streamName - stream name
streamExt - stream extension
mediaCasterType - media caster stream type
Returns:
true if successful

Ok. Thanks

I believe the only constants we have available in this regard are those referred to in my first reply.