修改常量命名

This commit is contained in:
ziyue
2021-10-16 16:58:03 +08:00
parent 8769ea83a9
commit f5f58196b5
12 changed files with 19 additions and 19 deletions

View File

@@ -101,7 +101,7 @@ public:
*/
virtual void setMetaData(const AMFValue &metadata) {
_metadata = metadata;
_metadata.set("server", SERVER_NAME);
_metadata.set("server", kServerName);
_have_video = _metadata["videocodecid"];
_have_audio = _metadata["audiocodecid"];
if (_ring) {