Wowza Community

Wowza Streaming Engin with WebRTC

Hi!

We use trial Wowza Streaming Engine, but we have problem with configure webrtc. We configured webrtc using README.html in archive.

When I try to join chat (https://192.168.32.99:9443/webrtc/chat/index.html) in logs I see:

      • 151901.572 - - - - - - - - - - - - - - - - - - - - - - - - -

2017-01-27 10:07:00 MSK create webrtc INFO 200 - - defaultVHost webrtc definst 151901.575 - - - - - - - - - - 1 0 00 - - - - 0 0.0 -

2017-01-27 10:07:00 MSK comment server INFO 200 - WebRTCCommands.sendOffer[1857257990]: audioCodec:opus defaultVHost webrtc definst 151901.575 - - - - - - – - - - - - - -

2017-01-27 10:07:00 MSK comment server INFO 200 - WebRTCRTPHandler.bind: port:1 defaultVHost webrtc definst 151901.575 - - - - - - - - - – - - - - - - -

2017-01-27 10:07:00 MSK comment server INFO 200 - WebRTCRTPHandler.bind: port:2 defaultVHost webrtc definst 151901.575 - - - - - - - - - – - - - - - - -

2017-01-27 10:07:00 MSK comment server INFO 200 - WebRTCCommands.sendOffer[1857257990]: iceCandidate:candidate:0 1 UDP 50 192.168.32.99 6976 typ host generation 0 defaultVHost webrtc definst 151901.575 - - - - - -

2017-01-27 10:07:05 MSK comment server INFO 200 - WebRTCSession.shutdown[1621752707]: Shutdown WebRTC session. - - - 151906.59 - - - - - - - – - - - - - - -

2017-01-27 10:07:05 MSK unpublish webrtc INFO 200 - - defaultVHost webrtc definst 151906.592 - - - - - - - - - - 1 00 0 - - - - 0 0.0

2017-01-27 10:07:05 MSK destroy stream INFO 200 - - defaultVHost webrtc definst 5.018 - - - - - - - - - - 1 0 0 0- - - - 0 0.0 - -

2017-01-27 10:07:25 MSK comment server INFO 200 - killUnidentifiedSessions: Killing unidentified session: address:/192.168.33.38:50264 - - - 151927.27 - - - - – - - - - - - -

WebRTCSession shutdown in 5 seconds.

Could you help me with solution?

Hello,

It looks like you are only using your local network. I would start with replacing your IP address with your StreamLock or SSL cert.

e.g. https://123456.streamlock.net:9443/webrtc/chat/index.html

Please also make sure that you have the following ports open with your firewall.

TCP: 1935, 443, 9443

UDP: 6970-9999 and maybe up to 65535

If that does not help, please open a support case here with the below info:

Browser version and debug log showing connection attempts copied in a text document: Dev Tools> Console

[install-dir]/conf

[install-dir]/logs (latest logs showing connection attempts)

[install-dir]/transcoder

[install-dir]/htdocs

If you are not sure how to get this information please see the following tutorial.

https://www.wowza.com/docs/how-to-create-a-compressed-zip-file-in-windows-os-x-and-linux

If files are too big for email transport, please send a download link to the files.

Regards,

JasonT

Hello,

Great to hear WebRTC is working! To be able to view the WebRTC stream with RTMP, you will need to transcode the stream from VP8/Opus to H.264/AAC. Then will use that rendition to playback as RTMP. e.g. myStream_360p

Here’s our Transcoder Setup Guide.

Regards,

JasonT

Hello,

I have configured webrtc with wowza, thank you!

But I have one question yet.

I publish stream through https//******:9443/webrtc/publish/index.html and I want to see stream in Test Player(adobe rtmp). How can I see stream?

Do I need more configure something?