开发者社区> 问答> 正文

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

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不对的意思么

展开
收起
hkercn 2016-08-31 12:01:27 8603 0
1 条回答
写回答
取消 提交回答
  • 朋友我问一下,这个APPname是在哪儿获取的

    2019-07-17 20:06:50
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
从 SDK 到编解码:视频直播架构解析 立即下载
跨平台的云服务SDK需要什么 立即下载
一个跨平台的云服务SDK需要什么 立即下载