Android NDK Programmer needed (CPP JNI small project)

Job ID: 34258881

Budget: $10 – $30 USD

Hi developers,
I am developing and android app to connect to the simulator and get H264 frames. I need ".so" files to use it in my code. this .so code can be developed in a separated small Android NDK Project.
I need a NDK small project that has one class with 3 methods.
I have a simulator that is ready to accept TCP Connections from port X and then sends stream data to the client buffer with H264 data format.
So I need a native class with these methods :
1 : Open() :
connect to the simulator and send special char array as start instruction . I will give you this special char array

2- A loop with 25 millisecond iteration that reads stream from simulator and calls "onStream" method in caller java class and send byte[] as result .
you must define an internal buffer in your code and put received stream to the end.
Then recognize H264 frames in the internal buffer and send frames to caller java class . each frame begins with x0x0x0x1

3- the Destroy() method that closes the current socket from simulator and free the memories

I have attached the caller java class to show what I need