|
|
|
@ -216,17 +216,6 @@ namespace MediaBrowser.Model.Dlna
|
|
|
|
|
|
|
|
|
|
list.Add(new NameValuePair("Level", item.VideoLevel.HasValue ? StringHelper.ToStringCultureInvariant(item.VideoLevel.Value) : string.Empty));
|
|
|
|
|
|
|
|
|
|
if (isDlna)
|
|
|
|
|
{
|
|
|
|
|
// The player may see it as separate resources due to url differences
|
|
|
|
|
// And then try to request more than one at playback
|
|
|
|
|
list.Add(new NameValuePair("ClientTime", string.Empty));
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
list.Add(new NameValuePair("ClientTime", item.IsDirectStream ? string.Empty : DateTime.UtcNow.Ticks.ToString(CultureInfo.InvariantCulture)));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
list.Add(new NameValuePair("MaxRefFrames", item.MaxRefFrames.HasValue ? StringHelper.ToStringCultureInvariant(item.MaxRefFrames.Value) : string.Empty));
|
|
|
|
|
list.Add(new NameValuePair("MaxVideoBitDepth", item.MaxVideoBitDepth.HasValue ? StringHelper.ToStringCultureInvariant(item.MaxVideoBitDepth.Value) : string.Empty));
|
|
|
|
|
list.Add(new NameValuePair("Profile", item.VideoProfile ?? string.Empty));
|
|
|
|
|