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

Free rtc publish. Refactor TAB to spaces

This commit is contained in:
winlin 2020-04-25 22:30:55 +08:00
parent cd3c15ec4e
commit ebdc03416a
6 changed files with 46 additions and 155 deletions

View file

@ -63,13 +63,13 @@ SrsRtpHeader::~SrsRtpHeader()
srs_error_t SrsRtpHeader::decode(SrsBuffer* stream)
{
srs_error_t err = srs_success;
srs_error_t err = srs_success;
if (stream->size() < kRtpHeaderFixedSize) {
return srs_error_new(ERROR_RTC_RTP_MUXER, "rtp payload incorrect");
}
/*
/*
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+