Camera960X540SenderV2.cs 658 B

123456789101112131415
  1. using Vinno.FIS.TRTCClient.Common.Enum;
  2. namespace Vinno.FIS.TRTCClient.ImageSender
  3. {
  4. internal class Camera960X540SenderV2 : CameraImageSenderV2
  5. {
  6. public Camera960X540SenderV2(string id, int width, int height, EnumLiveChannelCategory liveChannelCategory, bool isFillMode, int deviceWidth, int deviceHeight) : base(id, width, height, liveChannelCategory, isFillMode, deviceWidth, deviceHeight)
  7. {
  8. SendImageWidth = 960;
  9. SendImageHeight = 544;
  10. PushFrameBuffer = new byte[SendImageWidth * SendImageHeight * ChannelNumer];
  11. TotalLineLength = SendImageWidth * ChannelNumer;
  12. }
  13. }
  14. }