Results 1 to 2 of 2

Thread: what is the problem when i play multiple stream on same live application. ?

  1. #1
    Join Date
    Oct 2013
    Posts
    18

    Post what is the problem when i play multiple stream on same live application. ?

    hi ..! ,
    i have a problem when i would play the single stream on 'live' application like radio offline and open and play this stream on web browser i,e flash player. it is playing properly
    but when i have created multiple stream i,e 'rsstream0','rsstream1','rsstream2' it cant play properly i,e we get following different testing result

    1) when i play one stream 'rsstream0' or 'rsstream1' or 'rsstream2' the first stream is playing but remaining stream not play .
    2) some time two stream have played but 1 stream not played .
    3) some time all the stream have not played.

    here is the program to play this stream



    private static int STREAM_SIZE = 6;

    @Override
    public void onServerInit(IServer arg0) {
    // TODO Auto-generated method stub
    WMSLoggerFactory.getLogger(null).info("onServerInit");

    IVHost vhost0 = VHostSingleton.getInstance(VHost.VHOST_DEFAULT);
    IVHost vhost1 = VHostSingleton.getInstance(VHost.VHOST_DEFAULT);
    IVHost vhost2 = VHostSingleton.getInstance(VHost.VHOST_DEFAULT);


    for(int sCount = 0; sCount < STREAM_SIZE; sCount++)
    {
    if(sCount<2)
    {
    Playlist p0 = new Playlist("playlist" + sCount);
    p0.addItem("mp3:" + sCount + ".mp3", 0, -1);
    p0.setRepeat(true);
    Stream rsstream0 = Stream.createInstance(vhost0,"live","rsstream0");

    p0.open(rsstream0);
    IStreamActionNotify actionNotify0 = new StreamListener();
    rsstream0.addListener(actionNotify0);
    }
    else if(sCount<4)
    {
    Playlist p1 = new Playlist("playlist" + sCount);
    p1.addItem("mp3:" + sCount + ".mp3", 0, -1);
    p1.setRepeat(true);
    Stream rsstream1 = Stream.createInstance(vhost1,"live","rsstream1");

    p1.open(rsstream1);
    IStreamActionNotify actionNotify1 = new StreamListener();
    rsstream1.addListener(actionNotify1);
    }
    else if(sCount<6)
    {
    Playlist p2 = new Playlist("playlist" + sCount);
    p2.addItem("mp3:" + sCount + ".mp3", 0, -1);
    p2.setRepeat(true);
    Stream rsstream2 = Stream.createInstance(vhost2,"live","rsstream2");

    p2.open(rsstream2);
    IStreamActionNotify actionNotify2 = new StreamListener();
    rsstream2.addListener(actionNotify2);
    }
    }
    }

    what is the problem... . i have test all the stream url on all 3 different new windows of mozilla firefox by flash player
    here is the url for all different stream .

    1)http://localhost:1935/live/rsstream0/manifest.f4m
    2)http://localhost:1935/live/rsstream1/manifest.f4m
    3)http://localhost:1935/live/rsstream2/manifest.f4m

    regards

    Sagar Aher
    Last edited by sagar123AHER; 10-09-2013 at 01:45 AM.

  2. #2

Similar Threads

  1. How do I play a saved stream from a live application?
    By jHouseman in forum Live Streaming and Encoders
    Replies: 8
    Last Post: 10-02-2014, 02:16 PM
  2. what is the problem when i play multiple stream on same live application. ?
    By sagar123AHER in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 10-10-2013, 05:01 AM
  3. what is the problem when i play multiple stream on same live application. ?
    By sagar123AHER in forum Performance Tuning Discussion
    Replies: 1
    Last Post: 10-09-2013, 04:46 AM
  4. how to publish and play multiple live streams using a stream manager
    By ppulavarthi in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 01-31-2013, 01:31 AM

Posting Permissions

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