winlin

refine code

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