METHOD AND DEVICE FOR ACQUIRING MULTIMEDIA DATA STREAM
First Claim
Patent Images
1. A method for acquiring a multimedia data stream, comprising:
- establishing, by a terminal, a socket connection with a target camera device when a preset trigger event is triggered in the terminal;
sending, when an event of starting preview is detected, a transfer command to the target camera device through the socket connection, the transfer command instructing the target camera to transfer the multimedia data stream;
receiving the multimedia data stream transferred by the target camera device; and
displaying the multimedia data stream in a specified preview interface.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for acquiring a multimedia data stream includes establishing, by a terminal, a socket connection with a target camera device when a preset trigger event is triggered in the terminal and sending a transfer command to the target camera device through the socket connection when an event of starting preview is detected. The transfer command instructs the target camera to transfer the multimedia data stream. The method further includes receiving the multimedia data stream transferred by the target camera device and displaying the multimedia data stream in a specified preview interface.
-
Citations
20 Claims
-
1. A method for acquiring a multimedia data stream, comprising:
-
establishing, by a terminal, a socket connection with a target camera device when a preset trigger event is triggered in the terminal; sending, when an event of starting preview is detected, a transfer command to the target camera device through the socket connection, the transfer command instructing the target camera to transfer the multimedia data stream; receiving the multimedia data stream transferred by the target camera device; and displaying the multimedia data stream in a specified preview interface. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A device for acquiring a multimedia data stream, comprising:
-
a processor; and a non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the processor to; establish a socket connection with a target camera device when a preset trigger event is triggered; send, when an event of starting preview is detected, a transfer command to the target camera device through the socket connection, the transfer command instructing the target camera to transfer the multimedia data stream; receive the multimedia data stream transferred by the target camera device; and display the multimedia data stream in a specified preview interface. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor of a terminal, cause the terminal to:
-
establish a socket connection with a target camera device when a preset trigger event is triggered; send, when an event of starting preview is detected, a transfer command to the target camera device through the socket connection, the transfer command instructing the target camera to transfer a multimedia data stream; receive the multimedia data stream transferred by the target camera device; and display the multimedia data stream in a specified preview interface. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification