Results 1 to 4 of 4

Thread: Questions about port application from red5 to wowza

  1. #1
    Join Date
    Oct 2012
    Posts
    23

    Default Questions about port application from red5 to wowza

    I want to stream flv file.
    In red5 app I did this
    public static String serverStreamCreate(String path, String streamName) {
    
            IServerStream serverStream = StreamUtils.createServerStream(Red5.getConnectionLocal().getScope(), streamName);
            SimplePlayItem item = SimplePlayItem.build(path);
    
            IPlaylistController controller = new MyPlayListController();
    
            serverStream.setPlaylistController(controller);
            serverStream.setRepeat(false);
            serverStream.addItem(item);
            serverStream.addItem(item);
            serverStream.start();
            return streamName;
        }
    How can I do same on wowza?

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    The equivalent in Wowza is Stream class stream. Here are an assortment of examples:

    Basic API:
    http://www.wowza.com/forums/content....-Class-Example

    Scheduler (runs at server start):
    http://www.wowza.com/forums/content....t-in-smil-file

    Real-time controller:
    http://www.wowza.com/forums/content....eam-controller

    Another approach to switching:
    http://www.wowza.com/forums/content....tching-example
    http://www.wowza.com/forums/showthread.php?19021#5

    Richard

  3. #3
    Join Date
    Oct 2012
    Posts
    23

    Default

    Thanks, Richard
    Last edited by terbooter; 10-12-2012 at 08:45 AM.

  4. #4
    Join Date
    Oct 2012
    Posts
    23

    Default

    How to map (java-as3) classes in wowza?
    In red5 I can map classes:
    1) Create java and as3 classes
    package ru.camwithme.vos {
    	public class StatusVO {
    
    		public var code:String;
    
            public function toString():String {
                return "StatusVO{code=" + String(code) + "}";
            }
        }
    }
    package ru.camwithme.vos;
    
    public class StatusVO {
        public String code;
    }
    2) Map in as3
    registerClassAlias("ru.camwithme.vos.StatusVO", StatusVO);
    I try this in wowza and get String instead of StatusVO object

Similar Threads

  1. MPEGTS / RTP broadcast, assoicating a port with a specific application name?
    By dptekco in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 12-11-2012, 01:07 PM
  2. Replies: 0
    Last Post: 06-14-2012, 07:36 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
  •