问题描述
我有一个带有WP8.1开发预览版的Lumia 1020。在诺基亚相机中,可以在视频录制期间打开闪光灯(如闪光灯)。但看起来像MediaCapture类不支持。我在视频录制过程中尝试了以下代码。但是在视频录制过程中没有
打开闪光灯。有没有办法通过使用MediaCapture类来做到这一点?谢谢!
this._mediaCapture.VideoDeviceController.FlashControl.Enabled = true;
this._mediaCapture.VideoDeviceController.FlashControl.Auto = false;
I have a Lumia 1020 with WP8.1 dev preview. In Nokia Camera, the flash could be turned on (like a flash light) during video recording. But looks like MediaCapture class doesn't support that. I tried the following code during video recording. But it doesn't turn on the flash during video recording. Is there a way to do that by using MediaCapture class? Thanks!
this._mediaCapture.VideoDeviceController.FlashControl.Enabled = true;
this._mediaCapture.VideoDeviceController.FlashControl.Auto = false;
这篇关于使用MediaCapture课程时,在视频录制期间打开闪光灯?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!