Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
514 views
in Technique[技术] by (71.8m points)

stream - Integration of Vitamio in Android App

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...