From 77e43d18134479421144fc896d2e9fc2f5a32c75 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 18 Jan 2015 22:11:38 +0800 Subject: [PATCH] refine comments of aac publish for #212 --- trunk/research/librtmp/srs_aac_raw_publish.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/trunk/research/librtmp/srs_aac_raw_publish.c b/trunk/research/librtmp/srs_aac_raw_publish.c index 847e15d327..9e401b872d 100644 --- a/trunk/research/librtmp/srs_aac_raw_publish.c +++ b/trunk/research/librtmp/srs_aac_raw_publish.c @@ -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;