×
Namespaces

Variants
Actions
Revision as of 08:40, 15 December 2011 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CVideoRecorderUtility中尚未支持的方法

From Nokia Developer 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 08:40.
73 page views in the last 30 days.
×