Files
TTVideoPlayer/player-rtmp-native/LOCAL-CHANGES.md
T
tongtong 922ec80bcc 初始化 TTVideoPlayer 工程:模块化播放框架、同同影音 App 与文档
Media3 内核播放框架(player-api/core/media3/source/render/lifecycle/telemetry)、
WebDAV/SMB/Jellyfin 来源、DLNA/Google Cast 投屏、RTMP 原生库与完整 App。
2026-11-30 18:13:40 +08:00

9 lines
790 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 本地构建与修改
上游固定提交见 third_party/UPSTREAM.md。只构建播放 JNI,排除 RTMPMuxer Java 类和推流 C 文件。
JNI 头文件中的三个推流/文件导出函数定义由 TT_RTMP_PLAYBACK_ONLY 宏排除,避免引入对应 muxer 实现。
NDK 28.2.13676358 / CMake 3.22.1,四 ABI,max-page-size/common-page-size 为 16384。
JNI 本地修改:指针经 intptr_t 转换;失败路径释放 JNI UTF 字符串、关闭 RTMP 连接;读取缓冲分配失败返回错误码;关闭可能含凭证的底层报文日志。
使用 NO_CRYPTO,不提供 RTMPS。其余协议实现沿用上游;这不是完整 native 安全审计。
Apache/LGPL 许可和提交信息作为 assets 打包。发行时应同时保留对应源代码、修改和可重建脚本。