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:
parent
11c5b2cf14
commit
73b298cab5
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue