Device and method for playing media in home network

Provided are a control device used for controlling the distribution of a media content in a home network and a computer program product. Both the control device and the computer program product can be used for completing the following functions: determining that there is a task to be executed, the task being a task of distributing the media content to a media playing device; acquiring device information about a plurality of media distribution devices; according to the device information, selecting an available media distribution device from the plurality of media distribution devices, wherein the available media distribution device can be used for processing the media content, so that the media content has a self-adaptive media stream format suitable for the media playing device; and when there are a plurality of available media distribution devices, allocating at least one fragment of the media content to each of the available media distribution devices, so that the plurality of available media distribution devices process the media content together.