正在显示
1 个修改的文件
包含
1 行增加
和
6 行删除
| @@ -35,12 +35,7 @@ gcc srs_aac_raw_publish.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_aa | @@ -35,12 +35,7 @@ gcc srs_aac_raw_publish.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_aa | ||
| 35 | 35 | ||
| 36 | #include "../../objs/include/srs_librtmp.h" | 36 | #include "../../objs/include/srs_librtmp.h" |
| 37 | 37 | ||
| 38 | -// https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-63648892 | ||
| 39 | -// allspace: | ||
| 40 | -// Take this file as an example: https://github.com/allspace/files/blob/master/srs.pcm | ||
| 41 | -// It's captured using SDK callback method. I have filtered out h264 video, so it's audio only now. | ||
| 42 | -// For every frame, it's a 8 bytes vendor specific header, following 160 bytes audio frame. | ||
| 43 | -// The header part can be ignored. | 38 | +// https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-64145910 |
| 44 | int read_audio_frame(char* data, int size, char** pp, char** frame, int* frame_size) | 39 | int read_audio_frame(char* data, int size, char** pp, char** frame, int* frame_size) |
| 45 | { | 40 | { |
| 46 | char* p = *pp; | 41 | char* p = *pp; |
-
请 注册 或 登录 后发表评论