Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-01-18 22:11:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
77e43d18134479421144fc896d2e9fc2f5a32c75
77e43d18
1 parent
c0a77527
refine comments of aac publish for #212
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
6 行删除
trunk/research/librtmp/srs_aac_raw_publish.c
trunk/research/librtmp/srs_aac_raw_publish.c
查看文件 @
77e43d1
...
...
@@ -35,12 +35,7 @@ gcc srs_aac_raw_publish.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_aa
#include "../../objs/include/srs_librtmp.h"
// https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-63648892
// allspace:
// Take this file as an example: https://github.com/allspace/files/blob/master/srs.pcm
// It's captured using SDK callback method. I have filtered out h264 video, so it's audio only now.
// For every frame, it's a 8 bytes vendor specific header, following 160 bytes audio frame.
// The header part can be ignored.
// https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-64145910
int
read_audio_frame
(
char
*
data
,
int
size
,
char
**
pp
,
char
**
frame
,
int
*
frame_size
)
{
char
*
p
=
*
pp
;
...
...
请
注册
或
登录
后发表评论