Screen projection method, videoconferencing device, and system
View Patent ↗The present disclosure provides a screen projection method, a videoconferencing device, and a system. The screen projection method includes: receiving a to-be-projected video stream sent by a screen projection initiator; decoding the to-be-projected video stream to generate a plurality of to-be-projected images; creating a virtual camera to enable a videoconferencing screen projection application to control the virtual camera through a standard camera interface to collect each to-be-projected image; and performing screen projection on the collected to-be-projected image by the videoconferencing screen projection application. The present disclosure can enable the videoconferencing screen projection application to interface with an operating system through a standard wireless screen projection collection interface to obtain the to-be-projected image for screen projection.
1 . A screen projection method, comprising:
receiving a to-be-projected video stream sent by a screen projection initiator;
decoding the to-be-projected video stream to generate a plurality of to-be-projected images;
creating a virtual camera to enable a videoconferencing screen projection application to control the virtual camera through a standard camera interface to collect each of the to-be-projected images; and
performing screen projection on the collected to-be-projected image by the videoconferencing screen projection application;
wherein the screen projection method further comprises: when detecting that to-be-projected video streams sent by a plurality of screen projection initiators are received, decoding each of the to-be-projected video streams to generate a plurality of to-be-projected images corresponding to each of the to-be-projected video streams;
creating a virtual camera corresponding to each of the to-be-projected video streams, to enable the videoconferencing screen projection application to control each virtual camera through the standard camera interface to collect a plurality of to-be-projected images of a corresponding to-be-projected video stream; and
performing, by the videoconferencing screen projection application, the screen projection on the to-be-projected images collected by each virtual camera on independent display areas.
2 . The screen projection method according to claim 1 , wherein the receiving a to-be-projected video stream sent by a screen projection initiator comprises:
establishing a protocol interaction with the screen projection initiator based on a screen projection protocol to which the to-be-projected video stream belongs; and
after establishing the protocol interaction, receiving the to-be-projected video stream sent by the screen projection initiator.
3 . The screen projection method according to claim 1 , wherein the standard camera interface comprises camera api2.
4 . The screen projection method according to claim 1 , further comprising: when detecting that to-be-projected video streams sent by a plurality of screen projection initiators are received, decoding each of the to-be-projected video streams to generate a plurality of to-be-projected images corresponding to each of the to-be-projected video streams;
splicing to-be-projected images that are at a same time point among the to-be-projected video streams to generate a plurality of spliced to-be-projected images;
creating one virtual camera to enable the videoconferencing screen projection application to control the one virtual camera through the standard camera interface to collect the spliced to-be-projected images; and
performing the screen projection on the collected spliced to-be-projected images by the videoconferencing screen projection application.
5 . A videoconferencing device, configured to execute the screen projection method according to claim 1 .
6 . A screen projection system, comprising a screen projection initiator and the videoconferencing device according to claim 5 , wherein
the screen projection initiator is configured to send a to-be-projected video stream to the videoconferencing device.
7 . A videoconferencing device, configured to execute the screen projection method according to claim 2 .
8 . A screen projection system, comprising a screen projection initiator and the videoconferencing device according to claim 7 , wherein
the screen projection initiator is configured to send a to-be-projected video stream to the videoconferencing device.
9 . A videoconferencing device, configured to execute the screen projection method according to claim 3 .
10 . A screen projection system, comprising a screen projection initiator and the videoconferencing device according to claim 9 , wherein
the screen projection initiator is configured to send a to-be-projected video stream to the videoconferencing device.
11 . A videoconferencing device, configured to execute the screen projection method according to claim 4 .
12 . A screen projection system, comprising a screen projection initiator and the videoconferencing device according to claim 11 , wherein
the screen projection initiator is configured to send a to-be-projected video stream to the videoconferencing device.