Skip to content

Commit

Permalink
refine comments of aac publish for #212
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jan 18, 2015
1 parent c0a7752 commit 77e43d1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions trunk/research/librtmp/srs_aac_raw_publish.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 77e43d1

Please # to comment.