Fluorite Cloud initialization crawl pit 2--camera preview

Source: Internet
Author: User

Here are two screenshots of the official development document of the Fluorite cloud.

Bloggers have been doing a preview of the camera in recent days (according to the official document of the Fluorite cloud)

However, the preview of the picture is always dark.

Studied for a few days and found the place where the problem was.

Note the methods that are marked in the following illustration

According to the development documentation--

public void Setplayverifycode (java.lang.String verifycode)
Incoming video encryption password for encrypting video decoding, which can invoke parameters when a error_inner_verifycode_need or Error_inner_verifycode_error error callback is received: Verifycode-Video Encryption password , the default is 6-bit verification code for the device
The image gets the default 6-bit verification code for the device (camera), and the user usually sets a direct password after getting the device (camera) when the user has set a password, the device default 6-bit verification will expire----preview screen (black screen) the encryption password (or the device's verification code) must be set before previewing





Here's the blogger code.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.