1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix bug of connect app response data

This commit is contained in:
winlin 2014-02-19 09:38:49 +08:00
parent 11c5b2cf14
commit 73b298cab5

View file

@ -630,7 +630,8 @@ int SrsRtmp::response_connect_app(SrsRequest *req, const char* server_ip)
SrsASrsAmf0EcmaArray* data = new SrsASrsAmf0EcmaArray();
pkt->info->set("data", data);
data->set("srs_version", new SrsAmf0String(RTMP_SIG_FMS_VER));
data->set("version", new SrsAmf0String(RTMP_SIG_FMS_VER));
data->set("srs_sig", new SrsAmf0String(RTMP_SIG_SRS_KEY));
data->set("srs_server", new SrsAmf0String(RTMP_SIG_SRS_KEY" "RTMP_SIG_SRS_VERSION" ("RTMP_SIG_SRS_URL_SHORT")"));
data->set("srs_license", new SrsAmf0String(RTMP_SIG_SRS_LICENSE));
data->set("srs_role", new SrsAmf0String(RTMP_SIG_SRS_ROLE));