winlin

must user pithy print for mpegts print.

@@ -213,7 +213,8 @@ int SrsMpegtsOverUdp::on_ts_message(SrsTsMessage* msg) @@ -213,7 +213,8 @@ int SrsMpegtsOverUdp::on_ts_message(SrsTsMessage* msg)
213 // 14496-2 video stream number xxxx 213 // 14496-2 video stream number xxxx
214 // ((stream_id >> 4) & 0x0f) == SrsTsPESStreamIdVideo 214 // ((stream_id >> 4) & 0x0f) == SrsTsPESStreamIdVideo
215 215
216 - srs_trace("mpegts: got %s stream=%s, dts=%"PRId64", pts=%"PRId64", size=%d, us=%d, cc=%d, sid=%#x(%s-%d)", 216 + // TODO: FIXME: support pithy print.
  217 + srs_info("mpegts: got %s stream=%s, dts=%"PRId64", pts=%"PRId64", size=%d, us=%d, cc=%d, sid=%#x(%s-%d)",
217 (msg->channel->apply == SrsTsPidApplyVideo)? "Video":"Audio", srs_ts_stream2string(msg->channel->stream).c_str(), 218 (msg->channel->apply == SrsTsPidApplyVideo)? "Video":"Audio", srs_ts_stream2string(msg->channel->stream).c_str(),
218 msg->dts, msg->pts, msg->payload->length(), msg->packet->payload_unit_start_indicator, msg->continuity_counter, msg->sid, 219 msg->dts, msg->pts, msg->payload->length(), msg->packet->payload_unit_start_indicator, msg->continuity_counter, msg->sid,
219 msg->is_audio()? "A":msg->is_video()? "V":"N", msg->stream_number()); 220 msg->is_audio()? "A":msg->is_video()? "V":"N", msg->stream_number());