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:
parent
952abbee03
commit
2c059d3a80
10 changed files with 19 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue