AddRtsLiveStreamTranscodeRequest.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_
  17. #define ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/live/LiveExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Live
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_LIVE_EXPORT AddRtsLiveStreamTranscodeRequest : public RpcServiceRequest
  29. {
  30. public:
  31. AddRtsLiveStreamTranscodeRequest();
  32. ~AddRtsLiveStreamTranscodeRequest();
  33. std::string get_Template()const;
  34. void set_Template(const std::string& _template);
  35. bool getDeleteBframes()const;
  36. void setDeleteBframes(bool deleteBframes);
  37. std::string getLazy()const;
  38. void setLazy(const std::string& lazy);
  39. std::string getGop()const;
  40. void setGop(const std::string& gop);
  41. bool getOpus()const;
  42. void setOpus(bool opus);
  43. std::string getAudioCodec()const;
  44. void setAudioCodec(const std::string& audioCodec);
  45. std::string getTemplateType()const;
  46. void setTemplateType(const std::string& templateType);
  47. std::string getAudioProfile()const;
  48. void setAudioProfile(const std::string& audioProfile);
  49. int getHeight()const;
  50. void setHeight(int height);
  51. std::string getApp()const;
  52. void setApp(const std::string& app);
  53. int getAudioChannelNum()const;
  54. void setAudioChannelNum(int audioChannelNum);
  55. int getProfile()const;
  56. void setProfile(int profile);
  57. int getFPS()const;
  58. void setFPS(int fPS);
  59. long getOwnerId()const;
  60. void setOwnerId(long ownerId);
  61. int getAudioRate()const;
  62. void setAudioRate(int audioRate);
  63. int getAudioBitrate()const;
  64. void setAudioBitrate(int audioBitrate);
  65. std::string getDomain()const;
  66. void setDomain(const std::string& domain);
  67. int getWidth()const;
  68. void setWidth(int width);
  69. int getVideoBitrate()const;
  70. void setVideoBitrate(int videoBitrate);
  71. private:
  72. std::string _template_;
  73. bool deleteBframes_;
  74. std::string lazy_;
  75. std::string gop_;
  76. bool opus_;
  77. std::string audioCodec_;
  78. std::string templateType_;
  79. std::string audioProfile_;
  80. int height_;
  81. std::string app_;
  82. int audioChannelNum_;
  83. int profile_;
  84. int fPS_;
  85. long ownerId_;
  86. int audioRate_;
  87. int audioBitrate_;
  88. std::string domain_;
  89. int width_;
  90. int videoBitrate_;
  91. };
  92. }
  93. }
  94. }
  95. #endif // !ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_