android rtc播放、推流基本ok

This commit is contained in:
li 2024-06-04 14:52:34 +08:00
parent 67341dd29b
commit 9044275eef
3 changed files with 16 additions and 14 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings"> <component name="GradleSettings">
<option name="linkedExternalProjectsSettings"> <option name="linkedExternalProjectsSettings">
<GradleProjectSettings> <GradleProjectSettings>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" /> <component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">

View File

@ -4,36 +4,38 @@
## 项目特点 ## 项目特点
- 低延迟 - :white_check_mark:低延迟(200~500ms)
- [X]支持[ZLMediakit](https://github.com/ZLMediaKit/ZLMediaKit)流媒体 - :white_check_mark:支持[ZLMediakit](https://github.com/ZLMediaKit/ZLMediaKit)流媒体
- [ ]支持[SRS](https://github.com/ossrs/srs) - :black_square_button:支持[SRS](https://github.com/ossrs/srs)
- [ ]支持[Janus](https://github.com/meetecho/janus-gateway) - :black_square_button:支持[Janus](https://github.com/meetecho/janus-gateway)
<center class="half"> 如果您需要支持SRS或者Janus请寻找下方联系我
<p align="center">
<img src="doc/home.jpg" width="240"/>&nbsp;&nbsp;&nbsp; <img src="doc/home.jpg" width="240"/>&nbsp;&nbsp;&nbsp;
<img src="doc/player.jpg" width="240"/>&nbsp;&nbsp;&nbsp; <img src="doc/player.jpg" width="240"/>&nbsp;&nbsp;&nbsp;
<img src="doc/pusher.jpg" width="240"/> <img src="doc/pusher.jpg" width="240"/>
</center> </p>
## 延迟情况 ## 延迟情况
- **网页端推流Android端播放** - **网页端推流Android端播放**
<center class="half"> <p align="center">
<img src="doc/delay_play1.jpg" width="240"/>&nbsp;&nbsp;&nbsp; <img src="doc/delay_play1.jpg" width="240"/>&nbsp;&nbsp;&nbsp;
<img src="doc/delay_play2.jpg" width="240"/>&nbsp;&nbsp;&nbsp; <img src="doc/delay_play2.jpg" width="240"/>&nbsp;&nbsp;&nbsp;
<img src="doc/delay_play3.jpg" width="240"/> <img src="doc/delay_play3.jpg" width="240"/>
</center> </p>
三次延迟分别为490ms、526ms、560ms 三次延迟分别为490ms、526ms、560ms
- **Android端推屏幕流网页端播放** - **Android端推屏幕流网页端播放**
<center class="half"> <p align="center">
<img src="doc/delay_push1.jpg" width="240"/>&nbsp;&nbsp;&nbsp; <img src="doc/delay_push1.jpg" width="240"/>&nbsp;&nbsp;&nbsp;
<img src="doc/delay_push2.jpg" width="240"/>&nbsp;&nbsp;&nbsp; <img src="doc/delay_push2.jpg" width="240"/>&nbsp;&nbsp;&nbsp;
<img src="doc/delay_push3.jpg" width="240"/> <img src="doc/delay_push3.jpg" width="240"/>
</center> </p>
三次延迟分别为440ms、430ms、387ms 三次延迟分别为440ms、430ms、387ms
@ -92,7 +94,7 @@
设置播放器错误监听回调 设置播放器错误监听回调
## 联系作者 ## 联系作者
如果您需要深度二次开发,并支持其他流媒体服务,可以找我哦! 如果您需要深度二次开发,深度优化延迟,并支持其他流媒体服务,可以找我哦!
[李之阳](https://github.com/leo94666) [李之阳](https://github.com/leo94666)
## 特别感谢 ## 特别感谢