All Projects → ejups → epsAndroidPlayer

ejups / epsAndroidPlayer

Licence: other
易居PGC直播Saas平台Android播放器SDK,Android平台原生播放器,性能高,画质好,直播延迟最低可达1秒。支持HLS,RTMP等流媒体协议,支持H264,AAC音视频编码技术。可灵活设置画幅,显示方向。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to epsAndroidPlayer

Analysisavp
音视频学习,相关文件格式/协议分析。h264 nalu aac adts flv
Stars: ✭ 38 (+192.31%)
Mutual labels:  h264, aac
Nginx Http Flv Module
Media streaming server based on nginx-rtmp-module. In addtion to the features nginx-rtmp-module provides, HTTP-FLV, GOP cache and VHOST (one IP for multi domain names) are supported now.
Stars: ✭ 2,063 (+15769.23%)
Mutual labels:  h264, aac
Libstreaming
A solution for streaming H.264, H.263, AMR, AAC using RTP on Android
Stars: ✭ 3,167 (+24261.54%)
Mutual labels:  h264, aac
Camerartmpsdk
CameraRtmpSDK is an audio and video based on ffmpeg SDK, is committed to creating a cross-platform audio and video sampling, encoding, mixing, protocol upload program.
Stars: ✭ 95 (+630.77%)
Mutual labels:  h264, aac
Haishinkit.swift
Camera and Microphone streaming library via RTMP, HLS for iOS, macOS, tvOS.
Stars: ✭ 2,237 (+17107.69%)
Mutual labels:  h264, aac
RtmpPublishKit
rtmp publish kit for android , encode with mediacodec
Stars: ✭ 106 (+715.38%)
Mutual labels:  h264, aac
Jmuxer
jMuxer - a simple javascript mp4 muxer that works in both browser and node environment.
Stars: ✭ 222 (+1607.69%)
Mutual labels:  h264, aac
Androidffmpeg
android 读取摄像头和麦克风,使用rtmp推流
Stars: ✭ 298 (+2192.31%)
Mutual labels:  h264, aac
Ksylive ios
金山云直播SDK [ iOS推流+播放 ]融合版 支持美颜滤镜(Beauty Filter)、美声(Beauty Voice)、软硬编(Software/Hardware Encoder) 、网络自适应(Network Auto Adapt)、混音(Audio Mixer)、混响(Reverb)、画中画(PIP)
Stars: ✭ 861 (+6523.08%)
Mutual labels:  h264, aac
Rtsp Simple Server
ready-to-use RTSP / RTMP server and proxy that allows to read, publish and proxy video and audio streams
Stars: ✭ 882 (+6684.62%)
Mutual labels:  h264, aac
Conv2mp4 Ps
This Powershell script will recursively search through a user-defined file path and convert all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. The purpose of this script is to reduce transcoding CPU load on a media server like Plex or Emby and increase video compatibility across platforms.
Stars: ✭ 97 (+646.15%)
Mutual labels:  h264, aac
Flvplayer
🍭 FlvPlayer.js is a JavaScript player for decode flv to the canvas
Stars: ✭ 210 (+1515.38%)
Mutual labels:  h264, aac
demuxer
A tool for demux ts/mp4/flv by typescript. Support HEVC/AVC/AAC codec
Stars: ✭ 108 (+730.77%)
Mutual labels:  h264, aac
laav
Asynchronous Audio / Video Library for H264 / MJPEG / OPUS / AAC / MP2 encoding, transcoding, recording and streaming from live sources
Stars: ✭ 50 (+284.62%)
Mutual labels:  h264, aac
conv2mp4-py
Python script that recursively searches through a user-defined file path and converts all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. If a conversion failure is detected, the script re-encodes the file with HandbrakeCLI. Upon successful encoding, Plex libraries are refreshed and source file is deleted. …
Stars: ✭ 37 (+184.62%)
Mutual labels:  h264, aac
Trinity
android video record editor muxer sdk
Stars: ✭ 609 (+4584.62%)
Mutual labels:  h264, aac
Media Stream Library Js
JavaScript library to handle media streams on the command line (Node.js) and in the browser.
Stars: ✭ 192 (+1376.92%)
Mutual labels:  h264, aac
Nodeplayer.js
Pure JavaScrip HTML5 live stream player
Stars: ✭ 157 (+1107.69%)
Mutual labels:  h264, aac
Ffmediatoolkit
FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
Stars: ✭ 156 (+1100%)
Mutual labels:  h264
Obs Ios Camera Source
Use your iPhone camera as a video source in OBS Studio and stream high quality video from your iPhone's camera over USB
Stars: ✭ 199 (+1430.77%)
Mutual labels:  h264

epsAndroidPlayer Android SDK使用说明

epsAndroidPlayer SDK是Android 平台上使用的软件开发工具包(SDK), 负责播放视频直播和点播内容。

一. 功能特点 • 音频编码:AAC • 视频编码:H.264 • 播放流协议:RTMP, HLS, HTTP

二. 运行环境 • 最低支持版本为Android 4.2 (API level 17) • 支持的cpu架构:armv5,armv7a,arm64v8a,x86,x86_64

三. 快速集成 本章节提供一个快速集成推流SDK基础功能的示例。 具体可以参考app demo工程中的相应文件。

3.1 下载工程 3.1.1 github下载 从github下载SDK及demo工程

3.2 工程目录结构 • appdemo: 示例工程,演示本SDK主要接口功能的使用 • doc: SDK说明文档 • libs: 集成SDK需要的所有库文件() o libs/EIL_nativeplayersdk-debug.aar: Android Studio aar包 o libs/EIL_nativeplayersdk-release.aar: Android Studio aar包

3.3 配置项目 引入目标库, 将libs目录下的库文件引入到目标工程中并添加依赖。 可参考下述配置方式(以android studio为例): • 将libs目录copy到目标工程app目录下;

  • 在AndroidManifest.xml文件中申请相应权限
<!-- 使用权限 -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

3.4 简单播放示例
具体可参考demo工程中的com.ej.demop类
•	在布局文件中加入预览View
•	<com.example.ejplayer.myplaysdk.widget.media.IjkVideoView
    android:id="@+id/video_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
</com.example.ejplayer.myplaysdk.widget.media.IjkVideoView
•	
//创建播放管理类EILPlayerManager
player = new EILPlayerManager(this,R.id.video_view);

// 设置默认全屏模式,设置播放事件监听,返回播放信息。
player.setFullScreenOnly(true);
player.setScaleType(EILPlayerManager.SCALETYPE_FITXY);
player.playInFullScreen(true);

player.setPlayerStateListener(this);
//监听按钮响应事件 播放输入的url
public void clickTogglePlay(@SuppressWarnings("unused") View unused) {
    if(mRecordingEnabled) {
        player.stop();
        mRecordingEnabled=!mRecordingEnabled;
    }
    if(!mRecordingEnabled)
    {
        player.setFullScreenOnly(true);
        player.setScaleType(EILPlayerManager.SCALETYPE_FITXY);
        player.playInFullScreen(true);
        player.setPlayerStateListener(this);
        EditText et = (EditText)findViewById(R.id.editText);
        String s = et.getText().toString();
        player.play(s);
        mRecordingEnabled=!mRecordingEnabled;
    }
}
四. 接口说明

EILPlayerManager(final Activity activity, View view) 创建播放器实例

void play(String url) 开始播放

void pause() 暂停播放

void onResume() 恢复播放

void stop() 停止播放

void setVolume(float percent)设置音量 音量参数范围为0.0-1.0

boolean isPlaying() 检查是否正在播放

void seekto(int msec) 点播时跳转到第msec(毫秒)处播放

int getCurrentPosition()获取当前播放位置

int getDuration() 获取媒体文件总时间长度、

void setFullScreenOnly(boolean fullScreenOnly)是否以全屏模式播放

void setScaleType(String scaleType)设定画面比例和缩放方式

boolean onTouch(View v, MotionEvent event)屏幕触控控制音量,亮度的高级功能



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].