Camera480X360SenderV2.cs 659 B

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