Integration of Vitamio in Android App

前端 未结 1 1710
没有蜡笔的小新
没有蜡笔的小新 2020-12-20 05:58

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 wa

相关标签:
1条回答
  • 2020-12-20 06:14

    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

    0 讨论(0)
提交回复
热议问题