123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- using Vinno.vCloud.FIS.CrossPlatform.Common.Consultation.Interface;
- 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());
- /// <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; }
- }
- }
|