Results 1 to 2 of 2

Thread: RTMP onPause big delay

  1. #1
    Join Date
    Jul 2015
    Posts
    8

    Default RTMP onPause big delay

    I'm experiencing very big delay between pause and firing onPause event for my RTMP streams. onPlay and onStop fires immediately.

    In my custom module I have
    public void onStreamCreate(IMediaStream stream) { userStream = new UserStream(stream, ...); }
    in which I create new instance of a object that implements
    UserStream implements IMediaStreamActionNotify
    Then I attach client listener this way:
    public UserStream(IMediaStream stream, ...){ this.stream.addClientListener((IMediaStreamActionNotify)this); }
    and implement onPlay, onPause, onStop events. I don't quite get why my onPause event only is so delayed. And I test using wowza test player.

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    Hello

    You should take a look at the onPauseRaw event handler within the IMediaStreamActionNotify2 interface. This should fire immediately.

    Thanks,
    Matt

Similar Threads

  1. Big delay on the transmision
    By djgpss in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 05-31-2013, 03:39 PM
  2. Big delay and some problem about netsream operation
    By jiwan2004 in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 12-04-2012, 05:45 AM
  3. Very strange big delay
    By jiwan2004 in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 11-10-2012, 03:47 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
  •