winlin

nginx never keep the metadata.

@@ -279,8 +279,7 @@ int SrsSource::on_meta_data(SrsCommonMessage* msg, SrsOnMetaDataPacket* metadata @@ -279,8 +279,7 @@ int SrsSource::on_meta_data(SrsCommonMessage* msg, SrsOnMetaDataPacket* metadata
279 { 279 {
280 int ret = ERROR_SUCCESS; 280 int ret = ERROR_SUCCESS;
281 281
282 - metadata->metadata->set("server", new SrsAmf0String(RTMP_SIG_SRS_KEY));  
283 - metadata->metadata->set("srs_server", new SrsAmf0String( 282 + metadata->metadata->set("server", new SrsAmf0String(
284 RTMP_SIG_SRS_KEY" "RTMP_SIG_SRS_VERSION" ("RTMP_SIG_SRS_URL_SHORT")")); 283 RTMP_SIG_SRS_KEY" "RTMP_SIG_SRS_VERSION" ("RTMP_SIG_SRS_URL_SHORT")"));
285 284
286 SrsAmf0Any* prop = NULL; 285 SrsAmf0Any* prop = NULL;