Results 1 to 5 of 5

Thread: MediaCaster Type constant declaration

  1. #1

    Default MediaCaster Type constant declaration


    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

  2. #2
    Join Date
    May 2013


    If you check in IMediaCaster interface you should see similar types defined:
    public static final int	MEDIACASTERTYPE_LIVEREPEATER	1
    public static final int	MEDIACASTERTYPE_RTPLIVE	3
    public static final int	MEDIACASTERTYPE_SHOUTCAST	2

  3. #3


    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 (file contains RTSP URL):
    appInstance.startMediaCasterStream("", "rtp");
    Start a SHOUTcast stream with the stream name (file contains SHOUTcast URL):
    appInstance.startMediaCasterStream("", "shoutcast");
    Start pull a stream from another Wowza or FMS server with the stream name (file contains full RTMP URL):
    appInstance.startMediaCasterStream("", "liverepeater");

    public boolean startMediaCasterStream(String streamName, String streamExt, String mediaCasterType)
    Start a media caster stream
    streamName - stream name
    streamExt - stream extension
    mediaCasterType - media caster stream type
    true if successful
    Last edited by sam.shm; 05-23-2014 at 04:40 AM.

  4. #4
    Join Date
    May 2013


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

  5. #5


    Ok. Thanks

Similar Threads

  1. native/legacy multicast UDP as MediaCaster Type
    By zenith in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 02-12-2013, 07:58 AM
  2. Is Constant TS Mux over UDP possible with PushPublish?
    By bmckim in forum AddOn: Other AddOns
    Replies: 4
    Last Post: 12-18-2012, 02:08 PM
  3. Constant Disconnections While Trying to Live Stream IP Camera
    By marknel in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 02-17-2012, 02:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts