mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update donation
This commit is contained in:
parent
0fd23c85cc
commit
ac13817aae
4 changed files with 27 additions and 13 deletions
|
@ -256,6 +256,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
}
|
||||
|
||||
u_int32_t pre_timestamp = 0;
|
||||
for (;;) {
|
||||
int size;
|
||||
char type;
|
||||
|
@ -267,10 +268,11 @@ int main(int argc, char** argv)
|
|||
goto rtmp_destroy;
|
||||
}
|
||||
|
||||
if (srs_human_print_rtmp_packet(type, timestamp, data, size) != 0) {
|
||||
if (srs_human_print_rtmp_packet2(type, timestamp, data, size, pre_timestamp) != 0) {
|
||||
srs_human_trace("print rtmp packet failed.");
|
||||
goto rtmp_destroy;
|
||||
}
|
||||
pre_timestamp = timestamp;
|
||||
|
||||
// we only write some types of messages to flv file.
|
||||
int is_flv_msg = type == SRS_RTMP_TYPE_AUDIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue