we have done tests with Wowza and the WebRTC (preview) about 6 months ago. And that worked well. Now we want to implement this in the new Wowza 4.7.7 version, and the examples for publishing is not working anymore. I do get errors in Firefox and Chrome either running on Ubuntu or Windows 10.
So I have setup a clean Wowza from version 4.7.7 (So no upgrade from the preview version). Then I have configured WebRTC according to:
and that all works fine. Wowza is starting, and we are able to get the publish page in the browser. We are using the provided examples in the Wowza installation (so again, not the old preview examples)
There we fill out the form with the right values and press publish. And then the problems starts.
With firefox, we get a DOM exception like the following:
DOMException: "Failed to parse SDP: SDP Parse Error on line 19: Warning: Invalid token ordering detected, token b= found after token a= SDP Parse Error on line 24: Warning: Invalid named events specified for fmtp attribute. SDP Parse Error on line 37: Warning: Invalid token ordering detected, token b= found after token a= SDP Parse Error on line 51: Warning: Invalid named events specified for fmtp attribute. SDP Parse Error on line 53: Warning: Invalid named events specified for fmtp attribute. SDP Parse Error on line 5: Only one token in fingerprint attribute "
Followed by another error:
InvalidStateError: Cannot add ICE candidate in state have-local-offer
The second error is a result of the first, because the SDP parsing is failing, and therefore missing data or not yet ready to update ICE candidates.
With Chrome we get the following error on the same page:
Uncaught (in promise) DOMException: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': Error processing ICE candidate
So it looks like both browsers are failing with almost the same error, so it looks like there is something not working.
While the examples with Wowza 4.7.5 and 4.7.6 did work. So with the WebRTC preview, I got it working. With the released version it is not working. And I have debugged now straight for three days and I can’t find why it is not working any more. We have not touched the code. We are running it as provided.
My question, do the example pages still work? Are there changes that are not reflected in the example pages. (https://www.wowza.com/downloads/webrtc/webrtcexamplepages.zip)