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.