AddRtsLiveStreamTranscodeRequest.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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 <alibabacloud/live/LiveExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Live {
  25. namespace Model {
  26. class ALIBABACLOUD_LIVE_EXPORT AddRtsLiveStreamTranscodeRequest : public RpcServiceRequest {
  27. public:
  28. AddRtsLiveStreamTranscodeRequest();
  29. ~AddRtsLiveStreamTranscodeRequest();
  30. std::string get_Template() const;
  31. void set_Template(const std::string &_template);
  32. bool getDeleteBframes() const;
  33. void setDeleteBframes(bool deleteBframes);
  34. std::string getLazy() const;
  35. void setLazy(const std::string &lazy);
  36. std::string getGop() const;
  37. void setGop(const std::string &gop);
  38. bool getOpus() const;
  39. void setOpus(bool opus);
  40. std::string getAudioCodec() const;
  41. void setAudioCodec(const std::string &audioCodec);
  42. std::string getRegionId() const;
  43. void setRegionId(const std::string &regionId);
  44. std::string getTemplateType() const;
  45. void setTemplateType(const std::string &templateType);
  46. std::string getAudioProfile() const;
  47. void setAudioProfile(const std::string &audioProfile);
  48. int getHeight() const;
  49. void setHeight(int height);
  50. std::string getApp() const;
  51. void setApp(const std::string &app);
  52. int getAudioChannelNum() const;
  53. void setAudioChannelNum(int audioChannelNum);
  54. int getProfile() const;
  55. void setProfile(int profile);
  56. int getFPS() const;
  57. void setFPS(int fPS);
  58. long getOwnerId() const;
  59. void setOwnerId(long ownerId);
  60. int getAudioRate() const;
  61. void setAudioRate(int audioRate);
  62. int getAudioBitrate() const;
  63. void setAudioBitrate(int audioBitrate);
  64. std::string getDomain() const;
  65. void setDomain(const std::string &domain);
  66. int getWidth() const;
  67. void setWidth(int width);
  68. int getVideoBitrate() const;
  69. void setVideoBitrate(int videoBitrate);
  70. private:
  71. std::string _template_;
  72. bool deleteBframes_;
  73. std::string lazy_;
  74. std::string gop_;
  75. bool opus_;
  76. std::string audioCodec_;
  77. std::string regionId_;
  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. } // namespace Model
  93. } // namespace Live
  94. } // namespace AlibabaCloud
  95. #endif // !ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_