Results 1 to 10 of 10

Thread: need help to stream vod

  1. #1

    Default need help to stream vod

    Hello,

    I hope I'm gonna be precise and explain as good as possible "what i want to do".

    I'am in a configuration "Liverepater-origin" <-----> "live repater-edge", i'm using so an application to deliver live stream.

    I want to be able to stream vod files but using the same application (with liverepeater- stream type) !

    I know it's a strange request but as we customized a bit wowza install we really need an intelligent way r a tips to stream vod over this streamtype configuration.

    Could you guys help me ?

    Thx by advance,

    Regards,

  2. #2

    Default

    Do you mean you want to publish vod files as a live stream? If so you can use our server-side publishing system:

    http://www.wowzamedia.com/forums/showthread.php?t=7094

    You can then stream the result using the live repeater.

    Charlie

  3. #3

    Default

    No, I'm looking for the way to publish live and vod with the same application.xml...

    However your answer is very interesting,

    Thx by advance for your answers.

    Regards,

  4. #4
    Join Date
    Dec 2007
    Posts
    25,649

    Default

    You can switch StreamType per NetStream in the client:

    If the Application.xml /StreamType is "default" you can stream live like this:

    Code:
    netconnection.call("setStreamType",null,"live");
    var nsLive:NetStream = new NetStream(netconnection);
    Richard

  5. #5

    Default

    Hi,

    Can you tell me more about this, i don't understand...
    With this I will be able to deliver vod and live events using the same applications.xml ?

    Is that modification bring to any limitations ?

    Regards,
    Last edited by barichon; 04-27-2010 at 02:42 PM.

  6. #6
    Join Date
    Dec 2007
    Posts
    25,649

    Default

    If you have an application named "vod" with StreamType "default", and you use it to stream static content, for example like this:

    Code:
    netconnection.connect("rtmp://[wowza-address]:1935/vod");
    var nsVOD:NetStream = new NetStream(netconnection);
    nsVod.play("Extremists.flv");
    You can use also use this application to stream to "publish live and vod with the same application.xml"

    Code:
    netconnection.call("setStreamType",null,"live");
    var nsLive:NetStream = new NetStream(netconnection);
    Note that you call setStreamType using the netconnection before you use that netconnection to create a new NetStream.

    Richard

  7. #7

    Red face

    Quote Originally Posted by rrlanham View Post
    If you have an application named "vod" with StreamType "default", and you use it to stream static content, for example like this:

    Code:
    netconnection.connect("rtmp://[wowza-address]:1935/vod");
    var nsVOD:NetStream = new NetStream(netconnection);
    nsVod.play("Extremists.flv");
    You can use also use this application to stream to "publish live and vod with the same application.xml"

    Code:
    netconnection.call("setStreamType",null,"live");
    var nsLive:NetStream = new NetStream(netconnection);
    Note that you call setStreamType using the netconnection before you use that netconnection to create a new NetStream.

    Richard
    Waaahouuu, sorry I think we don't have the same skill
    Where to insert this code? in my application.xml ?

    Let me explain me ask...
    Why to use stream vod and live with the same application.xml ?

    We wanted to industrialized and makes thing easier as possible (deployement) with wowza.

    To do this we have mutualized application directory and content directory (by making symbolic links on the same target directory).

    This links point out on /var/domains/"vhost".
    In /each vhost I have setted up a symbolic link _definst_ and streams that points on themselves (ln -s . _definst_ and ln -s . streams).

    When I have a live customer I now create a new vhost (old application directory), an application.xml in /conf/vhost/ and of course, the symbolic links (definst and streams) ini var/domain/vhost.

    So from now, when I call rtmp://x.x.x.x/vhost/live (based on origin/edge architecture), I'am able to watch my live event. There is an application in the /conf/vhost directory so wowza will go directly read the specified app (live) and not hte "default "one in /conf/

    Ok, good...

    NOW the customer comes and say ok so please now add me vod or (whatever delivery)....
    I have mutualized things (application is actually a vhost notion), so how to deliver live, vod, etc... by keeping the same application (vhost) assuming that the normal fonctionement was to create diifferent app...

  8. #8
    Join Date
    Dec 2007
    Posts
    25,649

    Default

    You cannot "use stream vod and live with the same application.xml"

    You can use the above method which is Actionscript that you can use in a Flash application.

    So from now, when I call rtmp://x.x.x.x/vhost/live (based on origin/edge architecture)
    In the above rtmp url "vhost" is an application name, "live" is an application instance. And I don't see how it relates to origin/edge which involve multiple servers.

    Sounds like you have made it too complicated and painted yourself into a corner. I recommend you start over with the architecture. First read the Quickstart Guide and chapters 1 - 6 of the User Guide.

    Richard

  9. #9

    Default

    Quote Originally Posted by charlie View Post
    Do you mean you want to publish vod files as a live stream? If so you can use our server-side publishing system:

    http://www.wowzamedia.com/forums/showthread.php?t=7094

    You can then stream the result using the live repeater.

    Charlie
    I am interested in this Charlie, but the link is broken. Can you post the link to the article you are talking about?

    Thanks,

    Manuel.-

  10. #10
    Join Date
    Dec 2007
    Posts
    25,649

Posting Permissions

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