We have compiled the latest version of csipsimple and can call the test. Now we need to add the video function.
I don't know how to compile it. Read my previous blog: the latest version of csipsimple.
Let's take a look at the previous project.
Now, add the video. When we first checked out csipsimple, the detected directory was
We need to integrate the content in csipsimplevideoplugin into the csipsimple project to complete the video function. The steps are as follows:
First download the library required for the video function: http://down.51cto.com/data/1513067
Then, extract the downloaded library and put it in the libs folder of the csipsimple project.
Put the SRC content in csipsimplevideoplugin In the SRC of the csipsimple project.
Finally, copy the content in androidmanifest. XML in csipsimplevideoplugin to the corresponding csipsimple file.
In this way, the project is ready. After running, press the menu key on the main interface to select Settings, enter the media options, click media thread count, change 1 to 2, and enter the call options, at this time, there will be an option for use video, and then select it. If we do not have step 1 or 2, this option does not exist. Then we return back to the main interface's dialing interface, and the camera image will appear.
In this way, the video function is added. You can try it.
Refer to blog:
Http://blog.csdn.net/jwzhangjie/article/details/13017197
Respect Original, reprinted please indicate the source: http://blog.csdn.net/chillax_li/article/details/37902251