Thanks a lot. I have tried to play a local h.264 video file using the <video> tag and it works fine. It maybe a WebRTC problem as you said. I think I should search the source code of WebRTC first to see if there any problem.
-----邮件原件----- 发件人: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] 代表 Raphael Kubo da Costa 发送时间: 2015年11月2日 21:33 收件人: crosswalk-dev@lists.crosswalk-project.org 主题: Re: [Crosswalk-dev] Enable H.264 in Crosswalk for Android sh.mayunlin <mayun...@china-ekai.cn> writes: > Hello, > > I am trying to building Crosswalk for Android with H.264 codecs > enabled. > > And I followed the instruction here > https://github.com/crosswalk-project/crosswalk-website/wiki/Enable-Mul > tiMedia-in-Crosswalk , do the command “$ xwalk/gyp_xwalk > -Dmediacodecs_EULA=1”. > > But it seems no use. The application that I build with Crosswalk still > reports following error: > > WebRTC error... "Failed to set remote offer sdp: Session error code: > ERROR_CONTENT. Session error description: Failed to set video send > codecs.." > > Is there anything I miss to enabling H.264 in Crosswalk? > > Any idea what is happening, and how to solve it? I think that should be enough for enabling proprietary codecs. Have you checked if h.264 playback works in the <video> tag for example? If that's the case, the issue could be specific to WebRTC. _______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev _______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev