Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

CVideoRecorderUtility中尚未支持的方法

From Wiki
Jump to: navigation, search
Article Metadata

文章
hoolee 在 14 Feb 2008 创建
最后由 hamishwillee 在 15 Dec 2011 编辑
  • 设备, 软件 版本:

S60 3rd Edition


  • 详细描述

S60手机上不支持视频录音应用类的下列方法:

CVideoRecorderUtility::OpenDesL() 
 
CVideoRecorderUtility::OpenFileL(const RFile &aFile, ...)
 
CVideoRecorderUtility::OpenUrlL()

调用时,CVideoRecorderUtility::OpenDesL()和OpenUrlL方法都会返回KErrNotSupported(-5)错误,这是因为Camera(Cmacorder)MMF控制器中尚未实现这些方法。尚未支持从内存缓冲中逐帧播放视频,或者录制到一个缓冲或URL位置。


同样重载CVideoRecorderUtility::OpenFileL()方法,传递一个文件句柄(RFile&)作为参数时也会发生这样的问题。调用时不会发生异常,也不会在MVideoRecorderUtilityObserver回调函数中立即返回错误。但当你尝试录音时调用到MvruoRecordComplete()方法,就会发生KErrCompletion(-17)错误。而且不会有任何数据写到前面的句柄参数中。


  • 解决方案

CVideoRecorderUtility::OpenDesL()和CVideoRecorderUtility::OpenUrlL()尚未支持

可以使用CVideoRecorderUtility::OpenFileL(const TDesC &aFileName, ...)录制视频内容到相关文件中。

This page was last modified on 15 December 2011, at 05:40.
200 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×