Wowza Community

WebRTC webrtc-session.json 403 Forbidden

Trying to configure WebRTC support on Wowza 4.6

I added the HTTPProvider for port 443. I added all the properties and have a valid streamlock cert. The publish sample page loads fine and it connects to my camera, but it gives a 403 Forbidden when it tries to load the webrtc-session.json.

First, is this an actual file that gets loaded somewhere as I can’t seem to locate it?

Second, what would be causing the 403?

Thanks!

Hello,

I would make sure that you have this HTTP Provider 2nd to last entry in the list of HTTPProviders for HostPort entry for 443 (Your SSL port) in VHost.xml.

[install-dir]/conf/VHost.xml

com.wowza.wms.webrtc.http.HTTPWebRTCExchangeSessionInfo

*webrtc-session.json

none

Please save and restart the Wowza Server when making changes.

If that does not help, please create a support case along with the below info for further review of your WebRTC setup. Open a support case.

[install-dir]/conf

[install-dir]/logs

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

Regards,

JasonT

Thanks Jason.

Unfortunately, that entry was already there so there was nothing to do. Could you verify though, is the webrtc-session.json an actual file that is supposed to be located somewhere?

Hello,

It’s part of the Wowza Streaming Engine 4.6.0 source code and is loaded when you put in this entry in the VHost.xml file:

com.wowza.wms.webrtc.http.HTTPWebRTCExchangeSessionInfo

*webrtc-session.json

none

I would recommend checking out the Access Logs to see the WARN and ERROR’s; maybe something will be telling there, or to open a support case for further review with the requested info above.

Access Logs are located in:

[install-dir]/logs

Regards,

JasonT