mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the type of RTMP from int to char. add srs_parse_timestamp(), 2.0.19
This commit is contained in:
parent
9b2da59eeb
commit
7ebca6cb5b
10 changed files with 180 additions and 55 deletions
|
@ -75,7 +75,7 @@ int main(int argc, char** argv)
|
|||
|
||||
u_int32_t timestamp = 0;
|
||||
for (;;) {
|
||||
int type = SRS_RTMP_TYPE_VIDEO;
|
||||
char type = SRS_RTMP_TYPE_VIDEO;
|
||||
int size = 4096;
|
||||
char* data = (char*)malloc(4096);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue