How to fake a live stream by setting a 10 minute delay?
is possible set buffer of 10 minutes either flash media live encoder or flash media streaming server? we're considering setting live stream gaming tournament, concerned players being able cheat watching live stream while play.
hi topsweety,
you can't obtain 10minute delay in allowing accessing live game without loosing content if want manage delaying @ flash media live enocder or flash media server.
one way achieve can use dvr functionality of fms , record live stream gets published fmle. when user attempts subscribe through custom video player (that may want build), can put in logic on video player issue netstream.play 10mins behind.
netstream.play(current_recorded_stream_length - 10*60, 0,-1,true) // plays dvr content is, recording in progress content
this allow users play latest content 10 mins behind actual live game event.
and in case (current_recorded_stream_length - 10*60) comes out negative in value know don't have 10mins of recorded game available users view content yet. hence maybe need apply custom logic put such requests in queue and allow playback them when have enough content recorded.
hope helps.
thanks
mamata
More discussions in Adobe Media Server
adobe
Comments
Post a Comment