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

fix bug #72, also need stream_id for send_and_free_message. 0.9.101

This commit is contained in:
winlin 2014-05-17 17:53:27 +08:00
parent 952abbee03
commit 2c059d3a80
10 changed files with 19 additions and 15 deletions

View file

@ -491,7 +491,7 @@ int SrsEdgeForwarder::cycle()
srs_assert(msg);
msgs[i] = NULL;
if ((ret = client->send_and_free_message(msg)) != ERROR_SUCCESS) {
if ((ret = client->send_and_free_message(msg, stream_id)) != ERROR_SUCCESS) {
srs_error("edge publish forwarder send message to server failed. ret=%d", ret);
return ret;
}