How to use rtmpdump (librtmp.so) in android
Is here anyone can tell me how to use the rtmpdump in the android environment? What I have done please see below:
1. I have downloaded the "rtmpdump-2.3-android";
2. Change the "librtmp.so.0" file to "librtmp.so";
3. Push the librtmp.so into the android OS (/data/data folder);
4. Lode the librtmp.so in the code;
5. Try to us RTMP_Alloc method, but failed. The definition of RTMP_Alloc is: "RTMP *RTMP_Alloc(void);". But how can I refer the RTMP structure under the java code?
If you are familiar with the rtmpdump-2.3-android, please help me. If you have any idea of the rtmpdump in andriod, please leave with your message here, tks!
|