srs icon indicating copy to clipboard operation
srs copied to clipboard

When using Wirecast 7.1 to push to SRS 2.0.234, there are intermittent interruptions, but there are no issues when pushing to nginx-rtmp.

Open yyuk opened this issue 9 years ago • 2 comments

When using Wirecast 7.1 for streaming, there is an intermittent issue with the connection. However, when streaming to nginx-rtmp, there are no problems at all. I'm not sure what the reason is. On the other hand, with the older version of Wirecast, 4.0, I need to adjust the h.264 to baseline in order to stream properly. I kindly request the developers to make Wirecast compatible.

[2017-04-05 16:22:03.729][trace][2735][0] uname: Linux CM-171 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[2017-04-05 16:22:03.729][trace][2735][0] configure: --x86-x64 --with-hls --with-hds --with-dvr --with-nginx --with-http-callback --with-http-server --without-stream-caster --with-http-api --with-ffmpeg --with-transcode --with-ingest --with-stat --with-librtmp --without-utest --without-gprof

[2017-04-05 16:12:43.672][trace][2711][100] http: api mount /console to ./objs/nginx/html/console [2017-04-05 16:12:43.682][trace][2711][100] ingest thread cid=105, current_cid=100 [2017-04-05 16:13:05.807][trace][2711][107] RTMP client ip=119.145.136.165 [2017-04-05 16:13:05.997][trace][2711][107] srand initialized the random. [2017-04-05 16:13:06.003][trace][2711][107] complex handshake success [2017-04-05 16:13:06.005][trace][2711][107] connect app, tcUrl=rtmp://119.145.136.171:1935/livess, pageUrl=, swfUrl=, schema=rtmp, vhost=119.145.136.171, port=1935, app=livess, args=null [2017-04-05 16:13:06.017][trace][2711][107] client identified, type=fmle-publish, stream_name=myStream, duration=-1.00 [2017-04-05 16:13:06.037][trace][2711][107] source url=119.145.136.171/livess/myStream, ip=119.145.136.165, cache=1, is_edge=0, source_id=-1[-1] [2017-04-05 16:13:06.060][trace][2711][107] hls: win=60.00, frag=10.00, prefix=, path=./objs/nginx/html/live/hls, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0 [2017-04-05 16:13:06.070][trace][2711][107] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0, rtcid=110 [2017-04-05 16:13:06.310][trace][2711][107] got metadata, width=1280, height=720 [2017-04-05 16:13:06.704][trace][2711][107] protocol in.buffer=0, in.ack=0, out.ack=2500000, in.chunk=128, out.chunk=60000 [2017-04-05 16:13:06.704][trace][2711][107] 70B video sh, codec(7, profile=Main, level=3.1, 1280x720, 0kbps, 0fps, 0s) [2017-04-05 16:13:07.007][trace][2711][107] 4B audio sh, codec(10, profile=LC, 2channels, 0kbps, 44100HZ), flv(16bits, 2channels, 44100HZ) [2017-04-05 16:13:15.708][trace][2711][107] -> HLS time=10000, stream dts=812970(9033ms), sno=1, ts=myStream-0.ts, dur=9.03, dva=0p [2017-04-05 16:13:25.717][trace][2711][107] -> HLS time=20001, stream dts=1712970(19033ms), sno=2, ts=myStream-1.ts, dur=3.03, dva=0p [2017-04-05 16:13:31.070][trace][2711][107] <- CPB time=20001, okbps=1,0,0, ikbps=2399,0,0, mr=0/350, p1stpt=20000, pnt=5000 [2017-04-05 16:13:36.070][warn][2711][107][62] publish timeout 5000ms, nb_msgs=1747, ret=1011 [2017-04-05 16:13:36.071][trace][2711][107] cleanup when unpublish [2017-04-05 16:13:36.072][warn][2711][107][2] client disconnect peer. ret=1004 [2017-04-05 16:13:37.331][trace][2711][112] RTMP client ip=119.145.136.165 [2017-04-05 16:13:37.337][trace][2711][112] complex handshake success [2017-04-05 16:13:37.338][trace][2711][112] connect app, tcUrl=rtmp://119.145.136.171:1935/livess, pageUrl=, swfUrl=, schema=rtmp, vhost=119.145.136.171, port=1935, app=livess, args=null [2017-04-05 16:13:37.353][trace][2711][112] client identified, type=fmle-publish, stream_name=myStream, duration=-1.00 [2017-04-05 16:13:37.353][trace][2711][112] source url=119.145.136.171/livess/myStream, ip=119.145.136.165, cache=1, is_edge=0, source_id=-1[-1] [2017-04-05 16:13:37.364][trace][2711][112] hls: win=60.00, frag=10.00, prefix=, path=./objs/nginx/html/live/hls, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0 [2017-04-05 16:13:37.374][trace][2711][112] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0, rtcid=113 [2017-04-05 16:13:37.615][trace][2711][112] got metadata, width=1280, height=720 [2017-04-05 16:13:37.970][trace][2711][112] protocol in.buffer=0, in.ack=0, out.ack=2500000, in.chunk=128, out.chunk=60000 [2017-04-05 16:13:37.970][trace][2711][112] 70B video sh, codec(7, profile=Main, level=3.1, 1280x720, 0kbps, 0fps, 0s) [2017-04-05 16:13:37.978][warn][2711][112][11] hls timestamp jump 2150370=>0 [2017-04-05 16:13:37.978][trace][2711][112] -> HLS time=32001, stream dts=0(0ms), sno=3, ts=myStream-2.ts, dur=0.00, dva=0p [2017-04-05 16:13:38.273][trace][2711][112] 4B audio sh, codec(10, profile=LC, 2channels, 0kbps, 44100HZ), flv(16bits, 2channels, 44100HZ) [2017-04-05 16:13:47.708][trace][2711][112] -> HLS time=42002, stream dts=875970(9733ms), sno=3, ts=myStream-2.ts, dur=9.73, dva=0p [2017-04-05 16:13:57.713][trace][2711][112] -> HLS time=52002, stream dts=1773000(19700ms), sno=4, ts=myStream-3.ts, dur=3.70, dva=0p [2017-04-05 16:14:02.375][trace][2711][112] <- CPB time=20000, okbps=1,0,0, ikbps=2351,0,0, mr=0/350, p1stpt=20000, pnt=5000 [2017-04-05 16:14:12.375][warn][2711][112][62] publish timeout 5000ms, nb_msgs=1818, ret=1011 [2017-04-05 16:14:12.376][trace][2711][112] cleanup when unpublish [2017-04-05 16:14:12.376][warn][2711][112][2] client disconnect peer. ret=1004 [2017-04-05 16:14:13.602][trace][2711][115] RTMP client ip=119.145.136.165 [2017-04-05 16:14:13.608][trace][2711][115] complex handshake success [2017-04-05 16:14:13.610][trace][2711][115] connect app, tcUrl=rtmp://119.145.136.171:1935/livess, pageUrl=, swfUrl=, schema=rtmp, vhost=119.145.136.171, port=1935, app=livess, args=null [2017-04-05 16:14:13.624][trace][2711][115] client identified, type=fmle-publish, stream_name=myStream, duration=-1.00 [2017-04-05 16:14:13.624][trace][2711][115] source url=119.145.136.171/livess/myStream, ip=119.145.136.165, cache=1, is_edge=0, source_id=-1[-1] [2017-04-05 16:14:13.635][trace][2711][115] hls: win=60.00, frag=10.00, prefix=, path=./objs/nginx/html/live/hls, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0 [2017-04-05 16:14:13.645][trace][2711][115] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0, rtcid=116 [2017-04-05 16:14:13.918][trace][2711][115] got metadata, width=1280, height=720 [2017-04-05 16:14:14.311][trace][2711][115] protocol in.buffer=0, in.ack=0, out.ack=2500000, in.chunk=128, out.chunk=60000 [2017-04-05 16:14:14.311][trace][2711][115] 70B video sh, codec(7, profile=Main, level=3.1, 1280x720, 0kbps, 0fps, 0s) [2017-04-05 16:14:14.312][warn][2711][115][11] hls timestamp jump 2236050=>0 [2017-04-05 16:14:14.313][trace][2711][115] -> HLS time=68002, stream dts=0(0ms), sno=5, ts=myStream-4.ts, dur=0.00, dva=0p [2017-04-05 16:14:14.609][trace][2711][115] 4B audio sh, codec(10, profile=LC, 2channels, 0kbps, 44100HZ), flv(16bits, 2channels, 44100HZ) [2017-04-05 16:14:23.711][trace][2711][115] -> HLS time=78002, stream dts=848970(9433ms), sno=5, ts=myStream-4.ts, dur=9.43, dva=0p [2017-04-05 16:14:33.645][trace][2711][115] <- CPB time=0, okbps=1,0,0, ikbps=2350,0,0, mr=0/350, p1stpt=20000, pnt=5000 [2017-04-05 16:14:33.715][trace][2711][115] -> HLS time=88003, stream dts=1748970(19433ms), sno=6, ts=myStream-5.ts, dur=3.43, dva=0p [2017-04-05 16:14:34.147][trace][2711][104] user terminate program

TRANS_BY_GPT3

yyuk avatar Apr 05 '17 08:04 yyuk

Why was it closed? Was it resolved later?

TRANS_BY_GPT3

winlinvip avatar Apr 15 '17 10:04 winlinvip

Using version 3.0, configuring in_ack_size 250000 can ensure successful streaming with Wirecast.

TRANS_BY_GPT3

SnailTowardThesun avatar Apr 15 '17 11:04 SnailTowardThesun