I am using wowza + jw player for streaming. it's kind of a pay per view app, where I keep track of user's time spent watching.
I am trying to create pause events every X minutes so that we can ensure he's actually watching the video.
but this gets the player into buffering mode and it gets stuck. btw, what's the second parameter in IMediaStreamPlay.pause(), is it the offset at which the player is to be paused ? i am looking for something that just pauses the player as soon as the command reaches from server to jw player, not quite interested in an offset.
i dont have any knowledge about flash streaming but i guess pause event is triggered by NetStream.Pause so i tried these as well,
sendClientOnStatusError(stream.getClient(), "NetStream.Pause", "Press Play to continue");
but nothing happened.
Can someone please help me with pausing the player from server side ?