@@ -153,15 +153,15 @@ MODULE_FILES=("srs_kernel_error" "srs_kernel_log" "srs_kernel_stream"
153
153
KERNEL_INCS=" src/kernel" ; MODULE_DIR=${KERNEL_INCS} . auto/modules.sh
154
154
KERNEL_OBJS=" ${MODULE_OBJS[@]} "
155
155
#
156
- # RTMP Protocol, depends on core/kernel, provides rtmp/htttp protocol features.
156
+ # RTMP/HTTP/Raw Protocol, depends on core/kernel, provides rtmp/htttp protocol features.
157
157
MODULE_ID=" PROTOCOL"
158
158
MODULE_DEPENDS=(" CORE" " KERNEL" )
159
159
ModuleLibIncs=(${SRS_OBJS_DIR} ${LibSSLRoot} )
160
160
MODULE_FILES=(" srs_rtmp_amf0" " srs_rtmp_io" " srs_rtmp_stack" " srs_rtmp_sdk"
161
161
" srs_rtmp_handshake" " srs_rtmp_utility" " srs_rtmp_msg_array" " srs_protocol_buffer"
162
162
" srs_raw_avc" " srs_rtsp_stack" " srs_http_stack" " srs_protocol_kbps" )
163
- RTMP_INCS =" src/protocol" ; MODULE_DIR=${RTMP_INCS } . auto/modules.sh
164
- RTMP_OBJS =" ${MODULE_OBJS[@]} "
163
+ PROTOCOL_INCS =" src/protocol" ; MODULE_DIR=${PROTOCOL_INCS } . auto/modules.sh
164
+ PROTOCOL_OBJS =" ${MODULE_OBJS[@]} "
165
165
#
166
166
# App Module
167
167
if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
@@ -228,7 +228,7 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
228
228
# all depends libraries
229
229
ModuleLibFiles=(${LibSTfile} ${LibHttpParserfile} ${LibSSLfile} ${LibGperfFile} )
230
230
# all depends objects
231
- MODULE_OBJS=" ${CORE_OBJS[@]} ${KERNEL_OBJS[@]} ${RTMP_OBJS [@]} ${APP_OBJS[@]} ${MAIN_OBJS[@]} "
231
+ MODULE_OBJS=" ${CORE_OBJS[@]} ${KERNEL_OBJS[@]} ${PROTOCOL_OBJS [@]} ${APP_OBJS[@]} ${MAIN_OBJS[@]} "
232
232
LINK_OPTIONS=" ${SrsLinkOptions}${SrsGprofLink}${SrsGperfLink} "
233
233
#
234
234
# srs: srs(simple rtmp server) over st(state-threads)
@@ -246,7 +246,7 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
246
246
fi
247
247
# srs librtmp
248
248
if [ $SRS_LIBRTMP = YES ]; then
249
- MODULE_OBJS=" ${CORE_OBJS[@]} ${KERNEL_OBJS[@]} ${RTMP_OBJS [@]} ${LIBS_OBJS[@]} "
249
+ MODULE_OBJS=" ${CORE_OBJS[@]} ${KERNEL_OBJS[@]} ${PROTOCOL_OBJS [@]} ${LIBS_OBJS[@]} "
250
250
BUILD_KEY=" librtmp" LIB_NAME=" lib/srs_librtmp" . auto/libs.sh
251
251
fi
252
252
#
@@ -258,7 +258,7 @@ if [ $SRS_UTEST = YES ]; then
258
258
ModuleLibIncs=(${SRS_OBJS_DIR} ${LibSTRoot} ${LibSSLRoot} )
259
259
ModuleLibFiles=(${LibSTfile} ${LibHttpParserfile} ${LibSSLfile} )
260
260
MODULE_DEPENDS=(" CORE" " KERNEL" " PROTOCOL" " APP" )
261
- MODULE_OBJS=" ${CORE_OBJS[@]} ${KERNEL_OBJS[@]} ${RTMP_OBJS [@]} ${APP_OBJS[@]} "
261
+ MODULE_OBJS=" ${CORE_OBJS[@]} ${KERNEL_OBJS[@]} ${PROTOCOL_OBJS [@]} ${APP_OBJS[@]} "
262
262
LINK_OPTIONS=" -lpthread ${SrsLinkOptions} " MODULE_DIR=" src/utest" APP_NAME=" srs_utest" . auto/utest.sh
263
263
fi
264
264
0 commit comments