| CPC H04L 65/1089 (2013.01) [G06F 3/1454 (2013.01); H04L 12/1831 (2013.01); H04L 65/613 (2022.05); H04L 65/80 (2013.01)] | 4 Claims |

|
1. A method, performed by a system, for managing sharing of a video in a collaboration session, in which at least two client devices are participating, wherein the system comprises a video communication service capable of hosting the collaboration session, two client functions, executable on a respective one of the two client devices, two addon functions associated with a respective client function of said two client functions, an addon-backend function configured to cooperate and communicate with the two addon functions, and a sharing function configured to cooperate and communicate with the addon-backend function and to participate in the collaboration session, wherein a video file, representing the video and being stored in a storage function, is accessible by the sharing function, wherein the video is going to be shared as a shared video stream with a desired resolution and a desired frame rate, wherein the method comprises:
receiving, by the addon-backend function, a request for sharing of the video in the collaboration session,
connecting the sharing function to the collaboration session,
obtaining, by the sharing function, a synchronization time stamp of an audio frame of the collaboration session, wherein the audio frame is going to be used for synchronizing the shared video stream with the collaboration session,
determining, by the sharing function and based on a video frame rate difference between the desired frame rate and a source frame rate of the video file, whether more, less or same number of video frames as in the video file are needed in the shared video stream,
iteratively retrieving, by the sharing function, video frames from the video file stored in the storage function, and
for each iteratively retrieved video frame, the method comprises:
generating zero, one or more video frames based on said each iteratively retrieved video frame according to the determination step, while setting a respective time stamp of said one or more generated video frames based on the synchronization time stamp, wherein said one or more generated frames have the desired resolution and the respective time stamp corresponds to the desired frame rate,
wherein the method comprises:
providing, by the sharing function, the shared video stream by sending said one or more generated video frames to the video communication service, and
providing, by the video communication service, the shared video stream to the two client devices participating in the collaboration session.
|