# Issue Trying to Get WebRTC Example Working \_ SDP URL seems incorrect

**URL:** <https://community.wowza.com/t/issue-trying-to-get-webrtc-example-working-sdp-url-seems-incorrect/46507>\
**Category:** Wowza Streaming Engine\
**Created:** [December 22, 2016, 1:55pm UTC](https://community.wowza.com/t/issue-trying-to-get-webrtc-example-working-sdp-url-seems-incorrect/46507 "2016-12-22T13:55:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_McClure](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@Tim\_McClure](https://community.wowza.com/u/Tim_McClure)\
**Post date:** [December 22, 2016, 1:55pm UTC](https://community.wowza.com/t/issue-trying-to-get-webrtc-example-working-sdp-url-seems-incorrect/46507/1 "2016-12-22T13:55:25Z")

</div>

I am running Wowza locally on my MAC. I have a valid license. I download the WebRTC trial. I created a StreamLock certificate and made the necessary changes to the various configuration files. I also enabled the local Wowza http server. I am using the following SDP URL:

wss://10.0.0.36:1935/webrtc-session.json

The browser is not able to connect. When I try to publish I get the following error:

WebSocket connection to ‘wss://10.0.0.36:1935/webrtc-session.json’ failed: Error in connection establishment: net::ERR\_SSL\_PROTOCOL\_ERROR

10.0.0.36 is the IP address of the machine and the IP address I used in creating the certificate. i tried using the certificate name as well. I tried without port also and got the following error:

WebSocket connection to ‘wss://10.0.0.36/webrtc-session.json’ failed: Error in connection establishment: net::ERR\_CONNECTION\_REFUSED. Definitely need to use a port - look at what was listening on my machine and 1935 seems to be the only port I would use.

What should the SDP URL be? Also do I need to configure a stream through the Wowza interface?

Thanks,

Tim McClure

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [December 23, 2016, 9:09am UTC](https://community.wowza.com/t/issue-trying-to-get-webrtc-example-working-sdp-url-seems-incorrect/46507/2 "2016-12-23T09:09:36Z")

</div>

Hello,

You will not be adding port 1935 as that is for RTP streaming for WebRTC.

Your SDP URL needs to look something like this:

wss://5555555555.streamlock.net/webrtc-session.json

If you use the “publish” example you will not need to create a stream.

If you are having further issues, please open a [support case](https://www.wowza.com/support/open-ticket), along with the below folders for review:

[install-dir]/conf

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

[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](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 link to the files.

Regards,

JasonT

---

<div class="post-metadata">

**Author:** ![Naga\_Harish\_Muvva](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/naga_harish_muvva/32/1394_2.png) [@Naga\_Harish\_Muvva](https://community.wowza.com/u/Naga_Harish_Muvva)\
**Post date:** [March 20, 2024, 11:06pm UTC](https://community.wowza.com/t/issue-trying-to-get-webrtc-example-working-sdp-url-seems-incorrect/46507/3 "2024-03-20T23:06:28Z")

</div>

> [@Jason\_Tuchler](#):
>
> wss://5555555555.streamlock.net/webrtc-session.json

Do I need to use wss://\*\*\*.streamlock.net/webrtc-session.json only? can I use my custom…?

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [March 23, 2024, 12:13pm UTC](https://community.wowza.com/t/issue-trying-to-get-webrtc-example-working-sdp-url-seems-incorrect/46507/4 "2024-03-23T12:13:10Z")

</div>

If you mean custom SSL certificate, yes you can:  
[https://www.wowza.com/docs/how-to-request-an-ssl-certificate-from-a-certificate-authority](https://www.wowza.com/docs/how-to-request-an-ssl-certificate-from-a-certificate-authority)

If you mean custom Websocket server, you’ll need to use Wowza’s version that can be overrided:  
[https://www.wowza.com/docs/control-access-to-webrtc-publishing-and-playback#enhance-webrtc-publishing-and-playback-security-with-a-custom-http-provider7](https://www.wowza.com/docs/control-access-to-webrtc-publishing-and-playback#enhance-webrtc-publishing-and-playback-security-with-a-custom-http-provider7)
