Patent ID: 8908512

Claim:
A computer-implemented method for performing a rate shaping of multiple data streams which are to be transmitted through a network, said network having the capability to perform a rate shaping using a first rate shaping scheme and at least one other rate shaping scheme other than said first rate shaping scheme, wherein said first rate shaping scheme is a transcoding scheme and has a smaller impact on the quality of the data stream than said at least one other rate shaping scheme but requires more computational resources than said at least one other rate shaping scheme, said method comprising: determining based on the available computational resources of the network the maximum number n of data streams for which said first rate shaping scheme can be applied as a rate shaping scheme; selecting n data streams among the multiple data streams which are to be transmitted and performing a transcoding according to said first rate shaping scheme on them to perform a rate shaping; performing a rate shaping for other data streams among the multiple data s reams using said at least one other rate shaping scheme other than said first rate shaping scheme.