qingkouwei / Oarplayer
Licence: mit
Android Rtmp播放器,基于MediaCodec与srs-librtmp,不依赖ffmpeg
Stars: ✭ 124
Projects that are alternatives of or similar to Oarplayer
Rtsp.player.android
RTSP player for Android / IP camera viewer
Stars: ✭ 199 (+60.48%)
Mutual labels: player, livestream, rtmp
Monibuca
🧩 Monibuca is a Modularized, Extensible framework for building Streaming Server
Stars: ✭ 307 (+147.58%)
Mutual labels: livestream, rtmp
Straas-android-sdk-sample
Straas Android SDK samples and documentation
Stars: ✭ 12 (-90.32%)
Mutual labels: player, rtmp
Evilslive
This project is a SDK about video stream live
Stars: ✭ 420 (+238.71%)
Mutual labels: livestream, rtmp
tms
tms(toy media server) is a toy media server for myself learning media develop. Just for fun.
Stars: ✭ 29 (-76.61%)
Mutual labels: livestream, rtmp
Node Media Server
A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
Stars: ✭ 4,433 (+3475%)
Mutual labels: livestream, rtmp
Nodemediaclient Ios
NodeMedia RTMP/RTSP/HTTP Play/Publish Client SDK for iOS
Stars: ✭ 221 (+78.23%)
Mutual labels: player, rtmp
Owncast
Take control over your live stream video by running it yourself. Streaming + chat out of the box.
Stars: ✭ 5,382 (+4240.32%)
Mutual labels: livestream, rtmp
Livego
live video streaming server in golang
Stars: ✭ 7,312 (+5796.77%)
Mutual labels: livestream, rtmp
Ksylive ios
金山云直播SDK [ iOS推流+播放 ]融合版 支持美颜滤镜(Beauty Filter)、美声(Beauty Voice)、软硬编(Software/Hardware Encoder) 、网络自适应(Network Auto Adapt)、混音(Audio Mixer)、混响(Reverb)、画中画(PIP)
Stars: ✭ 861 (+594.35%)
Mutual labels: livestream, rtmp
LiveHiddenCamera
Live Hidden Camera is a library which record live video and audio from Android device without displaying a preview.
Stars: ✭ 69 (-44.35%)
Mutual labels: livestream, rtmp
react-native-vlc-media-player
React native media player for video streaming and playing. Supports RTSP, RTMP and other protocols supported by VLC player
Stars: ✭ 221 (+78.23%)
Mutual labels: player, rtmp
cordova-plugin-tencent-liteav
A cordova plugin for video playing with Tencent's LiteAV SDK. Support RTMP/HLS/FLV/MP4.
Stars: ✭ 24 (-80.65%)
Mutual labels: livestream, rtmp
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (+84.68%)
Mutual labels: player, rtmp
Node Stream
RTMP server in Nodejs for live streaming.
Stars: ✭ 320 (+158.06%)
Mutual labels: livestream, rtmp
Nodeplayer.js
Pure JavaScrip HTML5 live stream player
Stars: ✭ 157 (+26.61%)
Mutual labels: player, livestream
Clappr Rtmp Plugin
📺 RTMP support for Clappr player.
Stars: ✭ 99 (-20.16%)
Mutual labels: player, rtmp
Nodemediaclient Android
NodeMedia RTMP/RTMFP/RTSP/HTTP Play/Publish Client SDK for Android
Stars: ✭ 446 (+259.68%)
Mutual labels: player, rtmp
Android Rtmp 播放器
oarplayer(only android rtmp player)是一款简单到毫无特色的纯rtmp播放器, 不依赖ffmpeg,仅依赖srs-librtmp第三方库,体积小,可调整性强.
功能介绍
- 未依赖ffmpeg框架,基于srs-librtmp的rtmp拉流,编译打包更简单;
- 支持Android API level 16及以上系统;
- 完全使用Android硬件解码,支持FLV封装的H264+AAC音视频编码直播;
- Android API level 21以下使用java层创建的Mediacodec解码,API level21及以上使用NdkMediaCodec,解码不需要与java交互,效率更高;
- 视频显示使用MediaCodec(Android 硬解)->SurfaceTexture->OpenGL ES工作模式,性能优异;
- 音频播放使用OpenSL ES,直接native层读取音频解码帧播放;
- 支持后台播放(只播放声音);
- 支持设置缓存时长.
已知问题及优化计划
- [x] srs-librtmp库裁剪以及增加读超时时间配置接口;
- [x] 音频未支持重采样,对于部分对声音播放采样率有要求的手机支持不好;
- [x] x264以及libaac软解码库支持(未确定);
- [x] 视频绘制滤镜增加(配置接口与各滤镜效果shader);
- [x] 实时截图功能;
- [x] 视频边看边下载功能;
- [x] 播放统计
使用说明
gradle中导入:
compile 'com.github.qingkouwei:oarplayer:0.0.1-SNAPSHOT'
通过以下几步即可完成rtmp播放:
- 实例化OARPlayer:
OARPlayer player = new OARPlayer();
- 设置视频源:
player.setDataSource(rtmp_url);
- 设置surface:
player.setSurface(surfaceView.getHolder());
- 开始播放:
player.start();
- 停止播放:
player.stop();
- 释放资源:
player.release();
联系方式
email:[email protected]
OARPlayer is licenced under MIT. 欢迎使用,欢迎star
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].