mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
migarate from winlinvip to srs org
This commit is contained in:
parent
b3bd007f0d
commit
115daa3cc1
117 changed files with 323 additions and 323 deletions
|
@ -38,7 +38,7 @@ help:
|
|||
@echo "Remark: srs Makefile will auto invoke this by --with/without-ssl, "
|
||||
@echo " that is, if user specified ssl(by --with-ssl), srs will make this by 'make ssl'"
|
||||
@echo " that is, if user not use ssl(by --without-ssl), use 'make nossl'"
|
||||
@echo " see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_v1_Build"
|
||||
@echo " see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_v1_Build"
|
||||
@echo "Remark: before make this sample, user must make the srs, with/without ssl"
|
||||
|
||||
clean:
|
||||
|
|
|
@ -35,7 +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-64145910
|
||||
// https://github.com/simple-rtmp-server/srs/issues/212#issuecomment-64145910
|
||||
int read_audio_frame(char* data, int size, char** pp, char** frame, int* frame_size)
|
||||
{
|
||||
char* p = *pp;
|
||||
|
@ -79,7 +79,7 @@ int main(int argc, char** argv)
|
|||
printf("For example:\n");
|
||||
printf(" %s ./audio.raw.aac rtmp://127.0.0.1:1935/live/livestream\n", argv[0]);
|
||||
printf("Where the file: http://winlinvip.github.io/srs.release/3rdparty/audio.raw.aac\n");
|
||||
printf("See: https://github.com/winlinvip/simple-rtmp-server/issues/212\n");
|
||||
printf("See: https://github.com/simple-rtmp-server/srs/issues/212\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ gcc srs_audio_raw_publish.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_
|
|||
|
||||
#include "../../objs/include/srs_librtmp.h"
|
||||
|
||||
// https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-63648892
|
||||
// https://github.com/simple-rtmp-server/srs/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.
|
||||
|
@ -77,7 +77,7 @@ int main(int argc, char** argv)
|
|||
printf("For example:\n");
|
||||
printf(" %s ./audio.raw.pcm rtmp://127.0.0.1:1935/live/livestream\n", argv[0]);
|
||||
printf("Where the file: http://winlinvip.github.io/srs.release/3rdparty/audio.raw.pcm\n");
|
||||
printf("See: https://github.com/winlinvip/simple-rtmp-server/issues/212\n");
|
||||
printf("See: https://github.com/simple-rtmp-server/srs/issues/212\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ int main(int argc, char** argv)
|
|||
printf("For example:\n");
|
||||
printf(" %s ./720p.h264.raw rtmp://127.0.0.1:1935/live/livestream\n", argv[0]);
|
||||
printf("Where the file: http://winlinvip.github.io/srs.release/3rdparty/720p.h264.raw\n");
|
||||
printf("See: https://github.com/winlinvip/simple-rtmp-server/issues/66\n");
|
||||
printf("See: https://github.com/simple-rtmp-server/srs/issues/66\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
|
|
@ -46,12 +46,12 @@ int main(int argc, char** argv)
|
|||
}
|
||||
|
||||
// warn it .
|
||||
// @see: https://github.com/winlinvip/simple-rtmp-server/issues/126
|
||||
// @see: https://github.com/simple-rtmp-server/srs/issues/126
|
||||
srs_human_trace("\033[33m%s\033[0m",
|
||||
"[warning] it's only a sample to use librtmp. "
|
||||
"please never use it to publish and test forward/transcode/edge/HLS whatever. "
|
||||
"you should refer to this tool to use the srs-librtmp to publish the real media stream."
|
||||
"read about: https://github.com/winlinvip/simple-rtmp-server/issues/126");
|
||||
"read about: https://github.com/simple-rtmp-server/srs/issues/126");
|
||||
srs_human_trace("rtmp url: %s", argv[1]);
|
||||
srs_rtmp_t rtmp = srs_rtmp_create(argv[1]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue