/src/IpCamEmu.Core/MJpeg/MJpegServerSettings.cs
C# | 36 lines | 29 code | 7 blank | 0 comment | 0 complexity | 7a66eb4df7491c8978bc9fb19c39802b MD5 | raw file
- using System;
- using HDE.IpCamEmu.Core.Source;
- using HDE.Platform.Logging;
-
- namespace HDE.IpCamEmu.Core.MJpeg
- {
- [Serializable]
- public class MJpegServerSettings : ServerSettingsBase
- {
- #region Properties
-
- public string Uri { get; private set; }
- public uint FrameDelay { get; private set; }
-
- #endregion
-
- #region Constructors
-
- public MJpegServerSettings(
- string uri,
- uint frameDelay,
- SourceSettings sourceSettings)
- {
- Uri = uri;
- FrameDelay = frameDelay;
- SourceSettings = sourceSettings;
- }
-
- #endregion
-
- public override IDisposable CreateServer(ILog log)
- {
- return new MJpegServer(log, this);
- }
- }
- }