mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add srs publish/play demo use srs-librtmp
This commit is contained in:
parent
713b05541b
commit
44375b9e6b
4 changed files with 128 additions and 84 deletions
13
trunk/research/librtmp/Makefile
Executable file → Normal file
13
trunk/research/librtmp/Makefile
Executable file → Normal file
|
@ -1,7 +1,12 @@
|
|||
.PHONY: clean
|
||||
.PHONY: default clean
|
||||
|
||||
default: srs_publish srs_play
|
||||
|
||||
clean:
|
||||
@rm -f srs_publish srs_play
|
||||
|
||||
srs_publish: srs_publish.c Makefile ../../objs/include/srs_librtmp.h ../../objs/lib/srs_librtmp.a
|
||||
gcc srs_publish.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_publish
|
||||
|
||||
clean:
|
||||
@rm -f srs_publish
|
||||
|
||||
srs_play: srs_play.c Makefile ../../objs/include/srs_librtmp.h ../../objs/lib/srs_librtmp.a
|
||||
gcc srs_play.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_play
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue