mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Deprecated srs-librtmp.
This commit is contained in:
parent
8b595c4cdf
commit
9cdd506b4f
2 changed files with 10 additions and 8 deletions
|
@ -127,14 +127,14 @@ int main(int argc, char** argv)
|
|||
|
||||
END
|
||||
|
||||
# compile the example
|
||||
(cd $SRS_EXPORT_LIBRTMP_SINGLE && echo "${SRS_SINGLE_LIBRTMP_COMPILE}" &&
|
||||
`${SRS_SINGLE_LIBRTMP_COMPILE}` && ./example && rm -f example)
|
||||
ret=$?; if [[ $ret -ne 0 ]]; then
|
||||
echo "(cd $SRS_EXPORT_LIBRTMP_SINGLE && ${SRS_SINGLE_LIBRTMP_COMPILE} && ./example && rm -f example)"
|
||||
echo -e "${RED}failed to compile example.${BLACK}"
|
||||
exit $ret
|
||||
fi
|
||||
## compile the example
|
||||
#(cd $SRS_EXPORT_LIBRTMP_SINGLE && echo "${SRS_SINGLE_LIBRTMP_COMPILE}" &&
|
||||
#`${SRS_SINGLE_LIBRTMP_COMPILE}` && ./example && rm -f example)
|
||||
#ret=$?; if [[ $ret -ne 0 ]]; then
|
||||
# echo "(cd $SRS_EXPORT_LIBRTMP_SINGLE && ${SRS_SINGLE_LIBRTMP_COMPILE} && ./example && rm -f example)"
|
||||
# echo -e "${RED}failed to compile example.${BLACK}"
|
||||
# exit $ret
|
||||
#fi
|
||||
|
||||
# clear the files for srs-librtmp project, generated by generate-srs-librtmp-project.sh
|
||||
(cd $SRS_EXPORT_LIBRTMP_SINGLE && rm -rf auto $SRS_OBJS_DIR research src Makefile)
|
||||
|
|
2
trunk/configure
vendored
2
trunk/configure
vendored
|
@ -735,4 +735,6 @@ else
|
|||
echo -e "${GREEN}Please use the srs-librtmp project: ${BLACK}"
|
||||
echo -e "${GREEN} cd $SRS_EXPORT_LIBRTMP_PROJECT && make ${BLACK}"
|
||||
fi
|
||||
# Change to experiment.
|
||||
echo -e "${YELLOW}Warning: Notice srs-librtmp is deprecated and maybe removed in future.${BLACK}"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue