mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
must user pithy print for mpegts print.
This commit is contained in:
parent
70c8fe13c4
commit
153a3a6c42
1 changed files with 2 additions and 1 deletions
|
@ -213,7 +213,8 @@ int SrsMpegtsOverUdp::on_ts_message(SrsTsMessage* msg)
|
||||||
// 14496-2 video stream number xxxx
|
// 14496-2 video stream number xxxx
|
||||||
// ((stream_id >> 4) & 0x0f) == SrsTsPESStreamIdVideo
|
// ((stream_id >> 4) & 0x0f) == SrsTsPESStreamIdVideo
|
||||||
|
|
||||||
srs_trace("mpegts: got %s stream=%s, dts=%"PRId64", pts=%"PRId64", size=%d, us=%d, cc=%d, sid=%#x(%s-%d)",
|
// TODO: FIXME: support pithy print.
|
||||||
|
srs_info("mpegts: got %s stream=%s, dts=%"PRId64", pts=%"PRId64", size=%d, us=%d, cc=%d, sid=%#x(%s-%d)",
|
||||||
(msg->channel->apply == SrsTsPidApplyVideo)? "Video":"Audio", srs_ts_stream2string(msg->channel->stream).c_str(),
|
(msg->channel->apply == SrsTsPidApplyVideo)? "Video":"Audio", srs_ts_stream2string(msg->channel->stream).c_str(),
|
||||||
msg->dts, msg->pts, msg->payload->length(), msg->packet->payload_unit_start_indicator, msg->continuity_counter, msg->sid,
|
msg->dts, msg->pts, msg->payload->length(), msg->packet->payload_unit_start_indicator, msg->continuity_counter, msg->sid,
|
||||||
msg->is_audio()? "A":msg->is_video()? "V":"N", msg->stream_number());
|
msg->is_audio()? "A":msg->is_video()? "V":"N", msg->stream_number());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue