Fix for transcoding

Using AC3 instead of AAC because the sound quality was very degraded
with higher audio channels.
This commit is contained in:
angelblue05 2015-08-19 08:26:03 -05:00
parent c3e70602c5
commit eae370c33f

View file

@ -203,7 +203,7 @@ class PlayUtils():
# Play transcoding
deviceId = self.clientInfo.getMachineId()
playurl = "%s/mediabrowser/Videos/%s/master.m3u8?mediaSourceId=%s" % (server, id, id)
playurl = "%s&VideoCodec=h264&AudioCodec=aac,ac3&deviceId=%s&VideoBitrate=%s" % (playurl, deviceId, self.getVideoBitRate()*1000)
playurl = "%s&VideoCodec=h264&AudioCodec=ac3&deviceId=%s&VideoBitrate=%s" % (playurl, deviceId, self.getVideoBitRate()*1000)
self.logMsg("Playurl: %s" % playurl)
return playurl