In rtmp.c the code is not handling properly the redirected url and is adding a slash at the end of it. So to make it work source modification is needed. For example:
Server answers:
Code:
redirect, STRING: rtmp://185.39.9.162:1735/vod?token=play@141598783902787
and rtmp.c tries to connect to:
Code:
app...vod?token=play@141598783902787/