// If we don't know the bitrate, then force a transcode if requested max bitrate is under 40 mbps
{
varitemBitrate=item.Bitrate??
_logger.Info("Cannot "+playMethod+" due to unknown content bitrate");
40000000;
returnfalse;
}
if(item.Bitrate.Value >maxBitrate.Value)
if(itemBitrate>maxBitrate.Value)
{
{
_logger.Info("Bitrate exceeds "+playMethod+" limit: media bitrate: {0}, max bitrate: {1}",item.Bitrate.Value.ToString(CultureInfo.InvariantCulture),maxBitrate.Value.ToString(CultureInfo.InvariantCulture));
_logger.Info("Bitrate exceeds "+playMethod+" limit: media bitrate: {0}, max bitrate: {1}",item.Bitrate.Value.ToString(CultureInfo.InvariantCulture),maxBitrate.Value.ToString(CultureInfo.InvariantCulture));