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

@ -538,7 +538,7 @@ int SrsRtmpConn::playing(SrsSource* source)
duration += msg->header.timestamp - starttime;
starttime = msg->header.timestamp;
if ((ret = rtmp->send_and_free_message(msg)) != ERROR_SUCCESS) {
if ((ret = rtmp->send_and_free_message(msg, res->stream_id)) != ERROR_SUCCESS) {
srs_error("send message to client failed. ret=%d", ret);
return ret;
}