Reply to thread

Another thing:

I am fixing the DLNA Server right now and with my sample videos I get a huuuge amoint of these exceptions:



This is because the MimeType is often Video/Unknown in my DB... Can't we have some kind of fallback profile and log a warning instead of an exception?


Edit:

The code of all evil :D


[code]else if (container == VideoContainer.Hls)

      {

        if (videoCodec == VideoCodec.H264 && (audioCodec == AudioCodec.Unknown || audioCodec == AudioCodec.Aac))

        {

          valuesProfiles.Add("HLS");

        }

      }

      else

      {

        throw new Exception("Video does not match any supported DLNA profile");

      }[/code]


Top Bottom