Skip to content

Commit

Permalink
Merge pull request #3172 from ant-media/fix/sfu-audio-video-sync
Browse files Browse the repository at this point in the history
Write stderr to log/antmedia-error.log
  • Loading branch information
mekya authored Apr 19, 2021
2 parents ef8cb84 + 2c00778 commit 97955ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/server/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ fi

export RED5_CLASSPATH="${RED5_HOME}/ant-media-server-service.jar${P}${RED5_HOME}/conf${P}${CLASSPATH}"

# start Red5
# create log directory
mkdir log

# start Ant Media Server
echo "Starting Ant Media Server"
exec "$JAVA" -Dred5.root="${RED5_HOME}" $JAVA_OPTS -cp "${RED5_CLASSPATH}" "$RED5_MAINCLASS" $RED5_OPTS
exec "$JAVA" -Dred5.root="${RED5_HOME}" $JAVA_OPTS -cp "${RED5_CLASSPATH}" "$RED5_MAINCLASS" $RED5_OPTS 2>>${RED5_HOME}/log/antmedia-error.log

0 comments on commit 97955ff

Please sign in to comment.