Results 1 to 9 of 9

Thread: NetStream with live

  1. #1
    Join Date
    Nov 2010
    Posts
    17

    Lightbulb NetStream, Live streaming and Wowza

    Hello!
    I try to publish live stream using Publisher API and it works just fine.

    So I wanna add pause/resume support for this live stream - and when the user hit pause call pause for NetStream object, handle it on Wowza side and don`t publish frames until user hits pause button again (resume) and then continue publishing frames.

    When I call resume() for NetStream object I handle it on Wowza side by continuing stream publishing but player then don`t display any video data.

    My approach was to create new NetConnection and NetStream object every time I want to resume the stream (and this is work) but it is not so correctly for my project and so I want ask you - is there any way to handle properly pause() and resume() for NetStream object without recreating it ever time i want to resume playback().
    Last edited by Viktor; 11-24-2010 at 07:37 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    Viktor,

    NetStream.pause is not supported for live stream at present. I don't think Publisher API makes any difference to the NetStream limitation.

    Richard

  3. #3
    Join Date
    Nov 2010
    Posts
    17

    Default

    I think you mean NetStream don't handle pause correctly for live stream? Because I hit pause on flash player side and this event handles by IMediaStreamActionNotify2 pause() Then I continue publishing frames frozen at time I hited pause. When resume is pushed I continue publishing "normal" frames and I think this is very similar to live stream behaviour. But why resume for NetStream don`t hanldles correctly and player dont display received frames this is mystery for me.((
    Last edited by Viktor; 11-24-2010 at 09:49 AM.

  4. #4

    Default

    Is this still the case with WMS 2.2.4 patch 7? I can pause a live stream, but can't seem to get NetStream.resume() to work with this release of WMS.

    -Robert

  5. #5

    Default

    There is no pause for a live stream in Wowza Server 2.x. In Wowza Server 3 we added a network DVR which support pausing a live stream.

    Charlie

  6. #6

    Default

    Thanks for the update, Charlie. Will this change with future releases? I don't need DVR capabilities, but Adobe's OSMF class NetStreamPlayTrait uses NetStream.resume() and NetStream.pause() with playback control on "regular" live streams. NetStream.pause() works with WMS 2.x, but not NetStream.resume(). I've updated my own build of OSMF to workaround this, but it would be nice to have a list of compatible NetStream API's with Wowza Server by version/release and "add-on". #musthave #wishlist

  7. #7

    Default

    No, this will not change. The best thing for live streaming is to remove the pause button or use nDVR. Those are the two options.

    Charlie

  8. #8
    Join Date
    Jan 2012
    Posts
    3

    Default

    Quote Originally Posted by charlie View Post
    No, this will not change. The best thing for live streaming is to remove the pause button or use nDVR. Those are the two options.

    Charlie
    Any update on this? I checked and nDVR will not help as this is only for http and not for rtmp. My issue is that I'm trying to play 2 live vide streams in one player and I need them synchronized (camera+slides). So I wanted to pause first stream until the second starts to play and then resume the first one.
    Are there any plans to add support for nDVR for rtmp as well?
    Thanks,

    Marek

  9. #9
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    Marek,

    Actually Wowza nDVR only works with HTTP stream types.

    http://www.wowza.com/forums/content....live-streaming

    Richard

Posting Permissions

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