Video uploading method, camera apparatus and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsYanlu Zhang, Sitai Gao, Enxing Hou
Life of this patent
Estimating the term…
Abstract
A video uploading method, includes: sending a live cast request message to a first server when it is determined that a preset key is triggered, the live cast request message carrying a device identification of a camera apparatus; receiving a live cast address generated by the first server according to the live cast request message, the live cast address corresponding to the device identification; and uploading a video stream recorded by the camera apparatus to a second server, a storage space of the video stream in the second server being determined by the live cast address.
Claims6
A video uploading method performed by a camera apparatus, comprising:
- sending a live cast request message to a first server when it is determined that a preset key on the camera apparatus is triggered, the live cast request message carrying a device identification of the camera apparatus;
- receiving a live cast address generated by the first server according to the live cast request message, the live cast address corresponding to the device identification;
- uploading a video stream recorded by the camera apparatus to a second server, a storage space of the video stream in the second server being determined by the live cast address;
- determining a recording state of the video stream currently recorded by the camera apparatus;
- and
- informing an electronic device bound with the camera apparatus of the recording state for synchronization,
- wherein before the electronic device is bound with the camera apparatus, the method performed by the camera apparatus further comprises:
- receiving from the first server a binding prompt message for binding the electronic device with the camera apparatus, and determining a time point when the binding prompt message is received;
- determining that the preset key is triggered within a preset time period starting from the time point;
- and
- sending a binding confirmation message to the first server based on the preset key being triggered within the preset time period.
A camera apparatus, comprising:
- a processor;
- and
- a memory for storing instructions executable by the processor, wherein the processor is configured to:
- send a live cast request message to a first server when it is determined that a preset key on the camera apparatus is triggered, the live cast request message carrying a device identification of the camera apparatus;
- receive a live cast address generated by the first server according to the live cast request message, the live cast address corresponding to the device identification;
- upload a video stream recorded by the camera apparatus to a second server, a storage space of the video stream in the second server being determined by the live cast address;
- determine a recording state of the video stream currently recorded by the camera apparatus;
- and
- inform an electronic device bound with the camera apparatus of the recording state for synchronization,
- wherein before the electronic device is bound with the camera apparatus, the processor is further configured to:
- receive from the first server a binding prompt message for binding the electronic device with the camera apparatus, and determine a time point when the binding prompt message is received;
- determine that the preset key is triggered within a preset time period starting from the time point;
- and
- send a binding confirmation message to the first server based on the preset key being triggered within the preset time period.
A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a camera apparatus, cause the camera apparatus to perform a video uploading method, the method performed by the camera apparatus comprising:
- sending a live cast request message to a first server when it is determined that a preset key on the camera apparatus is triggered, the live cast request message carrying a device identification of the camera apparatus;
- receiving a live cast address generated by the first server according to the live cast request message, the live cast address corresponding to the device identification;
- uploading a video stream recorded by the camera apparatus to a second server, a storage space of the video stream in the second server being determined by the live cast address;
- determining a recording state of the video stream currently recorded by the camera apparatus;
- and
- informing an electronic device bound with the camera apparatus of the recording state for synchronization,
- wherein before the electronic device is bound with the camera apparatus, the method performed by the camera apparatus further comprises:
- receiving from the first server a binding prompt message for binding the electronic device with the camera apparatus, and determining a time point when the binding prompt message is received;
- determining that the preset key is triggered within a preset time period starting from the time point;
- and
- sending a binding confirmation message to the first server based on the preset key being triggered within the preset time period.
Dependencies are inferred from the claim text.