Method and apparatus for transmitting video data
A method for transmitting video over a network is disclosed. The method may be implemented by a processor and a non-transitory computer-readable storage medium storing instructions. The method may comprise: receiving, from a video data source, video data; generating a set of images from the video data based on a conversion rule that corresponds to a predetermined playback video quality; and transmitting, over a network to a client device, the set of images for rendering and displaying on a browser installed on the client device.
1. A method for transmitting video data over a network, the method comprising:
receiving, from a video data source, video data;
decoding the received video data;
generating a set of images from the decoded video data based on a conversion rule that corresponds to a predetermined playback video quality, wherein the conversion rule is set by setting the conversion rule to define a first number of images to be generated per unit time of the video data based on a requisite playback video quality at a client device and by updating the first number defined in the conversion rule based on a status of the network; and
transmitting, over the network to the client device, the set of images for rendering and displaying on a browser installed on the client device.
2. The method of claim 1 , further comprising:
receiving, from the client device, a request for video data;
authenticating the client device;
after authenticating the client device, forwarding the request for video data to the video data source.
3. The method of claim 1 , further comprising:
receiving, from the video data source, a connection request;
authenticating the video data source;
after authenticating the video data source:
establishing a connection with the video data source, and storing information that maps the video data source to the video data.
4. The method of claim 1 , further comprising:
receiving first information for setting the conversion rule, the information including at least one of: the status of the network, and the requisite video playback quality at the client device; and
setting the conversion rule based on the first information.
5. The method of claim 1 , further comprising:
receiving second information of a browser on the client device for rendering the set of images; and
configuring the transmission of the set of images to the client device based on the second information.
6. An apparatus for transmitting video data over a network, the apparatus comprising:
a memory storing a set of instructions; and
one or more processors configured to execute the set of instructions to cause the apparatus to perform:
receiving, from a video data source, video data;
decoding the received video data;
generating a set of images from the decoded video data based on a conversion rule that corresponds to a predetermined playback video quality, wherein the conversion rule is set by setting the conversion rule to define a first number of images to be generated per unit time of the video data based on a requisite playback video quality at a client device and by updating the first number defined in the conversion rule based on a status of the network; and
transmitting over the network to the client device, the set of images for rendering and displaying on a browser installed on the client device.
7. The apparatus of claim 6 , wherein the one or more processors are configured to execute the set of instructions to cause the apparatus to further perform:
receiving from the client device, a request for video data;
authenticating the client device; and
after authenticating the client device, forwarding the request for video data to the video data source after the client device is authenticated.
8. The apparatus of claim 6 , wherein the one or more processors are configured to execute the set of instructions to cause the apparatus to further perform:
receiving from the video data source, a connection request;
authenticating the video data source;
after authenticating the client device, establishing a connection with the video data source; and
storing information that maps the video data source to the video data.
9. The apparatus of claim 6 , wherein the one or more processors are configured to execute the set of instructions to cause the apparatus to further perform:
receiving first information for setting the conversion rule, the information including at least one of: the status of the network, and the requisite video playback quality at the client device; and
setting the conversion rule based on the first information.
10. The apparatus of claim 6 , wherein the one or more processors are configured to execute the set of instructions to cause the apparatus to further perform:
receiving second information of a browser on the client device for rendering the set of images; and
configuring the transmission of the set of images to the client device based on the second information.
11. The apparatus of claim 6 , wherein the video data is received from the video data source over the network.
12. A non-transitory computer-readable storage medium that stores a set of instructions that is executable by at least one processor of a server to cause the server to perform a method for transmitting video data over a network, the method comprising:
receiving, from a video data source, video data;
decoding the received video data;
generating a set of images from the decoded video data based on a conversion rule that corresponds to a predetermined playback video quality, wherein the conversion rule is set by setting the conversion rule to define a first number of images to be generated per unit time of the video data based on a requisite playback video quality at a client device and by updating the first number defined in the conversion rule based on a status of the network; and
transmitting, over the network to the client device, the set of images for rendering and displaying on a browser installed on the client device.
13. The medium of claim 12 , wherein the set of instructions that is executable by the at least one processor of the server to cause the server to further perform:
receiving first information for setting the conversion rule, the information including at least one of: the status of the network, and the requisite video playback quality at the client device; and
setting the conversion rule based on the first information.
14. The medium of claim 12 , wherein the set of instructions that is executable by the at least one processor of the server to cause the server to further perform:
receiving second information of a browser on the client device for rendering the set of images; and
configuring the transmission of the set of images to the client device based on the second information.