直播视频流RTMP / RTSP播放器不使用的WebView(WOWZA服务器)上的Andr​​oid [英] Live stream RTMP/RTSP player without using webview (WOWZA server) on Android

查看:2401
本文介绍了直播视频流RTMP / RTSP播放器不使用的WebView(WOWZA服务器)上的Andr​​oid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发中,我要发布和流式播放视频的Andr​​oid应用程序...

I am developing an Android application in which I want to publish as well as stream a video...

我要的是:

  1. 我的应用程序记录一个视频和视频被发送到服务器

  1. My app records a video and that video is sent to the server

录制的视频将直播流传输到另一个Android设备在同一时间。

The recorded video will be streamed live to another Android device at the same time..

我已经完成了使用第一个任务<一href="http://www.walking-productions.com/notslop/2013/01/16/android-live-streaming-courtesy-of-javacv-and-ffmpeg/">javac和ffmpeg的。我被困在第二个任务。我寻觅了很多数据从服务器上的视频,但我没有成功。 我不想使用的WebView ,并在它播放视频。 我想要一个RTMP球员。这个任务已经在iOS中已完成......我想同样为Android。什么是一些链接,完成我的任务是什么?

I have completed the first task using javac and ffmpeg. I am stuck in the second task. I have searched a lot to stream the video from the server, but I didn't succeed. I don't want to use WebView and play the video in it. I want an RTMP player. This task has been completed in iOS... I want the same for Android. What is some link to fulfill my task?

P.S:

我使用的 wowza服务器并RTMP流。我想RTMP流视频(FLV的)......如果没有解决方案是可用的,我想切换到RTSP和也,需要一个工作环节要遵循..

I am using wowza server and RTMP stream. I would like to stream RTMP video (.flv)... If no solution is available, I would like to switch to RTSP and for that also, need a working link to follow..

现在我已经切换到 RTSP播放器[与wowza服务器] 作为我还没有找到一个RTMP球员没有web视图。如何解决这个问题?

Now I have switched to RTSP player [with wowza server] as I have not found an RTMP player without webview. How do I fix this issue?

推荐答案

您可以通过Vitamio库轻松地做到这一点。 Vitamio可以在Android和iOS播放720p / 1080p高清,MP4,MKV,M4V,MOV,FLV,AVI,RMVB,RM,TS,TP等众多视频格式。几乎所有流行的流媒体协议是由Vitamio支持,包括HLS(M3U8),MMS,RTSP,RTMP和HTTP。

You can easily do it via Vitamio Lib. Vitamio can play 720p/1080p HD, mp4, mkv, m4v, mov, flv, avi, rmvb, rm, ts, tp and many other video formats in Android and iOS. Almost all popular streaming protocols are supported by Vitamio, including HLS (m3u8), MMS, RTSP, RTMP, and HTTP.

下载Vitamio捆绑这里

和从这里 演示。

And a demo from here.

这里的教程。

这篇关于直播视频流RTMP / RTSP播放器不使用的WebView(WOWZA服务器)上的Andr​​oid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆