diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index 5e87d55f0..a843868a3 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -381,14 +381,14 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then _ST_MAKE=darwin-debug && _ST_EXTRA_CFLAGS="EXTRA_CFLAGS=-DMD_HAVE_KQUEUE" fi # memory leak for linux-optimized - # @see: https://github.com/winlinvip/simple-rtmp-server/issues/197 + # @see: https://github.com/simple-rtmp-server/srs/issues/197 if [ $SRS_EMBEDED_CPU = YES ]; then # ok, arm specified, if the flag filed does not exists, need to rebuild. if [[ -f ${SRS_OBJS}/_flag.st.arm.tmp && -f ${SRS_OBJS}/st/libst.a ]]; then echo "st-1.9t for arm is ok."; else # TODO: FIXME: patch the bug. - # patch st for arm, @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLinuxArm#st-arm-bug-fix + # patch st for arm, @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SrsLinuxArm#st-arm-bug-fix echo "build st-1.9t for arm"; ( rm -rf ${SRS_OBJS}/st-1.9 && cd ${SRS_OBJS} && diff --git a/trunk/auto/generate-srs-librtmp-single.sh b/trunk/auto/generate-srs-librtmp-single.sh index 913fbb250..1faaee0b3 100755 --- a/trunk/auto/generate-srs-librtmp-single.sh +++ b/trunk/auto/generate-srs-librtmp-single.sh @@ -97,7 +97,7 @@ SRS_SINGLE_LIBRTMP_COMPILE='gcc example.c srs_librtmp.cpp -g -O0 -lstdc++ -o exa cat << END >$FILE /** # Example to use srs-librtmp -# see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp +# see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_SrsLibrtmp ${SRS_SINGLE_LIBRTMP_COMPILE} */ #include diff --git a/trunk/auto/options.sh b/trunk/auto/options.sh index d90f3f556..5864e9cf4 100755 --- a/trunk/auto/options.sh +++ b/trunk/auto/options.sh @@ -79,7 +79,7 @@ SRS_MIPS_UBUNTU12=NO SRS_DEV=NO # dev, open main server feature for dev, no utest/research/librtmp SRS_FAST_DEV=NO -# demo, for the demo of srs, @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleDemo +# demo, for the demo of srs, @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleDemo SRS_DEMO=NO # raspberry-pi, open hls/ssl/static SRS_PI=NO @@ -182,7 +182,7 @@ Presets: --disable-all disable all features, only support vp6 RTMP. --dev for dev, open all features, no nginx/gperf/gprof/arm. --fast-dev for dev fast compile, the RTMP server, without librtmp/utest/research. - --demo for srs demo, @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleDemo + --demo for srs demo, @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleDemo --full enable all features, no gperf/gprof/arm. Conflicts: diff --git a/trunk/auto/summary.sh b/trunk/auto/summary.sh index f1134e750..cbe5cc075 100755 --- a/trunk/auto/summary.sh +++ b/trunk/auto/summary.sh @@ -35,7 +35,7 @@ BLACK="\\${BLACK}" echo -e "\${GREEN}build summary:\${BLACK}" echo -e " \${BLACK}+------------------------------------------------------------------------------------\${BLACK}" -echo -e " |${SrsGperfSummaryColor}gperf @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_GPERF\${BLACK}" +echo -e " |${SrsGperfSummaryColor}gperf @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_GPERF\${BLACK}" echo -e " | ${SrsGperfMCSummaryColor}gmc @see: http://google-perftools.googlecode.com/svn/trunk/doc/heap_checker.html\${BLACK}" echo -e " | ${SrsGperfMCSummaryColor}gmc: gperf memory check\${BLACK}" echo -e " | ${SrsGperfMCSummaryColor}env PPROF_PATH=./objs/pprof HEAPCHECK=normal ./objs/srs -c conf/console.conf # start gmc\${BLACK}" @@ -51,7 +51,7 @@ echo -e " | ${SrsGperfCPSummaryColor}rm -f gperf.srs.gcp*; ./obj echo -e " | ${SrsGperfCPSummaryColor}killall -2 srs # or CTRL+C to stop gcp\${BLACK}" echo -e " | ${SrsGperfCPSummaryColor}./objs/pprof --text objs/srs gperf.srs.gcp* # to analysis cpu profile\${BLACK}" echo -e " \${BLACK}+------------------------------------------------------------------------------------\${BLACK}" -echo -e " |${SrsGprofSummaryColor}gprof @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_GPROF\${BLACK}" +echo -e " |${SrsGprofSummaryColor}gprof @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_GPROF\${BLACK}" echo -e " |${SrsGprofSummaryColor}gprof: GNU profile tool, @see: http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html\${BLACK}" echo -e " | ${SrsGprofSummaryColor}rm -f gmon.out; ./objs/srs -c conf/console.conf # start gprof\${BLACK}" echo -e " | ${SrsGprofSummaryColor}killall -2 srs # or CTRL+C to stop gprof\${BLACK}" @@ -59,7 +59,7 @@ echo -e " | ${SrsGprofSummaryColor}gprof -b ./objs/srs gmon.out > gprof. echo -e " \${BLACK}+------------------------------------------------------------------------------------\${BLACK}" echo -e " |${SrsUtestSummaryColor}utest: ./objs/srs_utest, the utest for srs\${BLACK}" echo -e " \${BLACK}+------------------------------------------------------------------------------------\${BLACK}" -echo -e " |${SrsLibrtmpSummaryColor}librtmp @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLibrtmp\${BLACK}" +echo -e " |${SrsLibrtmpSummaryColor}librtmp @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SrsLibrtmp\${BLACK}" echo -e " |${SrsLibrtmpSummaryColor}librtmp: ./objs/include, ./objs/lib, the srs-librtmp library\${BLACK}" echo -e " | ${SrsLibrtmpSummaryColor}simple handshake: publish/play stream with simple handshake to server\${BLACK}" echo -e " | ${SrsLibrtmpSSLSummaryColor}complex handshake: it's not required for client, recommend disable it\${BLACK}" @@ -70,38 +70,38 @@ echo -e " | ${SrsLibrtmpSummaryColor}librtmp-sample: ./research/librtmp/ echo -e " | ${SrsLibrtmpSummaryColor}librtmp-sample: ./research/librtmp/objs/srs_bandwidth_check\${BLACK}" echo -e " \${BLACK}+------------------------------------------------------------------------------------\${BLACK}" echo -e " |${SrsResearchSummaryColor}research: ./objs/research, api server, players, ts info, librtmp.\${BLACK}" -echo -e " | ${SrsResearchSummaryColor} @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples\${BLACK}" +echo -e " | ${SrsResearchSummaryColor} @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples\${BLACK}" echo -e " \${BLACK}+------------------------------------------------------------------------------------\${BLACK}" -echo -e " |\${GREEN}tools: important tool, others @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples\${BLACK}" +echo -e " |\${GREEN}tools: important tool, others @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples\${BLACK}" echo -e " | \${GREEN}./objs/srs_ingest_hls -i http://ossrs.net/live/livestream.m3u8 -y rtmp://127.0.0.1/live/livestream\${BLACK}" echo -e " \${BLACK}+------------------------------------------------------------------------------------\${BLACK}" echo -e " |\${GREEN}server: ./objs/srs -c conf/srs.conf, start the srs server\${BLACK}" -echo -e " | ${SrsHlsSummaryColor}hls @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHLS\${BLACK}" +echo -e " | ${SrsHlsSummaryColor}hls @see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHLS\${BLACK}" echo -e " | ${SrsHlsSummaryColor}hls: generate m3u8 and ts from rtmp stream\${BLACK}" -echo -e " | ${SrsDvrSummaryColor}dvr @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DVR\${BLACK}" +echo -e " | ${SrsDvrSummaryColor}dvr @see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DVR\${BLACK}" echo -e " | ${SrsDvrSummaryColor}dvr: record RTMP stream to flv files.\${BLACK}" -echo -e " | ${SrsNginxSummaryColor}nginx @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHLS\${BLACK}" +echo -e " | ${SrsNginxSummaryColor}nginx @see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHLS\${BLACK}" echo -e " | ${SrsNginxSummaryColor}nginx: delivery HLS stream by nginx\${BLACK}" echo -e " | ${SrsNginxSummaryColor}nginx: sudo ./objs/nginx/sbin/nginx\${BLACK}" -echo -e " | ${SrsSslSummaryColor}ssl @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_RTMPHandshake\${BLACK}" +echo -e " | ${SrsSslSummaryColor}ssl @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_RTMPHandshake\${BLACK}" echo -e " | ${SrsSslSummaryColor}ssl: support RTMP complex handshake for client required, for instance, flash\${BLACK}" -echo -e " | ${SrsFfmpegSummaryColor}ffmpeg @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_FFMPEG\${BLACK}" +echo -e " | ${SrsFfmpegSummaryColor}ffmpeg @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_FFMPEG\${BLACK}" echo -e " | ${SrsFfmpegSummaryColor}ffmpeg: transcode, mux, ingest tool\${BLACK}" echo -e " | ${SrsFfmpegSummaryColor}ffmpeg: ./objs/ffmpeg/bin/ffmpeg\${BLACK}" -echo -e " | ${SrsTranscodeSummaryColor}transcode @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_FFMPEG\${BLACK}" +echo -e " | ${SrsTranscodeSummaryColor}transcode @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_FFMPEG\${BLACK}" echo -e " | ${SrsTranscodeSummaryColor}transcode: support transcoding RTMP stream\${BLACK}" -echo -e " | ${SrsIngestSummaryColor}ingest @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Ingest\${BLACK}" +echo -e " | ${SrsIngestSummaryColor}ingest @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Ingest\${BLACK}" echo -e " | ${SrsIngestSummaryColor}ingest: support ingest file/stream/device then push to SRS by RTMP stream\${BLACK}" -echo -e " | ${SrsHttpCallbackSummaryColor}http-callback @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_HTTPCallback\${BLACK}" +echo -e " | ${SrsHttpCallbackSummaryColor}http-callback @see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_HTTPCallback\${BLACK}" echo -e " | ${SrsHttpCallbackSummaryColor}http-callback: support http callback for authentication and event injection\${BLACK}" -echo -e " | ${SrsHttpServerSummaryColor}http-server @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_HTTPServer\${BLACK}" +echo -e " | ${SrsHttpServerSummaryColor}http-server @see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_HTTPServer\${BLACK}" echo -e " | ${SrsHttpServerSummaryColor}http-server: support http server to delivery http stream\${BLACK}" -echo -e " | ${SrsHttpApiSummaryColor}http-api @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_HTTPApi\${BLACK}" +echo -e " | ${SrsHttpApiSummaryColor}http-api @see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_HTTPApi\${BLACK}" echo -e " | ${SrsHttpApiSummaryColor}http-api: support http api to manage server\${BLACK}" -echo -e " | ${SrsStreamCasterSummaryColor}stream-caster @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_Streamer\${BLACK}" +echo -e " | ${SrsStreamCasterSummaryColor}stream-caster @see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_Streamer\${BLACK}" echo -e " | ${SrsStreamCasterSummaryColor}stream-caster: start server to cast stream over other protocols.\${BLACK}" echo -e " \${BLACK}+------------------------------------------------------------------------------------\${BLACK}" -echo -e "\${GREEN}binaries @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_Build\${BLACK}" +echo -e "\${GREEN}binaries @see: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_Build\${BLACK}" echo "You can:" echo " ./objs/srs -c conf/srs.conf" @@ -123,6 +123,6 @@ echo -e "\${GREEN} objs/include/srs_librtmp.h\${BLACK}" echo -e "\${GREEN} objs/lib/srs_librtmp.a\${BLACK}" echo -e "\${BLACK}Examples for srs-librtmp at:\${BLACK}" echo -e "\${GREEN} objs/research/librtmp\${BLACK}" -echo -e "\${GREEN} Examples: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples\${BLACK}" +echo -e "\${GREEN} Examples: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples\${BLACK}" END fi diff --git a/trunk/conf/demo.19350.conf b/trunk/conf/demo.19350.conf index 0aada8e33..e85579c7e 100644 --- a/trunk/conf/demo.19350.conf +++ b/trunk/conf/demo.19350.conf @@ -1,5 +1,5 @@ # the config for srs demo -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleDemo +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleDemo # @see full.conf for detail config. listen 19350; diff --git a/trunk/conf/demo.conf b/trunk/conf/demo.conf index 362fb9d0a..60b80f5b6 100644 --- a/trunk/conf/demo.conf +++ b/trunk/conf/demo.conf @@ -1,5 +1,5 @@ # the config for srs demo -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleDemo +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleDemo # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/dvr.path.conf b/trunk/conf/dvr.path.conf index cb07d6612..9dcbb20ec 100644 --- a/trunk/conf/dvr.path.conf +++ b/trunk/conf/dvr.path.conf @@ -1,6 +1,6 @@ # the config for srs to dvr in custom path. -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DVR#custom-path -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_DVR#custom-path +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DVR#custom-path +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_EN_DVR#custom-path # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/dvr.segment.conf b/trunk/conf/dvr.segment.conf index eeae6a2a5..44af9dd5e 100644 --- a/trunk/conf/dvr.segment.conf +++ b/trunk/conf/dvr.segment.conf @@ -1,5 +1,5 @@ # the config for srs to dvr in segment mode -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DVR +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DVR # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/dvr.session.conf b/trunk/conf/dvr.session.conf index addc2113e..1eb5dad4d 100644 --- a/trunk/conf/dvr.session.conf +++ b/trunk/conf/dvr.session.conf @@ -1,5 +1,5 @@ # the config for srs to dvr in session mode -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DVR +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DVR # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/edge.conf b/trunk/conf/edge.conf index a77986b6e..c018dfc11 100644 --- a/trunk/conf/edge.conf +++ b/trunk/conf/edge.conf @@ -1,5 +1,5 @@ # the config for srs origin-edge cluster -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Edge +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Edge # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/edge.token.traverse.conf b/trunk/conf/edge.token.traverse.conf index bff8749f6..f17324013 100644 --- a/trunk/conf/edge.token.traverse.conf +++ b/trunk/conf/edge.token.traverse.conf @@ -1,5 +1,5 @@ # the config for srs for token traverse authentication -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DRM +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_DRM # @see full.conf for detail config. listen 1935 diff --git a/trunk/conf/ffmpeg.transcode.conf b/trunk/conf/ffmpeg.transcode.conf index 66c63cfbc..e2de8d960 100644 --- a/trunk/conf/ffmpeg.transcode.conf +++ b/trunk/conf/ffmpeg.transcode.conf @@ -1,5 +1,5 @@ # the config for srs use ffmpeg to transcode -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleFFMPEG +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleFFMPEG # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/forward.master.conf b/trunk/conf/forward.master.conf index 8200b1c5f..18d9bc16f 100644 --- a/trunk/conf/forward.master.conf +++ b/trunk/conf/forward.master.conf @@ -1,5 +1,5 @@ # the config for srs to forward -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleForward +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleForward # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/forward.slave.conf b/trunk/conf/forward.slave.conf index ff2dd53ed..67a746214 100644 --- a/trunk/conf/forward.slave.conf +++ b/trunk/conf/forward.slave.conf @@ -1,5 +1,5 @@ # the config for srs to forward -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleForward +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleForward # @see full.conf for detail config. listen 19350; diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index bc6e9d46d..78911b92f 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -151,7 +151,7 @@ http_server { # Streamer sections ############################################################################################# # the streamer cast stream from other protocol to SRS over RTMP. -# @see https://github.com/winlinvip/simple-rtmp-server/tree/develop#stream-architecture +# @see https://github.com/simple-rtmp-server/srs/tree/develop#stream-architecture stream_caster { # whether stream caster is enabled. # default: off @@ -208,7 +208,7 @@ vhost __defaultVhost__ { # the security to allow or deny clients. vhost security.srs.com { # security for host to allow or deny clients. - # @see https://github.com/winlinvip/simple-rtmp-server/issues/211 + # @see https://github.com/simple-rtmp-server/srs/issues/211 security { # whether enable the security for vhost. # default: off @@ -241,10 +241,10 @@ vhost mrw.srs.com { # for min latence mode: # 1. disable the mr for vhost. # 2. use timeout for cond wait for consumer queue. - # @see https://github.com/winlinvip/simple-rtmp-server/issues/257 + # @see https://github.com/simple-rtmp-server/srs/issues/257 # default: off min_latency off; - # about MR, read https://github.com/winlinvip/simple-rtmp-server/issues/241 + # about MR, read https://github.com/simple-rtmp-server/srs/issues/241 mr { # whether enable the MR(merged-read) # default: off @@ -346,8 +346,8 @@ vhost dvr.srs.com { # dvr_path /data/[vhost]/[app]/[2006]/[01]/[stream]-[02]-[15].[04].[05].[999].flv; # => # dvr_path /data/ossrs.net/live/2015/01/livestream-03-10.57.30.776.flv; - # @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DVR#custom-path - # @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_DVR#custom-path + # @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DVR#custom-path + # @see https://github.com/simple-rtmp-server/srs/wiki/v2_EN_DVR#custom-path # segment,session apply it. # default: ./objs/nginx/html/[app]/[stream].[timestamp].flv dvr_path ./objs/nginx/html/[app]/[stream].[timestamp].flv; @@ -379,8 +379,8 @@ vhost dvr.srs.com { # on_dvr, never config in here, should config in http_hooks. # for the dvr http callback, @see http_hooks.on_dvr of vhost hooks.callback.srs.com - # @read https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DVR#http-callback - # @read https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_DVR#http-callback + # @read https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DVR#http-callback + # @read https://github.com/simple-rtmp-server/srs/wiki/v2_EN_DVR#http-callback } } @@ -518,7 +518,7 @@ vhost with-hls.srs.com { # the hls m3u8 target duration ratio, # EXT-X-TARGETDURATION = hls_td_ratio * hls_fragment // init # EXT-X-TARGETDURATION = max(ts_duration, EXT-X-TARGETDURATION) // for each ts - # @see https://github.com/winlinvip/simple-rtmp-server/issues/304#issuecomment-74000081 + # @see https://github.com/simple-rtmp-server/srs/issues/304#issuecomment-74000081 # default: 1.5 hls_td_ratio 1.5; # the audio overflow ratio. @@ -534,7 +534,7 @@ vhost with-hls.srs.com { # ignore, when error ignore and disable hls. # disconnect, when error disconnect the publish connection. # continue, when error ignore and continue output hls. - # @see https://github.com/winlinvip/simple-rtmp-server/issues/264 + # @see https://github.com/simple-rtmp-server/srs/issues/264 # default: ignore hls_on_error ignore; # the hls storage: disk, ram or both. @@ -572,8 +572,8 @@ vhost with-hls.srs.com { # [999], repleace this const to current millisecond. # [timestamp],replace this const to current UNIX timestamp in ms. # [seq], the sequence number of ts. - # @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DVR#custom-path - # @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHLS#hls-config + # @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DVR#custom-path + # @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHLS#hls-config # default: [app]/[stream]-[seq].ts hls_ts_file [app]/[stream]-[seq].ts; # whether use floor for the hls_ts_file path generation. @@ -626,8 +626,8 @@ vhost with-hls.srs.com { # on_hls, never config in here, should config in http_hooks. # for the hls http callback, @see http_hooks.on_hls of vhost hooks.callback.srs.com - # @read https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHLS#http-callback - # @read https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_DeliveryHLS#http-callback + # @read https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHLS#http-callback + # @read https://github.com/simple-rtmp-server/srs/wiki/v2_EN_DeliveryHLS#http-callback # on_hls_notify, never config in here, should config in http_hooks. # we support the variables to generate the notify url: @@ -635,8 +635,8 @@ vhost with-hls.srs.com { # [stream], replace with the stream. # [ts_url], replace with the ts url. # for the hls http callback, @see http_hooks.on_hls_notify of vhost hooks.callback.srs.com - # @read https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHLS#on-hls-notify - # @read https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_DeliveryHLS#on-hls-notify + # @read https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHLS#on-hls-notify + # @read https://github.com/simple-rtmp-server/srs/wiki/v2_EN_DeliveryHLS#on-hls-notify } } # the vhost with hls disabled. @@ -808,7 +808,7 @@ vhost debug.srs.com { # it's strongly recommend to open the debug_srs_upnode, # when connect to upnode, it will take the debug info, # for example, the id, source id, pid. - # please see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLog + # please see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SrsLog # default: on debug_srs_upnode on; } diff --git a/trunk/conf/hds.conf b/trunk/conf/hds.conf index ade6f5b27..cae629118 100644 --- a/trunk/conf/hds.conf +++ b/trunk/conf/hds.conf @@ -1,5 +1,5 @@ # the config for srs to delivery hds -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHDS +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleHDS # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/hls.conf b/trunk/conf/hls.conf index 698a9e577..2787fe523 100644 --- a/trunk/conf/hls.conf +++ b/trunk/conf/hls.conf @@ -1,5 +1,5 @@ # the config for srs to delivery hls -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHLS +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleHLS # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/http.aac.live.conf b/trunk/conf/http.aac.live.conf index bb0f9a3a2..f59669055 100644 --- a/trunk/conf/http.aac.live.conf +++ b/trunk/conf/http.aac.live.conf @@ -1,5 +1,5 @@ # the config for srs to remux rtmp to aac live stream. -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/http.flv.live.conf b/trunk/conf/http.flv.live.conf index b9d2f09c4..f8c56b2f2 100644 --- a/trunk/conf/http.flv.live.conf +++ b/trunk/conf/http.flv.live.conf @@ -1,5 +1,5 @@ # the config for srs to remux rtmp to flv live stream. -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/http.hls.conf b/trunk/conf/http.hls.conf index 19d3622cc..4cd6d8adf 100644 --- a/trunk/conf/http.hls.conf +++ b/trunk/conf/http.hls.conf @@ -1,5 +1,5 @@ # the config for srs to delivery hls -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHLS +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleHLS # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/http.mp3.live.conf b/trunk/conf/http.mp3.live.conf index 332ca6451..a8047f4f0 100644 --- a/trunk/conf/http.mp3.live.conf +++ b/trunk/conf/http.mp3.live.conf @@ -1,5 +1,5 @@ # the config for srs to remux rtmp to mp3 live stream. -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/http.ts.live.conf b/trunk/conf/http.ts.live.conf index d272c4c5e..e83800ec2 100644 --- a/trunk/conf/http.ts.live.conf +++ b/trunk/conf/http.ts.live.conf @@ -1,5 +1,5 @@ # the config for srs to remux rtmp to ts live stream. -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/ingest.conf b/trunk/conf/ingest.conf index 12fa2b8e5..c9c5ae4c1 100644 --- a/trunk/conf/ingest.conf +++ b/trunk/conf/ingest.conf @@ -1,5 +1,5 @@ # use ffmpeg to ingest file/stream/device to SRS -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleIngest +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleIngest # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/origin.conf b/trunk/conf/origin.conf index 401c5cd25..268e94799 100644 --- a/trunk/conf/origin.conf +++ b/trunk/conf/origin.conf @@ -1,5 +1,5 @@ # the config for srs origin-edge cluster -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Edge +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Edge # @see full.conf for detail config. listen 19350; diff --git a/trunk/conf/push.mpegts.over.udp.conf b/trunk/conf/push.mpegts.over.udp.conf index 209b64e44..b3bcbc1d1 100644 --- a/trunk/conf/push.mpegts.over.udp.conf +++ b/trunk/conf/push.mpegts.over.udp.conf @@ -1,6 +1,6 @@ # push MPEG-TS over UDP to SRS. -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_Streamer#push-mpeg-ts-over-udp -# @see https://github.com/winlinvip/simple-rtmp-server/issues/250#issuecomment-72321769 +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_Streamer#push-mpeg-ts-over-udp +# @see https://github.com/simple-rtmp-server/srs/issues/250#issuecomment-72321769 # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/push.rtsp.conf b/trunk/conf/push.rtsp.conf index ab3486b68..b9f497646 100644 --- a/trunk/conf/push.rtsp.conf +++ b/trunk/conf/push.rtsp.conf @@ -1,6 +1,6 @@ # push MPEG-TS over UDP to SRS. -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_Streamer#push-mpeg-ts-over-udp -# @see https://github.com/winlinvip/simple-rtmp-server/issues/250#issuecomment-72321769 +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_Streamer#push-mpeg-ts-over-udp +# @see https://github.com/simple-rtmp-server/srs/issues/250#issuecomment-72321769 # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/ram.hls.conf b/trunk/conf/ram.hls.conf index 6b1aa1ad3..61f1e6075 100644 --- a/trunk/conf/ram.hls.conf +++ b/trunk/conf/ram.hls.conf @@ -1,5 +1,5 @@ # the config for srs to delivery hls -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHLS +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleHLS # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/realtime.conf b/trunk/conf/realtime.conf index 4ac824b6f..4257019b3 100644 --- a/trunk/conf/realtime.conf +++ b/trunk/conf/realtime.conf @@ -1,5 +1,5 @@ # the config for srs to delivery realtime RTMP stream -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SampleRealtime +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_SampleRealtime # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/rtmp.conf b/trunk/conf/rtmp.conf index 38212b79e..934c65266 100644 --- a/trunk/conf/rtmp.conf +++ b/trunk/conf/rtmp.conf @@ -1,5 +1,5 @@ # the config for srs to delivery RTMP -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleRTMP +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleRTMP # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/security.deny.publish.conf b/trunk/conf/security.deny.publish.conf index a2c6e59da..abefd029c 100644 --- a/trunk/conf/security.deny.publish.conf +++ b/trunk/conf/security.deny.publish.conf @@ -1,5 +1,5 @@ # security config for srs, allow play and deny publish. -# @see https://github.com/winlinvip/simple-rtmp-server/issues/211#issuecomment-68507035 +# @see https://github.com/simple-rtmp-server/srs/issues/211#issuecomment-68507035 # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/transcode2hls.audio.only.conf b/trunk/conf/transcode2hls.audio.only.conf index 8b0fab0de..719cfc8ae 100644 --- a/trunk/conf/transcode2hls.audio.only.conf +++ b/trunk/conf/transcode2hls.audio.only.conf @@ -1,5 +1,5 @@ # the config for srs to delivery hls -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHLS +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleHLS # @see full.conf for detail config. listen 1935; diff --git a/trunk/conf/transform.edge.conf b/trunk/conf/transform.edge.conf index b16dbb9dc..964c796dd 100644 --- a/trunk/conf/transform.edge.conf +++ b/trunk/conf/transform.edge.conf @@ -1,5 +1,5 @@ # the config for srs origin-edge cluster -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_Edge#transform-vhost +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_Edge#transform-vhost # @see full.conf for detail config. listen 1935; diff --git a/trunk/configure b/trunk/configure index 56441f410..067c91ca4 100755 --- a/trunk/configure +++ b/trunk/configure @@ -412,7 +412,7 @@ install-api: install @echo " sudo ln -sf \$(SRS_PREFIX)/etc/init.d/srs-api /etc/init.d/srs-api" @echo " /etc/init.d/srs-api start" @echo " http://\$(shell bash auto/local_ip.sh):8085" - @echo "@see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_LinuxService" + @echo "@see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_LinuxService" install: @echo "mkdir \$(__REAL_INSTALL)" @@ -434,7 +434,7 @@ install: @echo "srs installed, to link and start srs:" @echo " sudo ln -sf \$(SRS_PREFIX)/etc/init.d/srs /etc/init.d/srs" @echo " /etc/init.d/srs start" - @echo "@see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_LinuxService" + @echo "@see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_LinuxService" END fi diff --git a/trunk/etc/init.d/srs b/trunk/etc/init.d/srs index f25d8bb9b..9cfb7abda 100755 --- a/trunk/etc/init.d/srs +++ b/trunk/etc/init.d/srs @@ -7,7 +7,7 @@ # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: simple-rtmp-server(srs) -# Description: https://github.com/winlinvip/simple-rtmp-server +# Description: https://github.com/simple-rtmp-server/srs ### END INIT INFO # the config of ROOT, user must modify it when start srs from other directory, diff --git a/trunk/etc/init.d/srs-api b/trunk/etc/init.d/srs-api index 8d1f56e52..94e0a57d5 100755 --- a/trunk/etc/init.d/srs-api +++ b/trunk/etc/init.d/srs-api @@ -7,7 +7,7 @@ # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: simple-rtmp-server-api(srs-api) -# Description: https://github.com/winlinvip/simple-rtmp-server +# Description: https://github.com/simple-rtmp-server/srs ### END INIT INFO # the config of ROOT, user must modify it when start srs from other directory, diff --git a/trunk/etc/init.d/srs-demo b/trunk/etc/init.d/srs-demo index b02df8dd3..d8ebd8c38 100755 --- a/trunk/etc/init.d/srs-demo +++ b/trunk/etc/init.d/srs-demo @@ -7,7 +7,7 @@ # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: simple-rtmp-server(srs) -# Description: https://github.com/winlinvip/simple-rtmp-server +# Description: https://github.com/simple-rtmp-server/srs ### END INIT INFO # the config of ROOT, user must modify it when start srs from other directory, diff --git a/trunk/etc/init.d/srs-demo-19350 b/trunk/etc/init.d/srs-demo-19350 index b23677758..3500cd041 100755 --- a/trunk/etc/init.d/srs-demo-19350 +++ b/trunk/etc/init.d/srs-demo-19350 @@ -7,7 +7,7 @@ # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: simple-rtmp-server(srs) -# Description: https://github.com/winlinvip/simple-rtmp-server +# Description: https://github.com/simple-rtmp-server/srs ### END INIT INFO # the config of ROOT, user must modify it when start srs from other directory, diff --git a/trunk/ide/srs_clion/CMakeLists.txt b/trunk/ide/srs_clion/CMakeLists.txt index 082ec1370..80f9c6d78 100755 --- a/trunk/ide/srs_clion/CMakeLists.txt +++ b/trunk/ide/srs_clion/CMakeLists.txt @@ -28,31 +28,31 @@ ELSE(NOT EXISTS ${PROJECT_SOURCE_DIR}/../../objs/st/libst.a) MESSAGE("srs_libs is ok") ENDIF(NOT EXISTS ${PROJECT_SOURCE_DIR}/../../objs/st/libst.a) -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_IDE#jetbrains") -MESSAGE(STATUS "use ./configure && make, @see https://github.com/winlinvip/simple-rtmp-server#usage") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "only for jetbrains IDE, @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_IDE#jetbrains") +MESSAGE(STATUS "use ./configure && make, @see https://github.com/simple-rtmp-server/srs#usage") diff --git a/trunk/research/api-server/server.py b/trunk/research/api-server/server.py index 40451b5cd..62d4acc68 100755 --- a/trunk/research/api-server/server.py +++ b/trunk/research/api-server/server.py @@ -1282,7 +1282,7 @@ if len(sys.argv) <= 1: print "For example:" print " python %s 8085"%(sys.argv[0]) print "" - print "See also: https://github.com/winlinvip/simple-rtmp-server" + print "See also: https://github.com/simple-rtmp-server/srs" sys.exit(1) # parse port from user options. diff --git a/trunk/research/api-server/static-dir/index.html b/trunk/research/api-server/static-dir/index.html index 7607685aa..4a3d3aac8 100755 --- a/trunk/research/api-server/static-dir/index.html +++ b/trunk/research/api-server/static-dir/index.html @@ -44,7 +44,7 @@

diff --git a/trunk/research/arm/jmp.cpp b/trunk/research/arm/jmp.cpp index 7f6606cd4..c19a87ffd 100644 --- a/trunk/research/arm/jmp.cpp +++ b/trunk/research/arm/jmp.cpp @@ -1,5 +1,5 @@ /* -# see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLinuxArm +# see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SrsLinuxArm g++ -g -O0 -o jmp jmp.cpp arm-linux-gnueabi-g++ -o jmp jmp.cpp -static arm-linux-gnueabi-strip jmp diff --git a/trunk/research/arm/jmp_sp.cpp b/trunk/research/arm/jmp_sp.cpp index 884887e71..4fa4bc83a 100644 --- a/trunk/research/arm/jmp_sp.cpp +++ b/trunk/research/arm/jmp_sp.cpp @@ -1,6 +1,6 @@ /* -# see: https://github.com/winlinvip/simple-rtmp-server/issues/190 -# see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLinuxArm +# see: https://github.com/simple-rtmp-server/srs/issues/190 +# see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SrsLinuxArm g++ -g -O0 -o jmp_sp jmp_sp.cpp arm-linux-gnueabi-g++ -g -o jmp_sp jmp_sp.cpp -static arm-linux-gnueabi-strip jmp_sp diff --git a/trunk/research/arm/test.cpp b/trunk/research/arm/test.cpp index 1bad17d1c..26cef0a19 100644 --- a/trunk/research/arm/test.cpp +++ b/trunk/research/arm/test.cpp @@ -1,5 +1,5 @@ /* -# see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLinuxArm +# see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SrsLinuxArm arm-linux-gnueabi-g++ -o test test.cpp -static arm-linux-gnueabi-strip test */ diff --git a/trunk/research/librtmp/Makefile b/trunk/research/librtmp/Makefile index d9a470997..2eed9f4a9 100755 --- a/trunk/research/librtmp/Makefile +++ b/trunk/research/librtmp/Makefile @@ -38,7 +38,7 @@ help: @echo "Remark: srs Makefile will auto invoke this by --with/without-ssl, " @echo " that is, if user specified ssl(by --with-ssl), srs will make this by 'make ssl'" @echo " that is, if user not use ssl(by --without-ssl), use 'make nossl'" - @echo " see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_v1_Build" + @echo " see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_v1_Build" @echo "Remark: before make this sample, user must make the srs, with/without ssl" clean: diff --git a/trunk/research/librtmp/srs_aac_raw_publish.c b/trunk/research/librtmp/srs_aac_raw_publish.c index 9e401b872..579f19f50 100644 --- a/trunk/research/librtmp/srs_aac_raw_publish.c +++ b/trunk/research/librtmp/srs_aac_raw_publish.c @@ -35,7 +35,7 @@ gcc srs_aac_raw_publish.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_aa #include "../../objs/include/srs_librtmp.h" -// https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-64145910 +// https://github.com/simple-rtmp-server/srs/issues/212#issuecomment-64145910 int read_audio_frame(char* data, int size, char** pp, char** frame, int* frame_size) { char* p = *pp; @@ -79,7 +79,7 @@ int main(int argc, char** argv) printf("For example:\n"); printf(" %s ./audio.raw.aac rtmp://127.0.0.1:1935/live/livestream\n", argv[0]); printf("Where the file: http://winlinvip.github.io/srs.release/3rdparty/audio.raw.aac\n"); - printf("See: https://github.com/winlinvip/simple-rtmp-server/issues/212\n"); + printf("See: https://github.com/simple-rtmp-server/srs/issues/212\n"); exit(-1); } diff --git a/trunk/research/librtmp/srs_audio_raw_publish.c b/trunk/research/librtmp/srs_audio_raw_publish.c index 2a84fc3b3..2dfc36c73 100644 --- a/trunk/research/librtmp/srs_audio_raw_publish.c +++ b/trunk/research/librtmp/srs_audio_raw_publish.c @@ -35,7 +35,7 @@ gcc srs_audio_raw_publish.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_ #include "../../objs/include/srs_librtmp.h" -// https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-63648892 +// https://github.com/simple-rtmp-server/srs/issues/212#issuecomment-63648892 // allspace: // Take this file as an example: https://github.com/allspace/files/blob/master/srs.pcm // It's captured using SDK callback method. I have filtered out h264 video, so it's audio only now. @@ -77,7 +77,7 @@ int main(int argc, char** argv) printf("For example:\n"); printf(" %s ./audio.raw.pcm rtmp://127.0.0.1:1935/live/livestream\n", argv[0]); printf("Where the file: http://winlinvip.github.io/srs.release/3rdparty/audio.raw.pcm\n"); - printf("See: https://github.com/winlinvip/simple-rtmp-server/issues/212\n"); + printf("See: https://github.com/simple-rtmp-server/srs/issues/212\n"); exit(-1); } diff --git a/trunk/research/librtmp/srs_h264_raw_publish.c b/trunk/research/librtmp/srs_h264_raw_publish.c index 44530ad57..134b25878 100644 --- a/trunk/research/librtmp/srs_h264_raw_publish.c +++ b/trunk/research/librtmp/srs_h264_raw_publish.c @@ -89,7 +89,7 @@ int main(int argc, char** argv) printf("For example:\n"); printf(" %s ./720p.h264.raw rtmp://127.0.0.1:1935/live/livestream\n", argv[0]); printf("Where the file: http://winlinvip.github.io/srs.release/3rdparty/720p.h264.raw\n"); - printf("See: https://github.com/winlinvip/simple-rtmp-server/issues/66\n"); + printf("See: https://github.com/simple-rtmp-server/srs/issues/66\n"); exit(-1); } diff --git a/trunk/research/librtmp/srs_publish.c b/trunk/research/librtmp/srs_publish.c index bf40fd9ea..44542edb2 100644 --- a/trunk/research/librtmp/srs_publish.c +++ b/trunk/research/librtmp/srs_publish.c @@ -46,12 +46,12 @@ int main(int argc, char** argv) } // warn it . - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/126 + // @see: https://github.com/simple-rtmp-server/srs/issues/126 srs_human_trace("\033[33m%s\033[0m", "[warning] it's only a sample to use librtmp. " "please never use it to publish and test forward/transcode/edge/HLS whatever. " "you should refer to this tool to use the srs-librtmp to publish the real media stream." - "read about: https://github.com/winlinvip/simple-rtmp-server/issues/126"); + "read about: https://github.com/simple-rtmp-server/srs/issues/126"); srs_human_trace("rtmp url: %s", argv[1]); srs_rtmp_t rtmp = srs_rtmp_create(argv[1]); diff --git a/trunk/research/players/index.html b/trunk/research/players/index.html index ee2b2687c..1b5ec57fb 100644 --- a/trunk/research/players/index.html +++ b/trunk/research/players/index.html @@ -56,7 +56,7 @@

diff --git a/trunk/research/players/jwplayer6.html b/trunk/research/players/jwplayer6.html index d95272ab7..b7f41b9f2 100644 --- a/trunk/research/players/jwplayer6.html +++ b/trunk/research/players/jwplayer6.html @@ -126,7 +126,7 @@
diff --git a/trunk/research/players/osmf.html b/trunk/research/players/osmf.html index 379e5ef0c..561acd59c 100644 --- a/trunk/research/players/osmf.html +++ b/trunk/research/players/osmf.html @@ -116,7 +116,7 @@
diff --git a/trunk/research/players/srs_bwt.html b/trunk/research/players/srs_bwt.html index 09f26aac3..43e2a96be 100644 --- a/trunk/research/players/srs_bwt.html +++ b/trunk/research/players/srs_bwt.html @@ -132,7 +132,7 @@
diff --git a/trunk/research/players/srs_chat.html b/trunk/research/players/srs_chat.html index 70eee5bd6..b0cf2f447 100644 --- a/trunk/research/players/srs_chat.html +++ b/trunk/research/players/srs_chat.html @@ -781,7 +781,7 @@

diff --git a/trunk/research/players/srs_player.html b/trunk/research/players/srs_player.html index 0345d16f5..8f506628d 100755 --- a/trunk/research/players/srs_player.html +++ b/trunk/research/players/srs_player.html @@ -306,7 +306,7 @@

- 注意:必须按照SRS DEMO + 注意:必须按照SRS DEMO 启动和设置服务器,下面所有的链接才能观看。
@@ -471,7 +471,7 @@
\ No newline at end of file diff --git a/trunk/research/players/srs_publisher.html b/trunk/research/players/srs_publisher.html index 1bf431b23..6c253f085 100644 --- a/trunk/research/players/srs_publisher.html +++ b/trunk/research/players/srs_publisher.html @@ -460,7 +460,7 @@
diff --git a/trunk/research/players/vlc.html b/trunk/research/players/vlc.html index 18e7561dd..015ac7e88 100644 --- a/trunk/research/players/vlc.html +++ b/trunk/research/players/vlc.html @@ -45,7 +45,7 @@

diff --git a/trunk/research/st/event.c b/trunk/research/st/event.c index 439c8fa9f..10b1dd15a 100644 --- a/trunk/research/st/event.c +++ b/trunk/research/st/event.c @@ -310,7 +310,7 @@ ST_HIDDEN void _st_epoll_dispatch(void) if (_st_epoll_data->pid != getpid()) { // WINLIN: remove it for bug introduced. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/193 + // @see: https://github.com/simple-rtmp-server/srs/issues/193 exit(-1); } diff --git a/trunk/scripts/install.sh b/trunk/scripts/install.sh index 54b0900a9..2b10d0384 100755 --- a/trunk/scripts/install.sh +++ b/trunk/scripts/install.sh @@ -108,7 +108,7 @@ else fi echo "" -echo "see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_LinuxService" +echo "see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_LinuxService" echo "install success, you can:" echo -e "${GREEN} sudo /etc/init.d/srs start${BLACK}" echo "srs root is ${INSTALL}" diff --git a/trunk/scripts/package.sh b/trunk/scripts/package.sh index 901b342e6..6218068b0 100755 --- a/trunk/scripts/package.sh +++ b/trunk/scripts/package.sh @@ -108,7 +108,7 @@ fi ok_msg "real os is ${os_name}-${os_major_version} ${os_release} ${os_machine}" # build srs -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Build +# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Build ok_msg "start build srs" if [ $ARM = YES ]; then ( diff --git a/trunk/scripts/run.sh b/trunk/scripts/run.sh index 81b65ff92..c4d6833ed 100755 --- a/trunk/scripts/run.sh +++ b/trunk/scripts/run.sh @@ -52,4 +52,4 @@ echo -e "${GREEN}请在hosts中添加一行:${BLACK}" echo -e "${RED} $ip demo.srs.com${BLACK}" echo -e "${GREEN}演示地址:${BLACK}" echo -e "${RED} http://$ip:$port${BLACK}" -echo -e "@see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleDemo" +echo -e "@see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleDemo" diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 48ed9bb94..d98a5d254 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -49,7 +49,7 @@ using namespace std; using namespace _srs_internal; -#define SRS_WIKI_URL_LOG "https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLog" +#define SRS_WIKI_URL_LOG "https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SrsLog" // when user config an invalid value, macros to perfer true or false. #define SRS_CONF_PERFER_FALSE(conf_arg) conf_arg == "on" @@ -1650,7 +1650,7 @@ int SrsConfig::check_config() int nb_canbe = max_open_files - nb_consumed_fds - 1; // for each play connections, we open a pipe(2fds) to convert SrsConsumver to io, - // refine performance, @see: https://github.com/winlinvip/simple-rtmp-server/issues/194 + // refine performance, @see: https://github.com/simple-rtmp-server/srs/issues/194 if (nb_total >= max_open_files) { ret = ERROR_SYSTEM_CONFIG_INVALID; srs_error("invalid max_connections=%d, required=%d, system limit to %d, " diff --git a/trunk/src/app/srs_app_config.hpp b/trunk/src/app/srs_app_config.hpp index 5f0a3846a..bd29e999f 100644 --- a/trunk/src/app/srs_app_config.hpp +++ b/trunk/src/app/srs_app_config.hpp @@ -508,7 +508,7 @@ public: * whether debug_srs_upnode is enabled of vhost. * debug_srs_upnode is very important feature for tracable log, * but some server, for instance, flussonic donot support it. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/160 + * @see https://github.com/simple-rtmp-server/srs/issues/160 * @return true when debug_srs_upnode is ok; otherwise, false. * @remark, default true. */ @@ -713,7 +713,7 @@ public: virtual bool get_vhost_edge_token_traverse(std::string vhost); /** * get the transformed vhost for edge, - * @see https://github.com/winlinvip/simple-rtmp-server/issues/372 + * @see https://github.com/simple-rtmp-server/srs/issues/372 */ virtual std::string get_vhost_edge_transform_vhost(std::string vhost); // vhost security section @@ -945,7 +945,7 @@ public: * get the hls hls_on_error config. * the ignore will ignore error and disable hls. * the disconnect will disconnect publish connection. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/264 + * @see https://github.com/simple-rtmp-server/srs/issues/264 */ virtual std::string get_hls_on_error(std::string vhost); /** diff --git a/trunk/src/app/srs_app_conn.cpp b/trunk/src/app/srs_app_conn.cpp index f9372359b..c68c84a6c 100644 --- a/trunk/src/app/srs_app_conn.cpp +++ b/trunk/src/app/srs_app_conn.cpp @@ -37,7 +37,7 @@ SrsConnection::SrsConnection(SrsServer* srs_server, st_netfd_t client_stfd) // the client thread should reap itself, // so we never use joinable. // TODO: FIXME: maybe other thread need to stop it. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/78 + // @see: https://github.com/simple-rtmp-server/srs/issues/78 pthread = new SrsThread("conn", this, 0, false); } diff --git a/trunk/src/app/srs_app_dvr.cpp b/trunk/src/app/srs_app_dvr.cpp index 576ea4dff..730dccb09 100644 --- a/trunk/src/app/srs_app_dvr.cpp +++ b/trunk/src/app/srs_app_dvr.cpp @@ -916,7 +916,7 @@ int SrsDvrSegmentPlan::update_duration(SrsSharedPtrMessage* msg) } // when wait keyframe, ignore if no frame arrived. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/177 + // @see https://github.com/simple-rtmp-server/srs/issues/177 if (_srs_config->get_dvr_wait_keyframe(req->vhost)) { if (!msg->is_video()) { return ret; diff --git a/trunk/src/app/srs_app_edge.cpp b/trunk/src/app/srs_app_edge.cpp index 315f9d41a..3cddfb9d5 100644 --- a/trunk/src/app/srs_app_edge.cpp +++ b/trunk/src/app/srs_app_edge.cpp @@ -218,7 +218,7 @@ int SrsEdgeIngester::connect_app(string ep_server, string ep_port) } // notify server the edge identity, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/147 + // @see https://github.com/simple-rtmp-server/srs/issues/147 SrsAmf0Object* data = req->args; data->set("srs_sig", SrsAmf0Any::str(RTMP_SIG_SRS_KEY)); data->set("srs_server", SrsAmf0Any::str(RTMP_SIG_SRS_SERVER)); @@ -242,7 +242,7 @@ int SrsEdgeIngester::connect_app(string ep_server, string ep_port) data->set("srs_server_ip", SrsAmf0Any::str(local_ip.c_str())); // support vhost tranform for edge, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/372 + // @see https://github.com/simple-rtmp-server/srs/issues/372 std::string vhost = _srs_config->get_vhost_edge_transform_vhost(req->vhost); vhost = srs_string_replace(vhost, "[vhost]", req->vhost); // generate the tcUrl @@ -255,7 +255,7 @@ int SrsEdgeIngester::connect_app(string ep_server, string ep_port) req->tcUrl = tc_url; // upnode server identity will show in the connect_app of client. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/160 + // @see https://github.com/simple-rtmp-server/srs/issues/160 // the debug_srs_upnode is config in vhost and default to true. bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost); if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) { @@ -338,7 +338,7 @@ int SrsEdgeIngester::connect_server(string& ep_server, string& ep_port) SrsConfDirective* conf = _srs_config->get_vhost_edge_origin(_req->vhost); - // @see https://github.com/winlinvip/simple-rtmp-server/issues/79 + // @see https://github.com/simple-rtmp-server/srs/issues/79 // when origin is error, for instance, server is shutdown, // then user remove the vhost then reload, the conf is empty. if (!conf) { @@ -649,7 +649,7 @@ int SrsEdgeForwarder::connect_app(string ep_server, string ep_port) } // notify server the edge identity, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/147 + // @see https://github.com/simple-rtmp-server/srs/issues/147 SrsAmf0Object* data = req->args; data->set("srs_sig", SrsAmf0Any::str(RTMP_SIG_SRS_KEY)); data->set("srs_server", SrsAmf0Any::str(RTMP_SIG_SRS_SERVER)); @@ -673,7 +673,7 @@ int SrsEdgeForwarder::connect_app(string ep_server, string ep_port) data->set("srs_server_ip", SrsAmf0Any::str(local_ip.c_str())); // support vhost tranform for edge, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/372 + // @see https://github.com/simple-rtmp-server/srs/issues/372 std::string vhost = _srs_config->get_vhost_edge_transform_vhost(req->vhost); vhost = srs_string_replace(vhost, "[vhost]", req->vhost); // generate the tcUrl @@ -686,7 +686,7 @@ int SrsEdgeForwarder::connect_app(string ep_server, string ep_port) req->tcUrl = tc_url; // upnode server identity will show in the connect_app of client. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/160 + // @see https://github.com/simple-rtmp-server/srs/issues/160 // the debug_srs_upnode is config in vhost and default to true. bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost); if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) { @@ -823,7 +823,7 @@ int SrsPublishEdge::on_client_publish() return ret; } - // @see https://github.com/winlinvip/simple-rtmp-server/issues/180 + // @see https://github.com/simple-rtmp-server/srs/issues/180 // to avoid multiple publish the same stream on the same edge, // directly enter the publish stage. if (true) { @@ -835,7 +835,7 @@ int SrsPublishEdge::on_client_publish() // start to forward stream to origin. ret = forwarder->start(); - // @see https://github.com/winlinvip/simple-rtmp-server/issues/180 + // @see https://github.com/simple-rtmp-server/srs/issues/180 // when failed, revert to init if (ret != ERROR_SUCCESS) { SrsEdgeState pstate = state; diff --git a/trunk/src/app/srs_app_ffmpeg.cpp b/trunk/src/app/srs_app_ffmpeg.cpp index 502937c88..a90ec3c86 100644 --- a/trunk/src/app/srs_app_ffmpeg.cpp +++ b/trunk/src/app/srs_app_ffmpeg.cpp @@ -171,7 +171,7 @@ int SrsFFMPEG::initialize_transcode(SrsConfDirective* engine) } } - // @see, https://github.com/winlinvip/simple-rtmp-server/issues/145 + // @see, https://github.com/simple-rtmp-server/srs/issues/145 if (acodec == SRS_RTMP_ENCODER_LIBAACPLUS) { if (abitrate < 16 || abitrate > 72) { ret = ERROR_ENCODER_ABITRATE; @@ -205,7 +205,7 @@ int SrsFFMPEG::initialize_transcode(SrsConfDirective* engine) // for not rtmp input, donot append the iformat, // for example, "-f flv" before "-i udp://192.168.1.252:2222" - // @see https://github.com/winlinvip/simple-rtmp-server/issues/290 + // @see https://github.com/simple-rtmp-server/srs/issues/290 if (input.find("rtmp://") != 0) { iformat = ""; } diff --git a/trunk/src/app/srs_app_forward.cpp b/trunk/src/app/srs_app_forward.cpp index 2e0e21a13..66de4bcc2 100644 --- a/trunk/src/app/srs_app_forward.cpp +++ b/trunk/src/app/srs_app_forward.cpp @@ -340,7 +340,7 @@ int SrsForwarder::connect_app(string ep_server, string ep_port) } // notify server the edge identity, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/147 + // @see https://github.com/simple-rtmp-server/srs/issues/147 SrsAmf0Object* data = req->args; data->set("srs_sig", SrsAmf0Any::str(RTMP_SIG_SRS_KEY)); data->set("srs_server", SrsAmf0Any::str(RTMP_SIG_SRS_SERVER)); @@ -368,7 +368,7 @@ int SrsForwarder::connect_app(string ep_server, string ep_port) std::string tc_url = srs_generate_tc_url(ep_server, req->vhost, req->app, ep_port, param); // upnode server identity will show in the connect_app of client. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/160 + // @see https://github.com/simple-rtmp-server/srs/issues/160 // the debug_srs_upnode is config in vhost and default to true. bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost); if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) { diff --git a/trunk/src/app/srs_app_forward.hpp b/trunk/src/app/srs_app_forward.hpp index db944407e..b659d9ee6 100644 --- a/trunk/src/app/srs_app_forward.hpp +++ b/trunk/src/app/srs_app_forward.hpp @@ -67,7 +67,7 @@ private: SrsMessageQueue* queue; /** * cache the sequence header for retry when slave is failed. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/150 + * @see https://github.com/simple-rtmp-server/srs/issues/150 */ SrsSharedPtrMessage* sh_audio; SrsSharedPtrMessage* sh_video; diff --git a/trunk/src/app/srs_app_hls.cpp b/trunk/src/app/srs_app_hls.cpp index 7fb974fe1..ecfe1c793 100644 --- a/trunk/src/app/srs_app_hls.cpp +++ b/trunk/src/app/srs_app_hls.cpp @@ -565,7 +565,7 @@ bool SrsHlsMuxer::wait_keyframe() bool SrsHlsMuxer::is_segment_absolutely_overflow() { - // @see https://github.com/winlinvip/simple-rtmp-server/issues/151#issuecomment-83553950 + // @see https://github.com/simple-rtmp-server/srs/issues/151#issuecomment-83553950 srs_assert(current); // to prevent very small segment. @@ -822,7 +822,7 @@ int SrsHlsMuxer::_refresh_m3u8(string m3u8_file) * rounded to the nearest integer. Its value MUST NOT change. A * typical target duration is 10 seconds. */ - // @see https://github.com/winlinvip/simple-rtmp-server/issues/304#issuecomment-74000081 + // @see https://github.com/simple-rtmp-server/srs/issues/304#issuecomment-74000081 std::vector::iterator it; for (it = segments.begin(); it != segments.end(); ++it) { SrsHlsSegment* segment = *it; @@ -986,9 +986,9 @@ int SrsHlsCache::write_audio(SrsAvcAacCodec* codec, SrsHlsMuxer* muxer, int64_t // for example, pure audio when start, audio/video when publishing, // pure audio again for audio disabled. // so we reap event when the audio incoming when segment overflow. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/151 + // @see https://github.com/simple-rtmp-server/srs/issues/151 // we use absolutely overflow of segment to make jwplayer/ffplay happy - // @see https://github.com/winlinvip/simple-rtmp-server/issues/151#issuecomment-71155184 + // @see https://github.com/simple-rtmp-server/srs/issues/151#issuecomment-71155184 if (cache->audio && muxer->is_segment_absolutely_overflow()) { srs_info("hls: absolute audio reap segment."); if ((ret = reap_segment("audio", muxer, cache->audio->pts)) != ERROR_SUCCESS) { @@ -1264,7 +1264,7 @@ int SrsHls::on_video(SrsSharedPtrMessage* shared_video) sample->frame_type, codec->video_codec_id, sample->avc_packet_type, sample->cts, video->size, video->timestamp); // ignore info frame, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909 + // @see https://github.com/simple-rtmp-server/srs/issues/288#issuecomment-69863909 if (sample->frame_type == SrsCodecVideoAVCFrameVideoInfoFrame) { return ret; } @@ -1304,7 +1304,7 @@ void SrsHls::hls_show_mux_log() // reportable if (pprint->can_print()) { // the run time is not equals to stream time, - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/81#issuecomment-48100994 + // @see: https://github.com/simple-rtmp-server/srs/issues/81#issuecomment-48100994 // it's ok. srs_trace("-> "SRS_CONSTS_LOG_HLS" time=%"PRId64", stream dts=%"PRId64"(%"PRId64"ms), sno=%d, ts=%s, dur=%.2f, dva=%dp", pprint->age(), stream_dts, stream_dts / 90, muxer->sequence_no(), muxer->ts_url().c_str(), diff --git a/trunk/src/app/srs_app_hls.hpp b/trunk/src/app/srs_app_hls.hpp index 05f7098b0..2040e8738 100644 --- a/trunk/src/app/srs_app_hls.hpp +++ b/trunk/src/app/srs_app_hls.hpp @@ -248,12 +248,12 @@ private: /** * the current audio codec, when open new muxer, * set the muxer audio codec. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/301 + * @see https://github.com/simple-rtmp-server/srs/issues/301 */ SrsCodecAudio acodec; /** * the ts context, to keep cc continous between ts. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/375 + * @see https://github.com/simple-rtmp-server/srs/issues/375 */ SrsTsContext* context; public: @@ -295,7 +295,7 @@ public: /** * whether segment absolutely overflow, for pure audio to reap segment, * that is whether the current segment duration>=2*(the segment in config) - * @see https://github.com/winlinvip/simple-rtmp-server/issues/151#issuecomment-71155184 + * @see https://github.com/simple-rtmp-server/srs/issues/151#issuecomment-71155184 */ virtual bool is_segment_absolutely_overflow(); public: diff --git a/trunk/src/app/srs_app_http_hooks.cpp b/trunk/src/app/srs_app_http_hooks.cpp index 5e0c30f4a..657e3115a 100644 --- a/trunk/src/app/srs_app_http_hooks.cpp +++ b/trunk/src/app/srs_app_http_hooks.cpp @@ -428,7 +428,7 @@ int SrsHttpHooks::do_post(std::string url, std::string req, int& code, string& r } // ensure the http status is ok. - // https://github.com/winlinvip/simple-rtmp-server/issues/158 + // https://github.com/simple-rtmp-server/srs/issues/158 if (code != SRS_CONSTS_HTTP_OK) { return ERROR_HTTP_STATUS_INVLIAD; } diff --git a/trunk/src/app/srs_app_mpegts_udp.cpp b/trunk/src/app/srs_app_mpegts_udp.cpp index 9691a74f5..96afb72ba 100644 --- a/trunk/src/app/srs_app_mpegts_udp.cpp +++ b/trunk/src/app/srs_app_mpegts_udp.cpp @@ -461,7 +461,7 @@ int SrsMpegtsOverUdp::write_h264_ipb_frame(char* frame, int frame_size, u_int32_ int ret = ERROR_SUCCESS; // when sps or pps not sent, ignore the packet. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/203 + // @see https://github.com/simple-rtmp-server/srs/issues/203 if (!h264_sps_pps_sent) { return ERROR_H264_DROP_BEFORE_SPS_PPS; } @@ -672,7 +672,7 @@ int SrsMpegtsOverUdp::connect_app(string ep_server, string ep_port) } // notify server the edge identity, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/147 + // @see https://github.com/simple-rtmp-server/srs/issues/147 SrsAmf0Object* data = req->args; data->set("srs_sig", SrsAmf0Any::str(RTMP_SIG_SRS_KEY)); data->set("srs_server", SrsAmf0Any::str(RTMP_SIG_SRS_KEY" "RTMP_SIG_SRS_VERSION" ("RTMP_SIG_SRS_URL_SHORT")")); @@ -700,7 +700,7 @@ int SrsMpegtsOverUdp::connect_app(string ep_server, string ep_port) std::string tc_url = srs_generate_tc_url(ep_server, req->vhost, req->app, ep_port, param); // upnode server identity will show in the connect_app of client. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/160 + // @see https://github.com/simple-rtmp-server/srs/issues/160 // the debug_srs_upnode is config in vhost and default to true. bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost); if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) { diff --git a/trunk/src/app/srs_app_recv_thread.cpp b/trunk/src/app/srs_app_recv_thread.cpp index 1e5db7013..970ece85d 100644 --- a/trunk/src/app/srs_app_recv_thread.cpp +++ b/trunk/src/app/srs_app_recv_thread.cpp @@ -119,8 +119,8 @@ void SrsRecvThread::on_thread_start() // the multiple messages writev improve performance large, // but the timeout recv will cause 33% sys call performance, // to use isolate thread to recv, can improve about 33% performance. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/194 - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/217 + // @see https://github.com/simple-rtmp-server/srs/issues/194 + // @see: https://github.com/simple-rtmp-server/srs/issues/217 rtmp->set_recv_timeout(ST_UTIME_NO_TIMEOUT); handler->on_thread_start(); @@ -258,7 +258,7 @@ SrsPublishRecvThread::SrsPublishRecvThread( mr_fd = mr_sock_fd; // the mr settings, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + // @see https://github.com/simple-rtmp-server/srs/issues/241 mr = _srs_config->get_mr_enabled(req->vhost); mr_sleep = _srs_config->get_mr_sleep_ms(req->vhost); @@ -318,7 +318,7 @@ void SrsPublishRecvThread::on_thread_start() set_socket_buffer(mr_sleep); // disable the merge read - // @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + // @see https://github.com/simple-rtmp-server/srs/issues/241 rtmp->set_merge_read(true, this); } #endif @@ -330,13 +330,13 @@ void SrsPublishRecvThread::on_thread_stop() // for we donot set to false yet. // when thread stop, signal the conn thread which wait. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/244 + // @see https://github.com/simple-rtmp-server/srs/issues/244 st_cond_signal(error); #ifdef SRS_PERF_MERGED_READ if (mr) { // disable the merge read - // @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + // @see https://github.com/simple-rtmp-server/srs/issues/241 rtmp->set_merge_read(false, NULL); } #endif @@ -373,7 +373,7 @@ void SrsPublishRecvThread::on_recv_error(int ret) recv_error_code = ret; // when recv thread error, signal the conn thread to process it. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/244 + // @see https://github.com/simple-rtmp-server/srs/issues/244 st_cond_signal(error); } @@ -392,7 +392,7 @@ void SrsPublishRecvThread::on_read(ssize_t nread) * to improve read performance, merge some packets then read, * when it on and read small bytes, we sleep to wait more data., * that is, we merge some data to read together. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + * @see https://github.com/simple-rtmp-server/srs/issues/241 */ if (nread < SRS_MR_SMALL_BYTES) { st_usleep(mr_sleep * 1000); @@ -409,7 +409,7 @@ int SrsPublishRecvThread::on_reload_vhost_mr(string vhost) } // the mr settings, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + // @see https://github.com/simple-rtmp-server/srs/issues/241 bool mr_enabled = _srs_config->get_mr_enabled(req->vhost); int sleep_ms = _srs_config->get_mr_sleep_ms(req->vhost); @@ -422,13 +422,13 @@ int SrsPublishRecvThread::on_reload_vhost_mr(string vhost) // mr enabled=>disabled if (mr && !mr_enabled) { // disable the merge read - // @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + // @see https://github.com/simple-rtmp-server/srs/issues/241 rtmp->set_merge_read(false, NULL); } // mr disabled=>enabled if (!mr && mr_enabled) { // enable the merge read - // @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + // @see https://github.com/simple-rtmp-server/srs/issues/241 rtmp->set_merge_read(true, this); } #endif diff --git a/trunk/src/app/srs_app_recv_thread.hpp b/trunk/src/app/srs_app_recv_thread.hpp index aa886f0b3..5294aa9ff 100644 --- a/trunk/src/app/srs_app_recv_thread.hpp +++ b/trunk/src/app/srs_app_recv_thread.hpp @@ -103,7 +103,7 @@ public: * the recv thread used to replace the timeout recv, * which hurt performance for the epoll_ctrl is frequently used. * @see: SrsRtmpConn::playing -* @see: https://github.com/winlinvip/simple-rtmp-server/issues/217 +* @see: https://github.com/simple-rtmp-server/srs/issues/217 */ class SrsQueueRecvThread : public ISrsMessageHandler { @@ -136,7 +136,7 @@ public: /** * the publish recv thread got message and callback the source method to process message. -* @see: https://github.com/winlinvip/simple-rtmp-server/issues/237 +* @see: https://github.com/simple-rtmp-server/srs/issues/237 */ class SrsPublishRecvThread : virtual public ISrsMessageHandler #ifdef SRS_PERF_MERGED_READ @@ -151,12 +151,12 @@ private: // the msgs already got. int64_t _nb_msgs; // for mr(merged read), - // @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + // @see https://github.com/simple-rtmp-server/srs/issues/241 bool mr; int mr_fd; int mr_sleep; // for realtime - // @see https://github.com/winlinvip/simple-rtmp-server/issues/257 + // @see https://github.com/simple-rtmp-server/srs/issues/257 bool realtime; // the recv thread error code. int recv_error_code; @@ -166,7 +166,7 @@ private: bool _is_fmle; bool _is_edge; // the error timeout cond - // @see https://github.com/winlinvip/simple-rtmp-server/issues/244 + // @see https://github.com/simple-rtmp-server/srs/issues/244 st_cond_t error; public: SrsPublishRecvThread(SrsRtmpServer* rtmp_sdk, diff --git a/trunk/src/app/srs_app_reload.hpp b/trunk/src/app/srs_app_reload.hpp index 2ac8e3782..df5d0aa2b 100644 --- a/trunk/src/app/srs_app_reload.hpp +++ b/trunk/src/app/srs_app_reload.hpp @@ -36,7 +36,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * when reload callback, the config is updated yet. * * features not support reload, -* @see: https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Reload#notsupportedfeatures +* @see: https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Reload#notsupportedfeatures */ class ISrsReloadHandler { diff --git a/trunk/src/app/srs_app_rtmp_conn.cpp b/trunk/src/app/srs_app_rtmp_conn.cpp index 62feb76cd..ac90f823d 100644 --- a/trunk/src/app/srs_app_rtmp_conn.cpp +++ b/trunk/src/app/srs_app_rtmp_conn.cpp @@ -295,7 +295,7 @@ int SrsRtmpConn::service_cycle() } // do token traverse before serve it. - // @see https://github.com/winlinvip/simple-rtmp-server/pull/239 + // @see https://github.com/simple-rtmp-server/srs/pull/239 if (true) { bool vhost_is_edge = _srs_config->get_vhost_is_edge(req->vhost); bool edge_traverse = _srs_config->get_vhost_edge_token_traverse(req->vhost); @@ -348,7 +348,7 @@ int SrsRtmpConn::service_cycle() // logical accept and retry stream service. if (ret == ERROR_CONTROL_RTMP_CLOSE) { // TODO: FIXME: use ping message to anti-death of socket. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/39 + // @see: https://github.com/simple-rtmp-server/srs/issues/39 // set timeout to a larger value, for user paused. rtmp->set_recv_timeout(SRS_PAUSED_RECV_TIMEOUT_US); rtmp->set_send_timeout(SRS_PAUSED_SEND_TIMEOUT_US); @@ -582,7 +582,7 @@ int SrsRtmpConn::playing(SrsSource* source) srs_verbose("consumer created success."); // use isolate thread to recv, - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/217 + // @see: https://github.com/simple-rtmp-server/srs/issues/217 SrsQueueRecvThread trd(consumer, rtmp, SRS_PERF_MW_SLEEP); // start isolate recv thread. @@ -640,8 +640,8 @@ int SrsRtmpConn::do_playing(SrsSource* source, SrsConsumer* consumer, SrsQueueRe pprint->elapse(); // to use isolate thread to recv, can improve about 33% performance. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/196 - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/217 + // @see: https://github.com/simple-rtmp-server/srs/issues/196 + // @see: https://github.com/simple-rtmp-server/srs/issues/217 while (!trd->empty()) { SrsCommonMessage* msg = trd->pump(); srs_verbose("pump client message to process."); @@ -667,8 +667,8 @@ int SrsRtmpConn::do_playing(SrsSource* source, SrsConsumer* consumer, SrsQueueRe srs_verbose("send thread now=%"PRId64"us, wait %dms", srs_update_system_time_ms(), mw_sleep); // wait for message to incoming. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/251 - // @see https://github.com/winlinvip/simple-rtmp-server/issues/257 + // @see https://github.com/simple-rtmp-server/srs/issues/251 + // @see https://github.com/simple-rtmp-server/srs/issues/257 if (realtime) { // for realtime, min required msgs is 0, send when got one+ msgs. consumer->wait(0, mw_sleep); @@ -750,7 +750,7 @@ int SrsRtmpConn::do_playing(SrsSource* source, SrsConsumer* consumer, SrsQueueRe } // if duration specified, and exceed it, stop play live. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/45 + // @see: https://github.com/simple-rtmp-server/srs/issues/45 if (user_specified_duration_to_stop) { if (duration >= (int64_t)req->duration) { ret = ERROR_RTMP_DURATION_EXCEED; @@ -775,7 +775,7 @@ int SrsRtmpConn::fmle_publishing(SrsSource* source) } // use isolate thread to recv, - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/237 + // @see: https://github.com/simple-rtmp-server/srs/issues/237 SrsPublishRecvThread trd(rtmp, req, st_netfd_fileno(stfd), 0, this, source, true, vhost_is_edge); @@ -810,7 +810,7 @@ int SrsRtmpConn::flash_publishing(SrsSource* source) } // use isolate thread to recv, - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/237 + // @see: https://github.com/simple-rtmp-server/srs/issues/237 SrsPublishRecvThread trd(rtmp, req, st_netfd_fileno(stfd), 0, this, source, true, vhost_is_edge); @@ -1039,7 +1039,7 @@ int SrsRtmpConn::process_play_control_msg(SrsConsumer* consumer, SrsCommonMessag SrsAutoFree(SrsPacket, pkt); // for jwplayer/flowplayer, which send close as pause message. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/6 + // @see https://github.com/simple-rtmp-server/srs/issues/6 SrsCloseStreamPacket* close = dynamic_cast(pkt); if (close) { ret = ERROR_CONTROL_RTMP_CLOSE; @@ -1049,7 +1049,7 @@ int SrsRtmpConn::process_play_control_msg(SrsConsumer* consumer, SrsCommonMessag // call msg, // support response null first, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/106 + // @see https://github.com/simple-rtmp-server/srs/issues/106 // TODO: FIXME: response in right way, or forward in edge mode. SrsCallPacket* call = dynamic_cast(pkt); if (call) { diff --git a/trunk/src/app/srs_app_rtmp_conn.hpp b/trunk/src/app/srs_app_rtmp_conn.hpp index 33ebfcacb..df24bb84d 100644 --- a/trunk/src/app/srs_app_rtmp_conn.hpp +++ b/trunk/src/app/srs_app_rtmp_conn.hpp @@ -70,7 +70,7 @@ private: SrsSecurity* security; // elapse duration in ms // for live play duration, for instance, rtmpdump to record. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/47 + // @see https://github.com/simple-rtmp-server/srs/issues/47 int64_t duration; SrsKbps* kbps; // the MR(merged-write) sleep time in ms. @@ -78,7 +78,7 @@ private: // the MR(merged-write) only enabled for play. int mw_enabled; // for realtime - // @see https://github.com/winlinvip/simple-rtmp-server/issues/257 + // @see https://github.com/simple-rtmp-server/srs/issues/257 bool realtime; public: SrsRtmpConn(SrsServer* srs_server, st_netfd_t client_stfd); diff --git a/trunk/src/app/srs_app_rtsp.cpp b/trunk/src/app/srs_app_rtsp.cpp index 27798392f..07348200c 100644 --- a/trunk/src/app/srs_app_rtsp.cpp +++ b/trunk/src/app/srs_app_rtsp.cpp @@ -723,7 +723,7 @@ int SrsRtspConn::connect_app(string ep_server, string ep_port) } // notify server the edge identity, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/147 + // @see https://github.com/simple-rtmp-server/srs/issues/147 SrsAmf0Object* data = req->args; data->set("srs_sig", SrsAmf0Any::str(RTMP_SIG_SRS_KEY)); data->set("srs_server", SrsAmf0Any::str(RTMP_SIG_SRS_KEY" "RTMP_SIG_SRS_VERSION" ("RTMP_SIG_SRS_URL_SHORT")")); @@ -751,7 +751,7 @@ int SrsRtspConn::connect_app(string ep_server, string ep_port) std::string tc_url = srs_generate_tc_url(ep_server, req->vhost, req->app, ep_port, param); // upnode server identity will show in the connect_app of client. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/160 + // @see https://github.com/simple-rtmp-server/srs/issues/160 // the debug_srs_upnode is config in vhost and default to true. bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost); if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) { diff --git a/trunk/src/app/srs_app_security.hpp b/trunk/src/app/srs_app_security.hpp index 8ace5d576..fa4b14120 100644 --- a/trunk/src/app/srs_app_security.hpp +++ b/trunk/src/app/srs_app_security.hpp @@ -38,7 +38,7 @@ class SrsConfDirective; /** * the security apply on vhost. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/211 +* @see https://github.com/simple-rtmp-server/srs/issues/211 */ class SrsSecurity { diff --git a/trunk/src/app/srs_app_server.cpp b/trunk/src/app/srs_app_server.cpp index 19904bbdf..ff2c45107 100644 --- a/trunk/src/app/srs_app_server.cpp +++ b/trunk/src/app/srs_app_server.cpp @@ -55,7 +55,7 @@ using namespace std; // for example, system-interval is x=1s(1000ms), // then rusage can be 3*x, for instance, 3*1=3s, // the meminfo canbe 6*x, for instance, 6*1=6s, -// for performance refine, @see: https://github.com/winlinvip/simple-rtmp-server/issues/194 +// for performance refine, @see: https://github.com/simple-rtmp-server/srs/issues/194 // @remark, recomment to 1000ms. #define SRS_SYS_CYCLE_INTERVAL 1000 diff --git a/trunk/src/app/srs_app_source.cpp b/trunk/src/app/srs_app_source.cpp index 2b316f38c..fd405c764 100644 --- a/trunk/src/app/srs_app_source.cpp +++ b/trunk/src/app/srs_app_source.cpp @@ -382,7 +382,7 @@ void SrsMessageQueue::shrink() // it is ok to clear for audio, for the shrink tell us the queue is full. // for video, we clear util the I-Frame, for the decoding must start from I-frame, // for audio, it's ok to clear any data, also we can clear the whole queue. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/134 + // @see: https://github.com/simple-rtmp-server/srs/issues/134 if (iframe_index < 0) { clear(); return; @@ -1422,7 +1422,7 @@ int SrsSource::on_audio_imp(SrsSharedPtrMessage* msg) #ifdef SRS_AUTO_HLS if ((ret = hls->on_audio(msg)) != ERROR_SUCCESS) { // apply the error strategy for hls. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/264 + // @see https://github.com/simple-rtmp-server/srs/issues/264 std::string hls_error_strategy = _srs_config->get_hls_on_error(_req->vhost); if (hls_error_strategy == SRS_CONF_DEFAULT_HLS_ON_ERROR_IGNORE) { srs_warn("hls process audio message failed, ignore and disable hls. ret=%d", ret); @@ -1586,7 +1586,7 @@ int SrsSource::on_video_imp(SrsSharedPtrMessage* msg) #ifdef SRS_AUTO_HLS if ((ret = hls->on_video(msg)) != ERROR_SUCCESS) { // apply the error strategy for hls. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/264 + // @see https://github.com/simple-rtmp-server/srs/issues/264 std::string hls_error_strategy = _srs_config->get_hls_on_error(_req->vhost); if (hls_error_strategy == SRS_CONF_DEFAULT_HLS_ON_ERROR_IGNORE) { srs_warn("hls process video message failed, ignore and disable hls. ret=%d", ret); @@ -1997,7 +1997,7 @@ int SrsSource::create_consumer(SrsConsumer*& consumer, bool ds, bool dm, bool dg // copy sequence header // copy audio sequence first, for hls to fast parse the "right" audio codec. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/301 + // @see https://github.com/simple-rtmp-server/srs/issues/301 if (ds && cache_sh_audio && (ret = consumer->enqueue(cache_sh_audio, atc, tba, tbv, ag)) != ERROR_SUCCESS) { srs_error("dispatch audio sequence header failed. ret=%d", ret); return ret; diff --git a/trunk/src/app/srs_app_source.hpp b/trunk/src/app/srs_app_source.hpp index 87c863ebf..79e81c6f6 100644 --- a/trunk/src/app/srs_app_source.hpp +++ b/trunk/src/app/srs_app_source.hpp @@ -111,7 +111,7 @@ public: /** * to alloc and increase fixed space, * fast remove and insert for msgs sender. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/251 +* @see https://github.com/simple-rtmp-server/srs/issues/251 */ class SrsFastVector { @@ -210,7 +210,7 @@ private: bool should_update_source_id; #ifdef SRS_PERF_QUEUE_COND_WAIT // the cond wait for mw. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/251 + // @see https://github.com/simple-rtmp-server/srs/issues/251 st_cond_t mw_wait; bool mw_waiting; int mw_min_msgs; @@ -298,7 +298,7 @@ private: * * @remark, it is ok for performance, for when we clear the gop cache, * gop cache is disabled for pure audio stream. - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/124 + * @see: https://github.com/simple-rtmp-server/srs/issues/124 */ int audio_after_last_video_count; /** diff --git a/trunk/src/app/srs_app_st.cpp b/trunk/src/app/srs_app_st.cpp index b54c73eec..5ff1e7615 100644 --- a/trunk/src/app/srs_app_st.cpp +++ b/trunk/src/app/srs_app_st.cpp @@ -48,7 +48,7 @@ int srs_init_st() #ifdef __linux__ // check epoll, some old linux donot support epoll. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/162 + // @see https://github.com/simple-rtmp-server/srs/issues/162 if (!srs_st_epoll_is_supported()) { ret = ERROR_ST_SET_EPOLL; srs_error("epoll required on Linux. ret=%d", ret); diff --git a/trunk/src/app/srs_app_st_socket.cpp b/trunk/src/app/srs_app_st_socket.cpp index c70f6e27f..8498ed8e6 100644 --- a/trunk/src/app/srs_app_st_socket.cpp +++ b/trunk/src/app/srs_app_st_socket.cpp @@ -84,7 +84,7 @@ int SrsStSocket::read(void* buf, size_t size, ssize_t* nread) // (a value of 0 means the network connection is closed or end of file is reached). // Otherwise, a value of -1 is returned and errno is set to indicate the error. if (nb_read <= 0) { - // @see https://github.com/winlinvip/simple-rtmp-server/issues/200 + // @see https://github.com/simple-rtmp-server/srs/issues/200 if (nb_read < 0 && errno == ETIME) { return ERROR_SOCKET_TIMEOUT; } @@ -114,7 +114,7 @@ int SrsStSocket::read_fully(void* buf, size_t size, ssize_t* nread) // (a value less than nbyte means the network connection is closed or end of file is reached) // Otherwise, a value of -1 is returned and errno is set to indicate the error. if (nb_read != (ssize_t)size) { - // @see https://github.com/winlinvip/simple-rtmp-server/issues/200 + // @see https://github.com/simple-rtmp-server/srs/issues/200 if (nb_read < 0 && errno == ETIME) { return ERROR_SOCKET_TIMEOUT; } @@ -143,7 +143,7 @@ int SrsStSocket::write(void* buf, size_t size, ssize_t* nwrite) // On success a non-negative integer equal to nbyte is returned. // Otherwise, a value of -1 is returned and errno is set to indicate the error. if (nb_write <= 0) { - // @see https://github.com/winlinvip/simple-rtmp-server/issues/200 + // @see https://github.com/simple-rtmp-server/srs/issues/200 if (nb_write < 0 && errno == ETIME) { return ERROR_SOCKET_TIMEOUT; } @@ -168,7 +168,7 @@ int SrsStSocket::writev(const iovec *iov, int iov_size, ssize_t* nwrite) // On success a non-negative integer equal to nbyte is returned. // Otherwise, a value of -1 is returned and errno is set to indicate the error. if (nb_write <= 0) { - // @see https://github.com/winlinvip/simple-rtmp-server/issues/200 + // @see https://github.com/simple-rtmp-server/srs/issues/200 if (nb_write < 0 && errno == ETIME) { return ERROR_SOCKET_TIMEOUT; } diff --git a/trunk/src/app/srs_app_thread.cpp b/trunk/src/app/srs_app_thread.cpp index f37e49d70..2684645ed 100644 --- a/trunk/src/app/srs_app_thread.cpp +++ b/trunk/src/app/srs_app_thread.cpp @@ -68,7 +68,7 @@ SrsThread::SrsThread(const char* name, ISrsThreadHandler* thread_handler, int64_ // in start(), the thread cycle method maybe stop and remove the thread itself, // and the thread start() is waiting for the _cid, and segment fault then. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/110 + // @see https://github.com/simple-rtmp-server/srs/issues/110 // thread will set _cid, callback on_thread_start(), then wait for the can_run signal. can_run = false; } @@ -204,7 +204,7 @@ failed: } // to improve performance, donot sleep when interval is zero. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/237 + // @see: https://github.com/simple-rtmp-server/srs/issues/237 if (cycle_interval_us != 0) { st_usleep(cycle_interval_us); } diff --git a/trunk/src/app/srs_app_thread.hpp b/trunk/src/app/srs_app_thread.hpp index 38c44e2ea..3275e5f4e 100644 --- a/trunk/src/app/srs_app_thread.hpp +++ b/trunk/src/app/srs_app_thread.hpp @@ -157,12 +157,12 @@ public: * @param interval_us, the sleep interval when cycle finished. * @param joinable, if joinable, other thread must stop the thread. * @remark if joinable, thread never quit itself, or memory leak. - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/78 + * @see: https://github.com/simple-rtmp-server/srs/issues/78 * @remark about st debug, see st-1.9/README, _st_iterate_threads_flag */ /** * TODO: FIXME: maybe all thread must be reap by others threads, - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/77 + * @see: https://github.com/simple-rtmp-server/srs/issues/77 */ SrsThread(const char* name, ISrsThreadHandler* thread_handler, int64_t interval_us, bool joinable); virtual ~SrsThread(); diff --git a/trunk/src/app/srs_app_utility.cpp b/trunk/src/app/srs_app_utility.cpp index 854656891..482fda7ed 100644 --- a/trunk/src/app/srs_app_utility.cpp +++ b/trunk/src/app/srs_app_utility.cpp @@ -1132,7 +1132,7 @@ void retrieve_local_ipv4_ips() // retrieve ipv4 addr // ignore the tun0 network device, // which addr is NULL. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/141 + // @see: https://github.com/simple-rtmp-server/srs/issues/141 if (addr && addr->sa_family == AF_INET) { in_addr* inaddr = &((sockaddr_in*)addr)->sin_addr; diff --git a/trunk/src/core/srs_core.hpp b/trunk/src/core/srs_core.hpp index 42b18c40c..90ead1177 100644 --- a/trunk/src/core/srs_core.hpp +++ b/trunk/src/core/srs_core.hpp @@ -79,7 +79,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define __STDC_FORMAT_MACROS #endif -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif diff --git a/trunk/src/core/srs_core_performance.hpp b/trunk/src/core/srs_core_performance.hpp index 4cd65e3d9..8b3af98a6 100644 --- a/trunk/src/core/srs_core_performance.hpp +++ b/trunk/src/core/srs_core_performance.hpp @@ -40,12 +40,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * that is, we merge some data to read together. * @see SrsConfig::get_mr_enabled() * @see SrsConfig::get_mr_sleep_ms() -* @see https://github.com/winlinvip/simple-rtmp-server/issues/241 +* @see https://github.com/simple-rtmp-server/srs/issues/241 * @example, for the default settings, this algorithm will use: * that is, when got nread bytes smaller than 4KB, sleep(780ms). */ /** -* https://github.com/winlinvip/simple-rtmp-server/issues/241#issuecomment-65554690 +* https://github.com/simple-rtmp-server/srs/issues/241#issuecomment-65554690 * The merged read algorithm is ok and can be simplified for: * 1. Suppose the client network is ok. All algorithm go wrong when netowrk is not ok. * 2. Suppose the client send each packet one by one. Although send some together, it's same. @@ -71,7 +71,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * @remark this largely improve performance, from 3.5k+ to 7.5k+. * the latency+ when cache+. * @remark the socket send buffer default to 185KB, it large enough. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/194 +* @see https://github.com/simple-rtmp-server/srs/issues/194 * @see SrsConfig::get_mw_sleep_ms() * @remark the mw sleep and msgs to send, maybe: * mw_sleep msgs iovs @@ -106,24 +106,24 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. /** * whether set the socket send buffer size. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/251 +* @see https://github.com/simple-rtmp-server/srs/issues/251 */ #define SRS_PERF_MW_SO_SNDBUF /** * whether set the socket recv buffer size. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/251 +* @see https://github.com/simple-rtmp-server/srs/issues/251 */ #undef SRS_PERF_MW_SO_RCVBUF /** * whether enable the fast vector for qeueue. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/251 +* @see https://github.com/simple-rtmp-server/srs/issues/251 */ #define SRS_PERF_QUEUE_FAST_VECTOR /** * whether use cond wait to send messages. * @remark this improve performance for large connectios. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/251 +* @see https://github.com/simple-rtmp-server/srs/issues/251 */ #define SRS_PERF_QUEUE_COND_WAIT #ifdef SRS_PERF_QUEUE_COND_WAIT @@ -135,14 +135,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * for min latence mode: * 1. disable the mr for vhost. * 2. use timeout for cond wait for consumer queue. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/257 +* @see https://github.com/simple-rtmp-server/srs/issues/257 */ #define SRS_PERF_MIN_LATENCY_ENABLED false /** * how many chunk stream to cache, [0, N]. * to imporove about 10% performance when chunk size small, and 5% for large chunk. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/249 +* @see https://github.com/simple-rtmp-server/srs/issues/249 * @remark 0 to disable the chunk stream cache. */ #define SRS_PERF_CHUNK_STREAM_CACHE 16 @@ -158,21 +158,21 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. /** * whether always use complex send algorithm. * for some network does not support the complex send, -* @see https://github.com/winlinvip/simple-rtmp-server/issues/320 +* @see https://github.com/simple-rtmp-server/srs/issues/320 */ //#undef SRS_PERF_COMPLEX_SEND #define SRS_PERF_COMPLEX_SEND /** * whether enable the TCP_NODELAY * user maybe need send small tcp packet for some network. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/320 +* @see https://github.com/simple-rtmp-server/srs/issues/320 */ //#define SRS_PERF_TCP_NODELAY #undef SRS_PERF_TCP_NODELAY /** * set the socket send buffer, * to force the server to send smaller tcp packet. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/320 +* @see https://github.com/simple-rtmp-server/srs/issues/320 * @remark undef it to auto calc it by merged write sleep ms. * @remark only apply it when SRS_PERF_MW_SO_RCVBUF is defined. */ diff --git a/trunk/src/kernel/srs_kernel_aac.cpp b/trunk/src/kernel/srs_kernel_aac.cpp index 18193fbe1..24fec4f68 100644 --- a/trunk/src/kernel/srs_kernel_aac.cpp +++ b/trunk/src/kernel/srs_kernel_aac.cpp @@ -23,7 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif @@ -150,7 +150,7 @@ int SrsAacEncoder::write_audio(int64_t timestamp, char* data, int size) // write the ADTS header. // @see aac-mp4a-format-ISO_IEC_14496-3+2001.pdf, page 75, // 1.A.2.2 Audio_Data_Transport_Stream frame, ADTS - // @see https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-64145885 + // @see https://github.com/simple-rtmp-server/srs/issues/212#issuecomment-64145885 // byte_alignment() // adts_fixed_header: diff --git a/trunk/src/kernel/srs_kernel_codec.cpp b/trunk/src/kernel/srs_kernel_codec.cpp index 116cfe754..bcc044152 100644 --- a/trunk/src/kernel/srs_kernel_codec.cpp +++ b/trunk/src/kernel/srs_kernel_codec.cpp @@ -584,7 +584,7 @@ int SrsAvcAacCodec::audio_aac_sequence_header_demux(char* data, int size) // TODO: FIXME: to support aac he/he-v2, see: ngx_rtmp_codec_parse_aac_header // @see: https://github.com/winlinvip/nginx-rtmp-module/commit/3a5f9eea78fc8d11e8be922aea9ac349b9dcbfc2 // - // donot force to LC, @see: https://github.com/winlinvip/simple-rtmp-server/issues/81 + // donot force to LC, @see: https://github.com/simple-rtmp-server/srs/issues/81 // the source will print the sequence header info. //if (aac_profile > 3) { // Mark all extended profiles as LC @@ -626,7 +626,7 @@ int SrsAvcAacCodec::video_avc_demux(char* data, int size, SrsCodecSample* sample sample->frame_type = (SrsCodecVideoAVCFrame)frame_type; // ignore info frame without error, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909 + // @see https://github.com/simple-rtmp-server/srs/issues/288#issuecomment-69863909 if (sample->frame_type == SrsCodecVideoAVCFrameVideoInfoFrame) { srs_warn("video codec igone the info frame, ret=%d", ret); return ret; @@ -1152,7 +1152,7 @@ int SrsAvcAacCodec::avc_demux_ibmf_format(SrsStream* stream, SrsCodecSample* sam } // maybe stream is invalid format. - // see: https://github.com/winlinvip/simple-rtmp-server/issues/183 + // see: https://github.com/simple-rtmp-server/srs/issues/183 if (NALUnitLength < 0) { ret = ERROR_HLS_DECODE_ERROR; srs_error("maybe stream is AnnexB format. ret=%d", ret); diff --git a/trunk/src/kernel/srs_kernel_codec.hpp b/trunk/src/kernel/srs_kernel_codec.hpp index 4df7596bd..c939780d1 100644 --- a/trunk/src/kernel/srs_kernel_codec.hpp +++ b/trunk/src/kernel/srs_kernel_codec.hpp @@ -426,7 +426,7 @@ enum SrsAvcPayloadFormat /** * the aac profile, for ADTS(HLS/TS) -* @see https://github.com/winlinvip/simple-rtmp-server/issues/310 +* @see https://github.com/simple-rtmp-server/srs/issues/310 */ enum SrsAacProfile { diff --git a/trunk/src/kernel/srs_kernel_consts.hpp b/trunk/src/kernel/srs_kernel_consts.hpp index d795fa478..a72312baa 100644 --- a/trunk/src/kernel/srs_kernel_consts.hpp +++ b/trunk/src/kernel/srs_kernel_consts.hpp @@ -100,7 +100,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. /** * for performance issue, -* the iovs cache, @see https://github.com/winlinvip/simple-rtmp-server/issues/194 +* the iovs cache, @see https://github.com/simple-rtmp-server/srs/issues/194 * iovs cache for multiple messages for each connections. * suppose the chunk size is 64k, each message send in a chunk which needs only 2 iovec, * so the iovs max should be (SRS_PERF_MW_MSGS * 2) @@ -110,7 +110,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define SRS_CONSTS_IOVS_MAX (SRS_PERF_MW_MSGS * 2) /** * for performance issue, -* the c0c3 cache, @see https://github.com/winlinvip/simple-rtmp-server/issues/194 +* the c0c3 cache, @see https://github.com/simple-rtmp-server/srs/issues/194 * c0c3 cache for multiple messages for each connections. * each c0 <= 16byes, suppose the chunk size is 64k, * each message send in a chunk which needs only a c0 header, diff --git a/trunk/src/kernel/srs_kernel_error.hpp b/trunk/src/kernel/srs_kernel_error.hpp index 65d4c56c0..172f76cfb 100644 --- a/trunk/src/kernel/srs_kernel_error.hpp +++ b/trunk/src/kernel/srs_kernel_error.hpp @@ -30,7 +30,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #define ERROR_SUCCESS 0 #endif diff --git a/trunk/src/kernel/srs_kernel_file.cpp b/trunk/src/kernel/srs_kernel_file.cpp index f8da03e24..01d4f139a 100644 --- a/trunk/src/kernel/srs_kernel_file.cpp +++ b/trunk/src/kernel/srs_kernel_file.cpp @@ -23,7 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif diff --git a/trunk/src/kernel/srs_kernel_flv.cpp b/trunk/src/kernel/srs_kernel_flv.cpp index d34cb30fb..7d8a81bb9 100644 --- a/trunk/src/kernel/srs_kernel_flv.cpp +++ b/trunk/src/kernel/srs_kernel_flv.cpp @@ -23,7 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif diff --git a/trunk/src/kernel/srs_kernel_mp3.cpp b/trunk/src/kernel/srs_kernel_mp3.cpp index c3e4991d0..a8407d910 100644 --- a/trunk/src/kernel/srs_kernel_mp3.cpp +++ b/trunk/src/kernel/srs_kernel_mp3.cpp @@ -23,7 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif diff --git a/trunk/src/kernel/srs_kernel_ts.cpp b/trunk/src/kernel/srs_kernel_ts.cpp index 32e1882ff..d9d64fa1b 100644 --- a/trunk/src/kernel/srs_kernel_ts.cpp +++ b/trunk/src/kernel/srs_kernel_ts.cpp @@ -23,7 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif @@ -447,7 +447,7 @@ int SrsTsContext::encode_pes(SrsFileWriter* writer, SrsTsMessage* msg, int16_t p } // it's ok to set pcr equals to dts, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/311 + // @see https://github.com/simple-rtmp-server/srs/issues/311 int64_t pcr = write_pcr? msg->dts : -1; // TODO: FIXME: finger it why use discontinuity of msg. @@ -956,7 +956,7 @@ int SrsTsAdaptationField::decode(SrsStream* stream) pp[0] = *p++; // @remark, use pcr base and ignore the extension - // @see https://github.com/winlinvip/simple-rtmp-server/issues/250#issuecomment-71349370 + // @see https://github.com/simple-rtmp-server/srs/issues/250#issuecomment-71349370 program_clock_reference_extension = pcrv & 0x1ff; const1_value0 = (pcrv >> 9) & 0x3F; program_clock_reference_base = (pcrv >> 15) & 0x1ffffffffLL; @@ -983,7 +983,7 @@ int SrsTsAdaptationField::decode(SrsStream* stream) pp[0] = *p++; // @remark, use pcr base and ignore the extension - // @see https://github.com/winlinvip/simple-rtmp-server/issues/250#issuecomment-71349370 + // @see https://github.com/simple-rtmp-server/srs/issues/250#issuecomment-71349370 original_program_clock_reference_extension = opcrv & 0x1ff; const1_value2 = (opcrv >> 9) & 0x3F; original_program_clock_reference_base = (opcrv >> 15) & 0x1ffffffffLL; @@ -1163,7 +1163,7 @@ int SrsTsAdaptationField::encode(SrsStream* stream) stream->skip(6); // @remark, use pcr base and ignore the extension - // @see https://github.com/winlinvip/simple-rtmp-server/issues/250#issuecomment-71349370 + // @see https://github.com/simple-rtmp-server/srs/issues/250#issuecomment-71349370 int64_t pcrv = program_clock_reference_extension & 0x1ff; pcrv |= (const1_value0 << 9) & 0x7E00; pcrv |= (program_clock_reference_base << 15) & 0x1FFFFFFFF000000LL; @@ -3136,7 +3136,7 @@ int SrsTsEncoder::write_video(int64_t timestamp, char* data, int size) } // ignore info frame, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909 + // @see https://github.com/simple-rtmp-server/srs/issues/288#issuecomment-69863909 if (sample->frame_type == SrsCodecVideoAVCFrameVideoInfoFrame) { return ret; } diff --git a/trunk/src/kernel/srs_kernel_ts.hpp b/trunk/src/kernel/srs_kernel_ts.hpp index f8053f3c2..72c80194c 100644 --- a/trunk/src/kernel/srs_kernel_ts.hpp +++ b/trunk/src/kernel/srs_kernel_ts.hpp @@ -1568,7 +1568,7 @@ public: * for user may need to update the acodec to mp3 or others, * so we use delay write PSI, when write audio or video. * @remark for audio aac codec, for example, SRS1, it's ok to write PSI when open ts. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/301 + * @see https://github.com/simple-rtmp-server/srs/issues/301 */ virtual int update_acodec(SrsCodecAudio ac); /** diff --git a/trunk/src/kernel/srs_kernel_utility.cpp b/trunk/src/kernel/srs_kernel_utility.cpp index bfbaf3a3f..7b42853c0 100644 --- a/trunk/src/kernel/srs_kernel_utility.cpp +++ b/trunk/src/kernel/srs_kernel_utility.cpp @@ -23,7 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #include @@ -121,7 +121,7 @@ int64_t srs_update_system_time_ms() return -1; } - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/35 + // @see: https://github.com/simple-rtmp-server/srs/issues/35 // we must convert the tv_sec/tv_usec to int64_t. int64_t now_us = ((int64_t)now.tv_sec) * 1000 * 1000 + (int64_t)now.tv_usec; @@ -143,7 +143,7 @@ int64_t srs_update_system_time_ms() if (diff < 0 || diff > 1000 * SYS_TIME_RESOLUTION_US) { srs_warn("system time jump, history=%"PRId64"us, now=%"PRId64"us, diff=%"PRId64"us", _srs_system_time_us_cache, now_us, diff); - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/109 + // @see: https://github.com/simple-rtmp-server/srs/issues/109 _srs_system_time_startup_time += diff; } diff --git a/trunk/src/libs/srs_lib_bandwidth.cpp b/trunk/src/libs/srs_lib_bandwidth.cpp index 148638c93..cabfb5cc0 100644 --- a/trunk/src/libs/srs_lib_bandwidth.cpp +++ b/trunk/src/libs/srs_lib_bandwidth.cpp @@ -23,7 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif diff --git a/trunk/src/libs/srs_lib_simple_socket.cpp b/trunk/src/libs/srs_lib_simple_socket.cpp index 0d94118c4..b648c4fc5 100644 --- a/trunk/src/libs/srs_lib_simple_socket.cpp +++ b/trunk/src/libs/srs_lib_simple_socket.cpp @@ -25,7 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #define SOCKET_ETIME ETIME #define SOCKET_ECONNRESET ECONNRESET @@ -53,7 +53,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define SOCKET_CLEANUP() socket_cleanup() #endif -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #include @@ -206,7 +206,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // the writev() function returns the number of bytes written. On error, -1 is // returned, and errno is set appropriately. if (nb_write <= 0) { - // @see https://github.com/winlinvip/simple-rtmp-server/issues/200 + // @see https://github.com/simple-rtmp-server/srs/issues/200 if (nb_write < 0 && SOCKET_ERRNO() == SOCKET_ETIME) { return ERROR_SOCKET_TIMEOUT; } @@ -263,7 +263,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. } if (nb_write <= 0) { - // @see https://github.com/winlinvip/simple-rtmp-server/issues/200 + // @see https://github.com/simple-rtmp-server/srs/issues/200 if (nb_write < 0 && SOCKET_ERRNO() == SOCKET_ETIME) { return ERROR_SOCKET_TIMEOUT; } diff --git a/trunk/src/libs/srs_lib_simple_socket.hpp b/trunk/src/libs/srs_lib_simple_socket.hpp index 1386c4b90..f3c694e07 100644 --- a/trunk/src/libs/srs_lib_simple_socket.hpp +++ b/trunk/src/libs/srs_lib_simple_socket.hpp @@ -33,7 +33,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #define SOCKET int #endif diff --git a/trunk/src/libs/srs_librtmp.cpp b/trunk/src/libs/srs_librtmp.cpp index 09dd9385b..69b980503 100644 --- a/trunk/src/libs/srs_librtmp.cpp +++ b/trunk/src/libs/srs_librtmp.cpp @@ -25,7 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif @@ -86,20 +86,20 @@ struct Context SrsRawAacStream aac_raw; // for h264 raw stream, - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/66#issuecomment-62240521 + // @see: https://github.com/simple-rtmp-server/srs/issues/66#issuecomment-62240521 SrsStream h264_raw_stream; // about SPS, @see: 7.3.2.1.1, H.264-AVC-ISO_IEC_14496-10-2012.pdf, page 62 std::string h264_sps; std::string h264_pps; // whether the sps and pps sent, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/203 + // @see https://github.com/simple-rtmp-server/srs/issues/203 bool h264_sps_pps_sent; // only send the ssp and pps when both changed. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/204 + // @see https://github.com/simple-rtmp-server/srs/issues/204 bool h264_sps_changed; bool h264_pps_changed; // for aac raw stream, - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-64146250 + // @see: https://github.com/simple-rtmp-server/srs/issues/212#issuecomment-64146250 SrsStream aac_raw_stream; // the aac sequence header. std::string aac_specific_config; @@ -127,7 +127,7 @@ struct Context } }; -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifdef _WIN32 int gettimeofday(struct timeval* tv, struct timezone* tz) { @@ -1239,7 +1239,7 @@ int srs_write_h264_ipb_frame(Context* context, int ret = ERROR_SUCCESS; // when sps or pps not sent, ignore the packet. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/203 + // @see https://github.com/simple-rtmp-server/srs/issues/203 if (!context->h264_sps_pps_sent) { return ERROR_H264_DROP_BEFORE_SPS_PPS; } @@ -1372,8 +1372,8 @@ int srs_h264_write_raw_frames(srs_rtmp_t rtmp, } // use the last error - // @see https://github.com/winlinvip/simple-rtmp-server/issues/203 - // @see https://github.com/winlinvip/simple-rtmp-server/issues/204 + // @see https://github.com/simple-rtmp-server/srs/issues/203 + // @see https://github.com/simple-rtmp-server/srs/issues/204 int error_code_return = ret; // send each frame. @@ -2391,7 +2391,7 @@ const char* srs_human_format_time() tm->tm_hour, tm->tm_min, tm->tm_sec, (int)(tv.tv_usec / 1000)); - // for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 + // for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 buf[sizeof(buf) - 1] = 0; return buf; diff --git a/trunk/src/libs/srs_librtmp.hpp b/trunk/src/libs/srs_librtmp.hpp index 31afe02dc..a4dd81b06 100644 --- a/trunk/src/libs/srs_librtmp.hpp +++ b/trunk/src/libs/srs_librtmp.hpp @@ -41,7 +41,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * Windows SRS-LIBRTMP pre-declare ************************************************************** *************************************************************/ -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifdef _WIN32 // include windows first. #include @@ -320,7 +320,7 @@ extern srs_bool srs_rtmp_is_onMetaData(char type, char* data, int size); * @remark for aac, only support profile 1-4, AAC main/LC/SSR/LTP, * @see aac-mp4a-format-ISO_IEC_14496-3+2001.pdf, page 23, 1.5.1.1 Audio object type * -* @see https://github.com/winlinvip/simple-rtmp-server/issues/212 +* @see https://github.com/simple-rtmp-server/srs/issues/212 * @see E.4.2.1 AUDIODATA of video_file_format_spec_v10_1.pdf * * @return 0, success; otherswise, failed. @@ -376,7 +376,7 @@ extern int srs_aac_adts_frame_size(char* aac_raw_data, int ac_raw_size); * @remark, cts = pts - dts * @remark, use srs_h264_startswith_annexb to check whether frame is annexb format. * @example /trunk/research/librtmp/srs_h264_raw_publish.c -* @see https://github.com/winlinvip/simple-rtmp-server/issues/66 +* @see https://github.com/simple-rtmp-server/srs/issues/66 * * @return 0, success; otherswise, failed. * for dvbsp error, @see srs_h264_is_dvbsp_error(). @@ -418,7 +418,7 @@ extern int srs_h264_write_raw_frames(srs_rtmp_t rtmp, /** * whether error_code is dvbsp(drop video before sps/pps/sequence-header) error. * -* @see https://github.com/winlinvip/simple-rtmp-server/issues/203 +* @see https://github.com/simple-rtmp-server/srs/issues/203 * @example /trunk/research/librtmp/srs_h264_raw_publish.c * @remark why drop video? * some encoder, for example, ipcamera, will send sps/pps before each IFrame, @@ -429,14 +429,14 @@ extern srs_bool srs_h264_is_dvbsp_error(int error_code); /** * whether error_code is duplicated sps error. * -* @see https://github.com/winlinvip/simple-rtmp-server/issues/204 +* @see https://github.com/simple-rtmp-server/srs/issues/204 * @example /trunk/research/librtmp/srs_h264_raw_publish.c */ extern srs_bool srs_h264_is_duplicated_sps_error(int error_code); /** * whether error_code is duplicated pps error. * -* @see https://github.com/winlinvip/simple-rtmp-server/issues/204 +* @see https://github.com/simple-rtmp-server/srs/issues/204 * @example /trunk/research/librtmp/srs_h264_raw_publish.c */ extern srs_bool srs_h264_is_duplicated_pps_error(int error_code); @@ -1021,7 +1021,7 @@ typedef void* srs_hijack_io_t; * Windows SRS-LIBRTMP solution ************************************************************** *************************************************************/ -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifdef _WIN32 #define _CRT_SECURE_NO_WARNINGS #include diff --git a/trunk/src/main/srs_main_ingest_hls.cpp b/trunk/src/main/srs_main_ingest_hls.cpp index 00aaa18e2..7322d289d 100644 --- a/trunk/src/main/srs_main_ingest_hls.cpp +++ b/trunk/src/main/srs_main_ingest_hls.cpp @@ -1090,7 +1090,7 @@ int SrsIngestSrsOutput::write_h264_ipb_frame(string ibps, SrsCodecVideoAVCFrame int ret = ERROR_SUCCESS; // when sps or pps not sent, ignore the packet. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/203 + // @see https://github.com/simple-rtmp-server/srs/issues/203 if (!h264_sps_pps_sent) { return ERROR_H264_DROP_BEFORE_SPS_PPS; } @@ -1278,7 +1278,7 @@ int SrsIngestSrsOutput::connect_app(string ep_server, string ep_port) } // notify server the edge identity, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/147 + // @see https://github.com/simple-rtmp-server/srs/issues/147 SrsAmf0Object* data = req->args; data->set("srs_sig", SrsAmf0Any::str(RTMP_SIG_SRS_KEY)); data->set("srs_server", SrsAmf0Any::str(RTMP_SIG_SRS_KEY" "RTMP_SIG_SRS_VERSION" ("RTMP_SIG_SRS_URL_SHORT")")); @@ -1306,7 +1306,7 @@ int SrsIngestSrsOutput::connect_app(string ep_server, string ep_port) std::string tc_url = srs_generate_tc_url(ep_server, req->vhost, req->app, ep_port, param); // upnode server identity will show in the connect_app of client. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/160 + // @see https://github.com/simple-rtmp-server/srs/issues/160 // the debug_srs_upnode is config in vhost and default to true. bool debug_srs_upnode = true; if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) { diff --git a/trunk/src/protocol/srs_raw_avc.cpp b/trunk/src/protocol/srs_raw_avc.cpp index 79f17255f..f92fb9231 100644 --- a/trunk/src/protocol/srs_raw_avc.cpp +++ b/trunk/src/protocol/srs_raw_avc.cpp @@ -320,7 +320,7 @@ int SrsRawAacStream::adts_demux(SrsStream* stream, char** pframe, int* pnb_frame // decode the ADTS. // @see aac-iso-13818-7.pdf, page 26 // 6.2 Audio Data Transport Stream, ADTS - // @see https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-64145885 + // @see https://github.com/simple-rtmp-server/srs/issues/212#issuecomment-64145885 // byte_alignment() // adts_fixed_header: @@ -383,7 +383,7 @@ int SrsRawAacStream::adts_demux(SrsStream* stream, char** pframe, int* pnb_frame int8_t channel_configuration = (sfiv >> 6) & 0x07; /*int8_t original = (sfiv >> 5) & 0x01;*/ /*int8_t home = (sfiv >> 4) & 0x01;*/ - //int8_t Emphasis; @remark, Emphasis is removed, @see https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-64154736 + //int8_t Emphasis; @remark, Emphasis is removed, @see https://github.com/simple-rtmp-server/srs/issues/212#issuecomment-64154736 // 4bits left. // adts_variable_header(), 1.A.2.2.2 Variable Header of ADTS // copyright_identification_bit 1 bslbf @@ -473,7 +473,7 @@ int SrsRawAacStream::mux_sequence_header(SrsRawAacStreamCodec* codec, string& sh char samplingFrequencyIndex = codec->sampling_frequency_index; // override the aac samplerate by user specified. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/212#issuecomment-64146899 + // @see https://github.com/simple-rtmp-server/srs/issues/212#issuecomment-64146899 switch (codec->sound_rate) { case SrsCodecAudioSampleRate11025: samplingFrequencyIndex = 0x0a; break; diff --git a/trunk/src/protocol/srs_rtmp_amf0.hpp b/trunk/src/protocol/srs_rtmp_amf0.hpp index d92676753..3f9f52cb5 100644 --- a/trunk/src/protocol/srs_rtmp_amf0.hpp +++ b/trunk/src/protocol/srs_rtmp_amf0.hpp @@ -695,7 +695,7 @@ namespace _srs_internal * 2.13 Date Type * time-zone = S16 ; reserved, not supported should be set to 0x0000 * date-type = date-marker DOUBLE time-zone - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/185 + * @see: https://github.com/simple-rtmp-server/srs/issues/185 */ class SrsAmf0Date : public SrsAmf0Any { diff --git a/trunk/src/protocol/srs_rtmp_buffer.cpp b/trunk/src/protocol/srs_rtmp_buffer.cpp index b2923cb69..6c5699385 100644 --- a/trunk/src/protocol/srs_rtmp_buffer.cpp +++ b/trunk/src/protocol/srs_rtmp_buffer.cpp @@ -187,7 +187,7 @@ int SrsFastBuffer::grow(ISrsBufferReader* reader, int required_size) * to improve read performance, merge some packets then read, * when it on and read small bytes, we sleep to wait more data., * that is, we merge some data to read together. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + * @see https://github.com/simple-rtmp-server/srs/issues/241 */ if (merged_read && _handler) { _handler->on_read(nread); diff --git a/trunk/src/protocol/srs_rtmp_buffer.hpp b/trunk/src/protocol/srs_rtmp_buffer.hpp index 336d8f924..ced697d21 100644 --- a/trunk/src/protocol/srs_rtmp_buffer.hpp +++ b/trunk/src/protocol/srs_rtmp_buffer.hpp @@ -39,7 +39,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * to improve read performance, merge some packets then read, * when it on and read small bytes, we sleep to wait more data., * that is, we merge some data to read together. -* @see https://github.com/winlinvip/simple-rtmp-server/issues/241 +* @see https://github.com/simple-rtmp-server/srs/issues/241 */ class IMergeReadHandler { @@ -77,7 +77,7 @@ private: #endif // the user-space buffer to fill by reader, // which use fast index and reset when chunk body read ok. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/248 + // @see https://github.com/simple-rtmp-server/srs/issues/248 // ptr to the current read position. char* p; // ptr to the content end. @@ -106,7 +106,7 @@ public: * @param buffer the size of buffer. ignore when smaller than SRS_MAX_SOCKET_BUFFER. * @remark when MR(SRS_PERF_MERGED_READ) disabled, always set to 8K. * @remark when buffer changed, the previous ptr maybe invalid. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + * @see https://github.com/simple-rtmp-server/srs/issues/241 */ virtual void set_buffer(int buffer_size); public: @@ -147,7 +147,7 @@ public: * that is, we merge some data to read together. * @param v true to ename merged read. * @param handler the handler when merge read is enabled. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + * @see https://github.com/simple-rtmp-server/srs/issues/241 * @remark the merged read is optional, ignore if not specifies. */ virtual void set_merge_read(bool v, IMergeReadHandler* handler); diff --git a/trunk/src/protocol/srs_rtmp_handshake.cpp b/trunk/src/protocol/srs_rtmp_handshake.cpp index 32b8142be..3405b865a 100644 --- a/trunk/src/protocol/srs_rtmp_handshake.cpp +++ b/trunk/src/protocol/srs_rtmp_handshake.cpp @@ -200,12 +200,12 @@ namespace _srs_internal // maybe the key_size is 127, but dh will write all 128bytes pkey, // so, donot need to set/initialize the pkey. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/165 + // @see https://github.com/simple-rtmp-server/srs/issues/165 key_size = BN_bn2bin(pdh->pub_key, (unsigned char*)pkey); srs_assert(key_size > 0); // output the size of public key. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/165 + // @see https://github.com/simple-rtmp-server/srs/issues/165 srs_assert(key_size <= pkey_size); pkey_size = key_size; @@ -225,7 +225,7 @@ namespace _srs_internal // if failed, donot return, do cleanup, @see ./test/dhtest.c:168 // maybe the key_size is 127, but dh will write all 128bytes skey, // so, donot need to set/initialize the skey. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/165 + // @see https://github.com/simple-rtmp-server/srs/issues/165 int32_t key_size = DH_compute_key((unsigned char*)skey, ppk, pdh); if (key_size < ppkey_size) { @@ -525,7 +525,7 @@ namespace _srs_internal } // directly generate the public key. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/148 + // @see: https://github.com/simple-rtmp-server/srs/issues/148 int pkey_size = 128; if ((ret = dh.copy_shared_key(c1->get_key(), 128, key.key, pkey_size)) != ERROR_SUCCESS) { srs_error("calc s1 key failed. ret=%d", ret); diff --git a/trunk/src/protocol/srs_rtmp_io.hpp b/trunk/src/protocol/srs_rtmp_io.hpp index 5a69642d2..078c0a9cf 100644 --- a/trunk/src/protocol/srs_rtmp_io.hpp +++ b/trunk/src/protocol/srs_rtmp_io.hpp @@ -30,7 +30,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif diff --git a/trunk/src/protocol/srs_rtmp_sdk.cpp b/trunk/src/protocol/srs_rtmp_sdk.cpp index 38e515068..1ee32f42f 100644 --- a/trunk/src/protocol/srs_rtmp_sdk.cpp +++ b/trunk/src/protocol/srs_rtmp_sdk.cpp @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif @@ -295,7 +295,7 @@ int SrsHandshakeBytes::create_s0s1s2(const char* c1) } // if c1 specified, copy c1 to s2. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/46 + // @see: https://github.com/simple-rtmp-server/srs/issues/46 if (c1) { memcpy(s0s1s2 + 1537, c1, 1536); } @@ -492,7 +492,7 @@ int SrsRtmpClient::connect_app2( } pkt->command_object->set("objectEncoding", SrsAmf0Any::number(0)); - // @see https://github.com/winlinvip/simple-rtmp-server/issues/160 + // @see https://github.com/simple-rtmp-server/srs/issues/160 // the debug_srs_upnode is config in vhost and default to true. if (debug_srs_upnode && req && req->args) { srs_freep(pkt->args); @@ -1049,7 +1049,7 @@ int SrsRtmpServer::identify_client(int stream_id, SrsRtmpConnType& type, string& } // call msg, // support response null first, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/106 + // @see https://github.com/simple-rtmp-server/srs/issues/106 // TODO: FIXME: response in right way, or forward in edge mode. SrsCallPacket* call = dynamic_cast(pkt); if (call) { @@ -1139,7 +1139,7 @@ int SrsRtmpServer::start_play(int stream_id) SrsSampleAccessPacket* pkt = new SrsSampleAccessPacket(); // allow audio/video sample. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/49 + // @see: https://github.com/simple-rtmp-server/srs/issues/49 pkt->audio_sample_access = true; pkt->video_sample_access = true; diff --git a/trunk/src/protocol/srs_rtmp_sdk.hpp b/trunk/src/protocol/srs_rtmp_sdk.hpp index 26bfa5b14..6ed503133 100644 --- a/trunk/src/protocol/srs_rtmp_sdk.hpp +++ b/trunk/src/protocol/srs_rtmp_sdk.hpp @@ -85,12 +85,12 @@ public: std::string stream; // for play live stream, // used to specified the stop when exceed the duration. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/45 + // @see https://github.com/simple-rtmp-server/srs/issues/45 // in ms. double duration; // the token in the connect request, // used for edge traverse to origin authentication, - // @see https://github.com/winlinvip/simple-rtmp-server/issues/104 + // @see https://github.com/simple-rtmp-server/srs/issues/104 SrsAmf0Object* args; public: SrsRequest(); @@ -343,7 +343,7 @@ public: /** * set the auto response message when recv for protocol stack. * @param v, whether auto response message when recv message. - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/217 + * @see: https://github.com/simple-rtmp-server/srs/issues/217 */ virtual void set_auto_response(bool v); #ifdef SRS_PERF_MERGED_READ @@ -353,7 +353,7 @@ public: * that is, we merge some data to read together. * @param v true to ename merged read. * @param handler the handler when merge read is enabled. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + * @see https://github.com/simple-rtmp-server/srs/issues/241 */ virtual void set_merge_read(bool v, IMergeReadHandler* handler); /** @@ -361,7 +361,7 @@ public: * @param buffer the size of buffer. * @remark when MR(SRS_PERF_MERGED_READ) disabled, always set to 8K. * @remark when buffer changed, the previous ptr maybe invalid. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + * @see https://github.com/simple-rtmp-server/srs/issues/241 */ virtual void set_recv_buffer(int buffer_size); #endif @@ -416,7 +416,7 @@ public: * @param stream_id, the stream id of packet to send over, 0 for control message. * * @remark performance issue, to support 6k+ 250kbps client, - * @see https://github.com/winlinvip/simple-rtmp-server/issues/194 + * @see https://github.com/simple-rtmp-server/srs/issues/194 */ virtual int send_and_free_messages(SrsSharedPtrMessage** msgs, int nb_msgs, int stream_id); /** diff --git a/trunk/src/protocol/srs_rtmp_stack.cpp b/trunk/src/protocol/srs_rtmp_stack.cpp index 9ba9f4675..1f3ee28eb 100644 --- a/trunk/src/protocol/srs_rtmp_stack.cpp +++ b/trunk/src/protocol/srs_rtmp_stack.cpp @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif @@ -1008,7 +1008,7 @@ int SrsProtocol::do_iovs_send(iovec* iovs, int size) int ret = ERROR_SUCCESS; // the limits of writev iovs. - // for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 + // for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 static int limits = sysconf(_SC_IOV_MAX); #else @@ -1375,7 +1375,7 @@ int SrsProtocol::recv_interlaced_message(SrsCommonMessage** pmsg) SrsChunkStream* chunk = NULL; // use chunk stream cache to get the chunk info. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/249 + // @see https://github.com/simple-rtmp-server/srs/issues/249 if (cid < SRS_PERF_CHUNK_STREAM_CACHE) { // chunk stream cache hit. srs_verbose("cs-cache hit, cid=%d", cid); @@ -1586,7 +1586,7 @@ int SrsProtocol::read_message_header(SrsChunkStream* chunk, char fmt) // 0x04 where: message_type=4(protocol control user-control message) // 0x00 0x06 where: event Ping(0x06) // 0x00 0x00 0x0d 0x0f where: event data 4bytes ping timestamp. - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/98 + // @see: https://github.com/simple-rtmp-server/srs/issues/98 if (chunk->cid == RTMP_CID_ProtocolControl && fmt == RTMP_FMT_TYPE1) { srs_warn("accept cid=2, fmt=1 to make librtmp happy."); } else { @@ -1756,7 +1756,7 @@ int SrsProtocol::read_message_header(SrsChunkStream* chunk, char fmt) pp[0] = *p++; // always use 31bits timestamp, for some server may use 32bits extended timestamp. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/111 + // @see https://github.com/simple-rtmp-server/srs/issues/111 timestamp &= 0x7fffffff; /** @@ -1947,12 +1947,12 @@ int SrsProtocol::on_recv_message(SrsCommonMessage* msg) // for some server, the actual chunk size can greater than the max value(65536), // so we just warning the invalid chunk size, and actually use it is ok, - // @see: https://github.com/winlinvip/simple-rtmp-server/issues/160 + // @see: https://github.com/simple-rtmp-server/srs/issues/160 if (pkt->chunk_size < SRS_CONSTS_RTMP_MIN_CHUNK_SIZE || pkt->chunk_size > SRS_CONSTS_RTMP_MAX_CHUNK_SIZE) { srs_warn("accept chunk size %d, but should in [%d, %d], " - "@see: https://github.com/winlinvip/simple-rtmp-server/issues/160", + "@see: https://github.com/simple-rtmp-server/srs/issues/160", pkt->chunk_size, SRS_CONSTS_RTMP_MIN_CHUNK_SIZE, SRS_CONSTS_RTMP_MAX_CHUNK_SIZE); } @@ -2150,7 +2150,7 @@ int SrsConnectAppPacket::decode(SrsStream* stream) if (!stream->empty()) { srs_freep(args); - // see: https://github.com/winlinvip/simple-rtmp-server/issues/186 + // see: https://github.com/simple-rtmp-server/srs/issues/186 // the args maybe any amf0, for instance, a string. we should drop if not object. SrsAmf0Any* any = NULL; if ((ret = SrsAmf0Any::discovery(stream, &any)) != ERROR_SUCCESS) { diff --git a/trunk/src/protocol/srs_rtmp_stack.hpp b/trunk/src/protocol/srs_rtmp_stack.hpp index 61059f137..4f88bc5d2 100644 --- a/trunk/src/protocol/srs_rtmp_stack.hpp +++ b/trunk/src/protocol/srs_rtmp_stack.hpp @@ -34,7 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include -// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213 +// for srs-librtmp, @see https://github.com/simple-rtmp-server/srs/issues/213 #ifndef _WIN32 #include #endif @@ -220,7 +220,7 @@ class SrsSharedPtrMessage // 4.1. Message Header public: // the header can shared, only set the timestamp and stream id. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/251 + // @see https://github.com/simple-rtmp-server/srs/issues/251 //SrsSharedMessageHeader header; /** * Four-byte field that contains a timestamp of the message. @@ -255,7 +255,7 @@ private: { public: // shared message header. - // @see https://github.com/winlinvip/simple-rtmp-server/issues/251 + // @see https://github.com/simple-rtmp-server/srs/issues/251 SrsSharedMessageHeader header; // actual shared payload. char* payload; @@ -408,7 +408,7 @@ private: /** * cache some frequently used chunk header. * cs_cache, the chunk stream cache. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/249 + * @see https://github.com/simple-rtmp-server/srs/issues/249 */ SrsChunkStream** cs_cache; /** @@ -426,7 +426,7 @@ private: /** * whether auto response when recv messages. * default to true for it's very easy to use the protocol stack. - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/217 + * @see: https://github.com/simple-rtmp-server/srs/issues/217 */ bool auto_response_when_recv; /** @@ -464,7 +464,7 @@ public: /** * set the auto response message when recv for protocol stack. * @param v, whether auto response message when recv message. - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/217 + * @see: https://github.com/simple-rtmp-server/srs/issues/217 */ virtual void set_auto_response(bool v); /** @@ -482,7 +482,7 @@ public: * that is, we merge some data to read together. * @param v true to ename merged read. * @param handler the handler when merge read is enabled. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + * @see https://github.com/simple-rtmp-server/srs/issues/241 */ virtual void set_merge_read(bool v, IMergeReadHandler* handler); /** @@ -490,7 +490,7 @@ public: * @param buffer the size of buffer. * @remark when MR(SRS_PERF_MERGED_READ) disabled, always set to 8K. * @remark when buffer changed, the previous ptr maybe invalid. - * @see https://github.com/winlinvip/simple-rtmp-server/issues/241 + * @see https://github.com/simple-rtmp-server/srs/issues/241 */ virtual void set_recv_buffer(int buffer_size); #endif @@ -1454,13 +1454,13 @@ public: std::string command_name; /** * whether allow access the sample of video. - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/49 + * @see: https://github.com/simple-rtmp-server/srs/issues/49 * @see: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#videoSampleAccess */ bool video_sample_access; /** * whether allow access the sample of audio. - * @see: https://github.com/winlinvip/simple-rtmp-server/issues/49 + * @see: https://github.com/simple-rtmp-server/srs/issues/49 * @see: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#audioSampleAccess */ bool audio_sample_access; diff --git a/trunk/src/utest/srs_utest_protocol.cpp b/trunk/src/utest/srs_utest_protocol.cpp index 832eace41..d80012617 100644 --- a/trunk/src/utest/srs_utest_protocol.cpp +++ b/trunk/src/utest/srs_utest_protocol.cpp @@ -654,7 +654,7 @@ VOID TEST(ProtocolStackTest, ProtocolRecvMessage) // 0x04 where: message_type=4(protocol control user-control message) // 0x00 0x06 where: event Ping(0x06) // 0x00 0x00 0x0d 0x0f where: event data 4bytes ping timestamp. -// @see: https://github.com/winlinvip/simple-rtmp-server/issues/98 +// @see: https://github.com/simple-rtmp-server/srs/issues/98 VOID TEST(ProtocolStackTest, ProtocolRecvMessageBug98) { MockBufferIO bio; @@ -3751,7 +3751,7 @@ VOID TEST(ProtocolStackTest, ProtocolRecvExtTimeMessage2) * always use 31bits timestamp. */ // always use 31bits timestamp, for some server may use 32bits extended timestamp. -// @see https://github.com/winlinvip/simple-rtmp-server/issues/111 +// @see https://github.com/simple-rtmp-server/srs/issues/111 VOID TEST(ProtocolStackTest, ProtocolRecvExtTimeMessage3) { MockBufferIO bio;