直播Demo,推流sdk,推流报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

直播Demo,推流sdk,推流报错

hkercn 2016-08-31 12:01:27 6716

sdk:AlivcLiveRecordSDK1.0.0.2016071502_Android
问题描述:编译运行后,输入推流地址
rtmp://video-center.alivecdn.com/LiveTverTest/StreamName?vhost=ltv.zykong.com&auth_key=1472609262-0-0-1a7e841b22420b4d40dc22093a247c82,
推流过程中报错:
08-31 11:54:04.621 31229-31229/com.alibaba.livecloud E/RecorderTask: listener = com.alibaba.livecloud.live.AlivcMediaRecorderExt$2@212001cf
08-31 11:54:04.763 31229-31229/com.alibaba.livecloud W/Toast: From com.alibaba.livecloud, go ahead.
08-31 11:54:05.542 31229-31229/com.alibaba.livecloud E/RecorderTask: listener = null
08-31 11:54:05.542 31229-31229/com.alibaba.livecloud E/RecorderTask: listener = com.alibaba.livecloud.live.AlivcMediaRecorderExt$2@212001cf
08-31 11:54:06.525 31229-31229/com.alibaba.livecloud E/RecorderTask: listener = null
08-31 11:54:06.525 31229-31229/com.alibaba.livecloud E/RecorderTask: listener = com.alibaba.livecloud.live.AlivcMediaRecorderExt$2@212001cf
08-31 11:54:07.191 31229-615/com.alibaba.livecloud E/URLContext: Server error: auth failed
08-31 11:54:07.191 31229-615/com.alibaba.livecloud E/LOG: [ff/Publisher.cc 464] avio_open2 rtmp://video-center.alivecdn.com/LiveTverTest/StreamName?vhost=ltv.zykong.com&auth_key=1472609262-0-0-1a7e841b22420b4d40dc22093a247c82&form=QP&form=QP: rv(-1)
08-31 11:54:07.191 31229-615/com.alibaba.livecloud E/LOG: [ff/Publisher.cc 558] LiveRecord , notifyStatus, status = -1
08-31 11:54:07.550 31229-31229/com.alibaba.livecloud W/Toast: From com.alibaba.livecloud, go ahead.
08-31 11:54:10.904 31229-763/com.alibaba.livecloud E/URLContext: Server error: auth failed

我想请问,出错的 Server error: auth failed 提示是auth_key不对的意思么

Go 开发工具
分享到
取消 提交回答
全部回答(1)
  • 啊李小白
    2019-07-17 20:06:50

    朋友我问一下,这个APPname是在哪儿获取的

    0 0
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题