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

refine code

This commit is contained in:
winlin 2013-11-28 15:12:08 +08:00
parent af5e7f002f
commit ecebedfed2

View file

@ -384,7 +384,7 @@ int SrsClient::process_publish_message(SrsSource* source, SrsCommonMessage* msg,
int ret = ERROR_SUCCESS; int ret = ERROR_SUCCESS;
// process audio packet // process audio packet
if (false && msg->header.is_audio()) { if (msg->header.is_audio()) {
if ((ret = source->on_audio(msg)) != ERROR_SUCCESS) { if ((ret = source->on_audio(msg)) != ERROR_SUCCESS) {
srs_error("source process audio message failed. ret=%d", ret); srs_error("source process audio message failed. ret=%d", ret);
return ret; return ret;