Why can't I change the filename on the streaming server?
I ran into an interesting problem and I am unable to find an answer to this.
Here is the issue.
I encoded a file into .flv format. When I stream the file using RTMP protocol, it streams fine. However, if I change the name of the file ( I can explain why I need to do this, but assume that's part of what I need to do in our product) by appending a string, it fails to playback properly ( note: I modify the playback URLto match the new filename).
Example:
rtmp://localhost/vod/sample.flv
2 changes to make
a) change the filename to sample_mystring.flv in the content folder
b) playback rtmp://localhost/vod/sample_mystring.flv
it does not playback the video.
I am scratching my head, because this is not an expected failure. I am left to wonder if the video player ( in this case FLVPlayer) or the RTMP protocol is requiring the original filename in the stream for it to playback.
I am not familiar with the protocol or its inner-workings, but I hope someone here has some experience or thoughts to help me figure this out. I am stuck.
Thanks for your help!
