Wowza Community

Wowza WebRTC no video but everything else seams ok

Hi,

I’ve installed the WebRTC plugin and set everything up to connect to my RTSP camera and all looks fine but no video.

Check out the console output:

webrtc.js:28 cookieWSURL: wss://MYKEY.streamlock.net:9443/webrtc-session.json webrtc.js:36 cookieApplicationName: webrtc webrtc.js:44 cookieStreamName: STREAMNAME.stream webrtc.js:59 newAPI: false webrtc.js:208 startPlay: wsURL:wss://MYKEY.streamlock.net:9443/webrtc-session.json streamInfo:{“applicationName”:“webrtc”,“streamName”:“MYKEY.stream”,“sessionId”:"[empty]"} webrtc.js:69 wsConnection.onopen webrtc.js:83 wsURL: wss://MYKEY.streamlock.net:9443/webrtc-session.json webrtc.js:96 sendPlayGetOffer: {“applicationName”:“webrtc”,“streamName”:“MYKEY.stream”,“sessionId”:"[empty]"} webrtc.js:108 wsConnection.onmessage: {“status”:200,“statusDescription”:“OK”,“direction”:“play”,“command”:“getOffer”,“streamInfo”:{“applicationName”:“webrtc/definst”,“streamName”:“MYKEY.stream”,“sessionId”:“1846618886”},“sdp”:{“type”:“offer”,“sdp”:“v=0\r\no=WowzaStreamingEngine-next 427014589 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 FD:5D:3E:29:A7:E7:75:F2:8B:6D:D0:F4:8C:A5:DC:40:01:6C:19:E8:78:30:0C:6B:56:E4:81:C6:CD:0A:C4:13\r\na=group:BUNDLE video\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=video 9 RTP/SAVPF 97\r\na=rtpmap:97 H264/90000\r\na=fmtp:97 packetization-mode=1;profile-level-id=42C020;sprop-parameter-sets=Z0IAIJWoFACBkA==,aM48gA==\r\na=cliprect:0,0,1024,1280\r\na=framesize:97 1280-1024\r\na=control:trackID=1\r\nc=IN IP4 0.0.0.0\r\na=sendrecv\r\na=ice-pwd:78e6f3b4e60fcfcad4427167f2342c8a\r\na=ice-ufrag:504e6aaa\r\na=mid:video\r\na=msid:{3ca8e02d-6a21-4147-900c-b1fa1f43662e} {0b732ccd-6095-41b2-bf59-b4eb2f9b7adc}\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-mux\r\na=setup:actpass\r\na=ssrc:846584476 cname:{7be65b4a-3cbe-498c-8a6b-3b5214ac8f09}\r\n”}} webrtc.js:146 sdp: {“type”:“offer”,“sdp”:“v=0\r\no=WowzaStreamingEngine-next 427014589 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 FD:5D:3E:29:A7:E7:75:F2:8B:6D:D0:F4:8C:A5:DC:40:01:6C:19:E8:78:30:0C:6B:56:E4:81:C6:CD:0A:C4:13\r\na=group:BUNDLE video\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=video 9 RTP/SAVPF 97\r\na=rtpmap:97 H264/90000\r\na=fmtp:97 packetization-mode=1;profile-level-id=42C020;sprop-parameter-sets=Z0IAIJWoFACBkA==,aM48gA==\r\na=cliprect:0,0,1024,1280\r\na=framesize:97 1280-1024\r\na=control:trackID=1\r\nc=IN IP4 0.0.0.0\r\na=sendrecv\r\na=ice-pwd:78e6f3b4e60fcfcad4427167f2342c8a\r\na=ice-ufrag:504e6aaa\r\na=mid:video\r\na=msid:{3ca8e02d-6a21-4147-900c-b1fa1f43662e} {0b732ccd-6095-41b2-bf59-b4eb2f9b7adc}\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-mux\r\na=setup:actpass\r\na=ssrc:846584476 cname:{7be65b4a-3cbe-498c-8a6b-3b5214ac8f09}\r\n”} webrtc.js:299 gotRemoteStream: [object MediaStream] webrtc.js:281 gotDescription webrtc.js:284 sendAnswer webrtc.js:108 wsConnection.onmessage: {“status”:200,“statusDescription”:“OK”,“direction”:“play”,“command”:“sendResponse”,“streamInfo”:{“applicationName”:“webrtc/definst”,“streamName”:“MYKEY.stream”,“sessionId”:“1846618886”},“iceCandidates”:[{“candidate”:“candidate:0 1 UDP 50 MYIP 7192 typ host generation 0”,“sdpMid”:"",“sdpMLineIndex”:0}]} webrtc.js:158 iceCandidates: {“candidate”:“candidate:0 1 UDP 50 MY IP 7192 typ host generation 0”,“sdpMid”:"",“sdpMLineIndex”:0} webrtc.js:179 wsConnection.onclose

Also, in Wowza log I get: WebRTCSession:shutdown[SESSION ID]: Shutdown WebRTC Session. After that I get unpublish (webrtc) and after that I get destroy.

I belive that I make the handshake and everything seams alright and then the server tryes to send the video but can’t so it shuts down the session.

Does this make sense?