# WebRTC publish problem

**URL:** <https://community.wowza.com/t/webrtc-publish-problem/49370>\
**Category:** Wowza Streaming Engine\
**Created:** [August 7, 2017, 1:25pm UTC](https://community.wowza.com/t/webrtc-publish-problem/49370 "2017-08-07T13:25:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radoslaw\_Gniado](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@Radoslaw\_Gniado](https://community.wowza.com/u/Radoslaw_Gniado)\
**Post date:** [August 7, 2017, 1:25pm UTC](https://community.wowza.com/t/webrtc-publish-problem/49370/1 "2017-08-07T13:25:44Z")

</div>

Server: 4.7.1 (build 20635), OS: Linux (amd64), Java Version: 1.8.0\_77, Java VM Version: 25.77-b03, Java Architecture :64

I’ve just tested WebRTC and i have some errors.

On Chrome(59.0.3071.115) when i start publish I’ve got

```auto
DOMException: Failed to parse SessionDescription. a=fingerprint:sha-256 Failed to create fingerprint from the digest.

```

and

```auto
Uncaught (in promise) DOMException: Error processing ICE candidate

```

SDP:

```auto
sdp: v=0
o=WowzaStreamingEngine-next 1023561687 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 111
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:00a75fcc
a=ice-pwd:0015244a38445bcfed94bc7fbc1bdba0
a=fingerprint:sha-256 
a=setup:passive
a=mid:audio
b=CT:64
b=AS:64
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=recvonly
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
m=video 9 UDP/TLS/RTP/SAVPF 98
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:00a75fcc
a=ice-pwd:0015244a38445bcfed94bc7fbc1bdba0
a=fingerprint:sha-256 
a=setup:passive
a=mid:video
b=CT:360
b=AS:360
a=framerate:29.97
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 urn:3gpp:video-orientation
a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:98 VP9/90000
a=fmtp:98 x-google-min-bitrate=360;x-google-max-bitrate=360
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc

```

On Firefox(54.0.1)

```auto
DOMException [InvalidSessionDescriptionError: "Failed to parse SDP: SDP Parse Error on line 17: Warning: Invalid token ordering detected, token b= found after token a=
SDP Parse Error on line 22: Warning: Invalid named events specified for fmtp attribute.
SDP Parse Error on line 33: Warning: Invalid token ordering detected, token b= found after token a=
SDP Parse Error on line 43: Warning: Invalid named events specified for fmtp attribute.
SDP Parse Error on line 5: Only one token in fingerprint attribute
"

```

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Gniado](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@Radoslaw\_Gniado](https://community.wowza.com/u/Radoslaw_Gniado)\
**Post date:** [August 8, 2017, 9:55am UTC](https://community.wowza.com/t/webrtc-publish-problem/49370/2 "2017-08-08T09:55:05Z")

</div>

When I changed deafult config VHost.xml from Wowza 4.7.0 to 4.7.1 I have got new error

```auto
DOMException: CreateAnswer failed because remote_description is not an offer.

```

---

<div class="post-metadata">

**Author:** ![jaime\_lau](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@jaime\_lau](https://community.wowza.com/u/jaime_lau)\
**Post date:** [October 13, 2017, 2:29am UTC](https://community.wowza.com/t/webrtc-publish-problem/49370/3 "2017-10-13T02:29:06Z")

</div>

Have this been solved? How did you solve this?

I came across exactly the same error as you recently, can you share me how did you solve this? thanks so much!

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Gniado](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@Radoslaw\_Gniado](https://community.wowza.com/u/Radoslaw_Gniado)\
**Post date:** [October 13, 2017, 12:03pm UTC](https://community.wowza.com/t/webrtc-publish-problem/49370/4 "2017-10-13T12:03:24Z")

</div>

Yes, Jason Tuchler from Wowza Support helped me.

My page was not setup properly with the SSL. You must do exactly as it is written on the page.

[https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service](https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service)
