Hey guys,
I’ve built a video player, tested it with local video files, works flawlessly. But when I upload the files to a media server and stream them via RTMP, all sorts of weird behavior ensues. For example, when pressing pause and play, the video will sometimes restart from the beginning instead of continuing. Also, pressing pause and play will cause a delay of maybe 5 seconds before playing. The problem is that the streaming seems to work fine with other projects made by other developers streaming from the same server.
Is there anything I should be aware of in terms of encoding the video or making the video player when using RTMP? (I already know the videos should use constant bitrate.)