added 1 sec buffering to rtmp player