本文介绍了在Android应用程序Vitamio整合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我已经创建了一个应用程序在RTSP流H264视频。使用Android的videoview我长了buffertimes和大约5秒的延迟。从我已阅读,以提高最简单的方法是使用Vitamio SDK。其网页上的文档是非常小的,我无法导入它。这是官方的方法文档的

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

我不知道如何正确地这样,我怎么创建.jar文件?在此先感谢您的帮助球员

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)进口Vitamio库在Eclipse。

1) import Vitamio library in your eclipse.

2)右键点击自己的项目 - >属性 - > Android的 - > 添加 - >选择您在Eclipse中导入vitamio库

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

3)通过提到增加一个活动的声明配置清单文件:

        <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)你是蓄势待发,为参考你可以看看从VitamioListActivity项目,即:VideoViewDemo.java

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

这篇关于在Android应用程序Vitamio整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 16:42