mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #2200, Enable RTC and FLV for GB28181
This commit is contained in:
parent
548fcd627b
commit
fdaee20b81
12 changed files with 1289 additions and 845 deletions
|
@ -269,6 +269,15 @@ function OSX_prepare()
|
|||
echo "Please install pkg-config"; exit -1;
|
||||
fi
|
||||
|
||||
if [[ $SRS_GB28181 == YES ]]; then
|
||||
if [[ ! -f /usr/local/opt/libiconv/lib/libiconv.a ]]; then
|
||||
echo "install libiconv"
|
||||
echo "brew install libiconv"
|
||||
brew install libiconv; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi
|
||||
echo "install libiconv success"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "OSX install tools success"
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue