瀏覽代碼

Add support cn-shenzhen region.

sdk-team 6 年之前
父節點
當前提交
6e880496ba
共有 4 個文件被更改,包括 7 次插入1 次删除
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 1 0
      vod/include/alibabacloud/vod/model/GetMezzanineInfoResult.h
  4. 2 0
      vod/src/model/GetMezzanineInfoResult.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-06-22 Version: 1.36.471
+- Add support cn-shenzhen region.
+
 2020-06-22 Version: 1.36.470
 2020-06-22 Version: 1.36.470
 - Add GetMultipleTrace api.
 - Add GetMultipleTrace api.
 - Add SearchTracesByPage api.
 - Add SearchTracesByPage api.

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.470
+1.36.471

+ 1 - 0
vod/include/alibabacloud/vod/model/GetMezzanineInfoResult.h

@@ -66,6 +66,7 @@ namespace AlibabaCloud
 						std::string lang;
 						std::string lang;
 						std::string pixFmt;
 						std::string pixFmt;
 						std::string codecName;
 						std::string codecName;
+						std::string bitrate;
 						std::string profile;
 						std::string profile;
 						std::string avgFPS;
 						std::string avgFPS;
 						std::string timebase;
 						std::string timebase;

+ 2 - 0
vod/src/model/GetMezzanineInfoResult.cc

@@ -154,6 +154,8 @@ void GetMezzanineInfoResult::parse(const std::string &payload)
 			videoStreamObject.lang = mezzanineNodeVideoStreamListVideoStream["Lang"].asString();
 			videoStreamObject.lang = mezzanineNodeVideoStreamListVideoStream["Lang"].asString();
 		if(!mezzanineNodeVideoStreamListVideoStream["Rotate"].isNull())
 		if(!mezzanineNodeVideoStreamListVideoStream["Rotate"].isNull())
 			videoStreamObject.rotate = mezzanineNodeVideoStreamListVideoStream["Rotate"].asString();
 			videoStreamObject.rotate = mezzanineNodeVideoStreamListVideoStream["Rotate"].asString();
+		if(!mezzanineNodeVideoStreamListVideoStream["Bitrate"].isNull())
+			videoStreamObject.bitrate = mezzanineNodeVideoStreamListVideoStream["Bitrate"].asString();
 		mezzanine_.videoStreamList.push_back(videoStreamObject);
 		mezzanine_.videoStreamList.push_back(videoStreamObject);
 	}
 	}