How to use rtmpdump (librtmp.so) in androidIs 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! |
Re: How to use rtmpdump in androidHi. I'm interesting in how to use this library too. I loaded the library but when I call any method I get UnsatisfiedLinkError. Any help?
Thanks |
Re: How to use rtmpdump (librtmp.so) in androidhey,
it's a quite old post, but i'm really interested too in using this library into java code. I'm quite new to JNI. Here is the code i use to push and load the library on the device: Code:
String lib = "librtmp.so"; I suppose i need to declare something like Code:
public native void RTMP_Alloc(); Anyone knows more about that? Thanks in advance. |
All times are GMT -6. The time now is 06:29 AM. |