using ProtoBuf;
using Quasar.Common.Video;

namespace Quasar.Common.Messages
{
    /// <summary>
    /// Sent by the client over TCP once it has connected its UDP sender.
    /// Carries codec metadata so the server can set up its decoder before UDP frames arrive.
    /// </summary>
    [ProtoContract]
    public class GetDesktopUdpReady : IMessage
    {
        [ProtoMember(1)]
        public int Quality { get; set; }

        [ProtoMember(2)]
        public int Monitor { get; set; }

        [ProtoMember(3)]
        public Resolution Resolution { get; set; }
    }
}
