VOD-视频点播这份log,有时有回调,有时没有回调,autoPlay没有设置,怎么回事? 2023-06-15 14:15:51.178 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [NativeBase] :java_Stop() 2023-06-15 14:15:51.178 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [AVPBase] :API_IN:virtual void AVPBase::Stop() 2023-06-15 14:15:51.178 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [SuperMediaPlayer] :Player ReadPacket Stop 2023-06-15 14:15:51.178 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [AudioTrackRender] :AudioTrackRender::device_mute(1) 2023-06-15 14:15:51.180 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [avFormatDemuxer] :not opened 2023-06-15 14:15:51.180 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [avFormatDemuxer] :not opened 2023-06-15 14:15:51.180 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [MeidaPlayerUtil] :KPI test finish: total fps:25.1 2023-06-15 14:15:51.181 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [analytics] :eventCode:2012, name:STOP string:abr_info * {"autoBitrate":0,"abrWorked":0,"abrAlgo":"","defaultBandWidth":3000,"avgBitrate":null,"avgLatency":0,"avgSwitches":null,"avgRebuffering":null,"avgWorkedTime":0,"maxBufferLength":50000} || cost * 2 || stream_info * {"streamBitrates":"[{"idx":0,"type":"video","bitrate":1088615},{"idx":1,"type":"audio","bitrate":124789}]","audioStreamCount":1,"videoStreamCount":1} || vdi * [{"url":"https://video.wogoo.com/2750ff300b2171eebfd60764a3fc0102/2ef17663de6940098fc050be6ae2a727-6a51b1a83d4302aada6bdb70a227a31c-sd.mp4?auth_key=1681414596-4776dbf1fbfb452aafb8fba18d2264d5-0-4d377138ff9953949ba67f5089065668","dropInfo":"0/178"}] || vt * 7198 ret:0 2023-06-15 14:15:51.183 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [NativeBase] :java_Stop() 2023-06-15 14:15:51.183 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [AVPBase] :API_IN:virtual void AVPBase::Stop() 2023-06-15 14:15:51.183 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [NativeBase] :java_SetView(0x0) 2023-06-15 14:15:51.183 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [AVPBase] :API_IN:SetView 0x0 2023-06-15 14:15:51.190 27195-27992/com.paiba.app000004 I/AliFrameWork: [27510038] [GLRender] :drop a frame pts = 7120000 2023-06-15 14:15:51.190 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [NativeBase] :java_Release() 2023-06-15 14:15:51.190 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [AVPBase] :API_IN:virtual void AVPBase::Stop() 2023-06-15 14:15:51.190 27195-27195/com.paiba.app000004 I/AliFrameWork: [27510038] [AVPBase] :API_IN:virtual void AVPBase::Stop()
你把 prepare 后面的 seek 和 start 先删掉试试。这边看日志,preapre 后会立马调用 seek 和 start。此回答整理自钉群“阿里云-VOD-视频点播-技术交流(进群先看公告)”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。