播放本地视频

IMediaPlayer的open/play方法出错,
PLAYER_STATE_OPEN_COMPLETED

(audio_device_buffer.cc:278): Size of playout buffer: 960[player] [media_decoder_impl.cc:1007:agora::rtc::MediaDecoderImpl::TryOpenHWDecode] init hw codec success[player] [media_decoder_impl.cc:67:agora::rtc::MediaDecoderImpl::Init] into hw codec test[player] [media_decoder_impl.cc:1076:agora::rtc::MediaDecoderImpl::ThreadDecodeTest] ThreadDecodeTest check start

[media_decoder_impl.cc:557:agora::rtc::MediaDecoderImpl::DecodeFrameTest] Receive_frame and send_packet both returned EAGAIN, which is an API violation[player]

[media_reader_impl.cc:332:agora::rtc::MediaReaderImpl::DoReadTask] ret == AVERROR_EOF

(timestampaligner.cc:122): too short translated timestamp interval: system time (us) = 2395033000, interval (us) = 0(d3d_renderer.cc:393): D3dRenderer::Resize to get back surface desc : hres: 0, format: 22, width: 1920, height: 1080(d3d_renderer.cc:461): D3dRenderer::Resize end[VRW] FIRST_FRAME_ARRIVED: Remote stream ts 0

[VRW] FIRST_FRAME_ARRIVED: Remote stream ts 0

09:17:44: 程序异常结束。

PLAYER_STATE_OPEN_COMPLETED成功打开媒体文件,您说的异常结束是指什么?卡死?崩溃?闪退?
参考demo:Agora-Extensions/MediaPlayer/samples/win at master · AgoraIO/Agora-Extensions · GitHub

闪退,暂时解决了,虽然后面又有新的问题,解决办法是需要把依赖库放在exe所在目录(我知道release发行的时候需要,但是Debug阶段居然在集成SDk后会有这样的问题),你们这些文档的集成环境描述,不能照抄,对新手不友好,但不得不说,多花时间之后,关于集成SDK的能力有了一定的提升