mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-26 11:52:22 +08:00
rtmp协议metadata设置title字段
This commit is contained in:
@@ -99,7 +99,7 @@ public:
|
||||
*/
|
||||
virtual void setMetaData(const AMFValue &metadata) {
|
||||
_metadata = metadata;
|
||||
_metadata.set("server", kServerName);
|
||||
_metadata.set("title", std::string("Streamed by ") + kServerName);
|
||||
_have_video = _metadata["videocodecid"];
|
||||
_have_audio = _metadata["audiocodecid"];
|
||||
if (_ring) {
|
||||
|
||||
Reference in New Issue
Block a user