1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- using Vinno.vCloud.FIS.CrossPlatform.Common.Consultation.Interface;
- using Vinno.vCloud.FIS.CrossPlatform.Common.Enum;
- using Vinno.vCloud.FIS.CrossPlatform.Common.Hardware.Interface;
- using Vinno.vCloud.FIS.CrossPlatform.Common.LiveVideo.Interface;
- using Vinno.vCloud.FIS.CrossPlatform.Common.Log.Interface;
- namespace Vinno.vCloud.FIS.CrossPlatform.Common
- {
- public class CrossPlatformHelper
- {
- private static CrossPlatformHelper _instance;
- /// <summary>
- /// The unique instance of app manager
- /// </summary>
- public static CrossPlatformHelper Instance => _instance ?? (_instance = new CrossPlatformHelper());
- public EnumPlatform Platform { get; set; }
- /// <summary>
- /// Gets or sets LiveVideoPusherCreator to create pusher for different platform
- /// </summary>
- public ILiveVideoPusherCreator LiveVideoPusherCreator { get; set; }
- /// <summary>
- /// Gets or sets the LiveVideoPusherCreatorForSonopost
- /// </summary>
- public ILiveVideoPusherCreatorForSonopost LiveVideoPusherCreatorForSonopost { get; set; }
- /// <summary>
- /// Gets or sets the LiveVideoPusherCreatorV2
- /// </summary>
- public ILiveVideoPusherCreatorV2 LiveVideoPusherCreatorV2 { get; set; }
- /// <summary>
- /// Gets or sets the creator to create rtc room.
- /// </summary>
- public IRtcRoomCreator RtcRoomCreator { get; set; }
- /// <summary>
- /// Gets or sets the live video player creator.
- /// </summary>
- public IRtmpPlayerCreator RtmpPlayerCreator { get; set; }
- /// <summary>
- /// Gets or sets the live pusher creator.
- /// </summary>
- public IRtmpPusherCreator RtmpPusherCreator { get; set; }
- /// <summary>
- /// Gets or sets the hardware detector.
- /// </summary>
- public IHardwareDetector HardwareDetector { get; set; }
- /// <summary>
- /// Gets or sets the image helper
- /// </summary>
- public IImageHelperCreator ImageHelperCreator { get; set; }
- /// <summary>
- /// Gets or sets the Log Writer
- /// </summary>
- public ILogWriter LogWriter { get; set; }
- /// <summary>
- /// Gets or sets the capturer Creator
- /// </summary>
- public ICapturerCreator CapturerCreator { get; set; }
- /// <summary>
- /// Gets or sets the driverHelper
- /// </summary>
- public IDriverHelper DriverHelper { get; set; }
- /// <summary>
- /// Gets or sets the StrokeHelper
- /// </summary>
- public IStrokeHelper StrokeHelper { get; set; }
- }
- }
|