Вопрос

I have created an App to stream h264 videos over RTSP. Using Android's videoview i got long buffertimes and a latency around 5 seconds. From what I have read the easiest way to improve this is to use Vitamio SDK. The documentation on their page is very small and I have trouble importing it. This is the official HowTo https://github.com/yixia/VitamioBundle/wiki/How-to-integrate-Vitamio-on-your-own-project%3F

I don't know how to this properly, how do I create the .jar file? Thanks in advance for any help guys

Это было полезно?

Решение

I would suggest simplest way to achieve it without jar

1) import Vitamio library in your eclipse.

2) right click on your own project -> Properties -> Android -> Add -> select vitamio library which you have imported in eclipse

3) configure your manifest file by adding an activity declaration as mentioned:

        <activity
        android:name="io.vov.vitamio.activity.InitActivity"
        android:configChanges="orientation|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
        android:launchMode="singleTop"
        android:theme="@android:style/Theme.NoTitleBar"
        android:windowSoftInputMode="stateAlwaysHidden" />

4) You are ready to go, for reference you can look at any demo activity from VitamioListActivity project , i.e.: VideoViewDemo.java

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top