By default librtmp compile produces librtmp.so.1
file and symlink librtmp.so
. I need to have librtmp.so without number suffix as andorid does not support it.
I was able to modify Makefile to get librtmp.so file:
#SO_VERSION=1
#SO_posix=.${SOX}.${SO_VERSION}
SO_posix=${SOX}
so the file produced file is now librtmp.so
But android can't load it as it still tries to load librtmp.so.
(with dot):
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1891]: 170 could not load needed library 'librtmp.so.' for 'libffmpeg.so' (load_library[1093]: Library 'librtmp.so.' not found)