Results 1 to 2 of 2

Thread: WebRTC trial - Missing file webrtc-session.json

  1. #1

    Default WebRTC trial - Missing file webrtc-session.json

    I am trying to get the webRTC trial to work but in get the following error in the browser when I try to publish the stream:

    webrtc.js:129 WebSocket connection to 'wss://' failed: Error during WebSocket handshake: Unexpected response code: 404
    wsConnect @ webrtc.js:129
    startPublisher @ webrtc.js:237
    start @ webrtc.js:260
    onclick @ index.html:20

    I also get the following error in the server logs:

    15:30:07 (EST)
    server (500)
    HTTPProviderSimpleWebServer.onHTTPRequest: File missing: /Library/WowzaStreamingEngine/htdocs/webrtc-session.json

    I noticed some else was experiencing this issue and the solution seem to be inserting the following line into the webrtc.js file:

    var postURL = "";

    This did not solve the issue for me. I do not have the file webrtc-session.json everywhere on the system as far as I can tell. Any help with this issue would be greatly appreciated.

    Tim McClure

  2. #2
    Join Date
    Mar 2016



    The correct variable in webrtc.js for the new WebRTC Preview is: var wsURL = "";
    If this is changed it will cause issues.

    The correct path for the Simple Web Server html files is: [install-dir]/htdocs/webrtc then you empty the contents of the html folder in the WebRTC download package into the webrtc folder(chat, img, js, play, publish).

    The webrtc-session.json is loaded with this step(it does not need to be installed since it's part of the install):

    Configure HTTPProvider for SDP exchange: Add the following XML snippet as the second to last entry in the list of HTTPProviders for HostPort entry 443 (SSL port). It is important that it is the second to last entry:

    Please restart your Wowza Server when making changes.

    If this does not help please open a support case with the below info:

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

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


Similar Threads

  1. WebRTC using WowzaStreamingEngine trial
    By OlegLem in forum General Forum
    Replies: 1
    Last Post: 01-03-2017, 11:34 AM
  2. WebRTC preview add on for the webrtc-session.json File
    By kelvinshee in forum General Forum
    Replies: 3
    Last Post: 12-20-2016, 10:09 AM
  3. Replies: 1
    Last Post: 11-23-2016, 10:59 AM
  4. webrtc-session.json File missing
    By Vanderhoffer in forum General Forum
    Replies: 1
    Last Post: 09-22-2016, 03:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts