xufuji456 / FFmpegAndroid

FFmpeg实现视频裁剪、水印、转码、编解码、转Gif动图;FFmpeg本地推流、H264与RTMP实时推流直播;OpenGL滤镜特效,视频拍摄。音视频学习路线,音视频知识总结、流媒体协议
5.1k stars 1.27k forks source link

直播推流3次才能正常推流 #228

Closed weasen closed 1 year ago

weasen commented 1 year ago

直播推流功能,对应apk提示

只有第三次可以成功推流.

  1. 点击第一次提示:
    error of RTMP sending packet
    server 应答:  is publishing to path 'live/stream', 1 track (MPEG4-audio)
  2. 点击第二次提示:
    error of RTMP sending packet
    server 应答: is publishing to path 'live/stream', 2 tracks (H264, MPEG4-audio)
  3. 点击第三次提示:
    无提示,正常
    server 应答: is publishing to path 'live/stream', 2 tracks (H264, MPEG4-audio)

    server使用的是https://github.com/aler9/mediamtx/releases mediamtx_v0.22.0_linux_armv7.tar.gz版本

下面为3次启动的独立log日志: log1.txt log2.txt log3.txt

请帮忙查看下,谢谢!!!

xufuji456 commented 1 year ago

推流到srs服务器看看