百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

LibRtmp-Client-for-Android

> 编程语言
开源

这可能是适用于 Android 的最小的 rtmp 客户端(约 60 KB, 完整版约 300 KB)。它通过 JNI 接口调用 librtmp 函数。

722 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

这可能是适用于 Android 的最小的 rtmp 客户端(约 60 KB, 完整版约 300 KB)。它通过 JNI 接口调用 librtmp 函数。

CHANGE-FOR-FORK

CMakeLists.txt 中的 target_link_libraries 配置已被修改,以支持 支持 16 KB 的页面大小。

关于 androidx.media3:media3-datasource-rtmp

Android 版 librtmp 客户端 这可能是 Android 版最小的 rtmp 客户端(约 60 KB)。它通过 JNI 接口调用 librtmp 函数。对于所有 CPU 架构(arm、arm7、arm8、x86、x86-64、mips),其大小约为 300 KB。

    • public native int open(String url, boolean isPublishMode);*
    • public native int read(byte[] data, int offset, int size);*
  • public native int write(byte[] data);
    • public native int seek(int seekTime);*
  • public native int pause(int pause);
  • public native int close();
    • public native int isConnected(); *: 调用此函数查询连接状态。如果连接成功,返回 1;否则返回 0 不要忘记在完成后调用 close 函数。如果您不这样做,就会出现内存泄漏。
要发布流,您可以从 Java 中调用 RtmpMuxer 的以下函数
    • public native int open(String url, int width, int height);*

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言