cancel
Showing results for 
Search instead for 
Did you mean: 

ECF WebRTC not working with latest Google Chrome browser

Roman_Errapart
Participant
0 Kudos

Hi,

After upgrading to the latest Google Chrome version 71.0.3578.80 the sound of the calls is not working with SAP Contact Center ECF.

The receiver of the call hears the agent, but the agent does not hear the customer.

In the previous Google Chrome version 70.0.3538.102 the sound was fine both ways.

Any ideas why is that?

Best regards,

Roman

Accepted Solutions (1)

Accepted Solutions (1)

former_member202106
Contributor
0 Kudos

Hi Roman,

SAP is aware of this problem and is investigating the root cause. More information will follow in coming days.

BR,
Jukka

Answers (2)

Answers (2)

former_member202106
Contributor
0 Kudos

Just FYI - hotfix 7.0.12.23 solves the issue and does the same what Meelis proposed.

0 Kudos

Hi,

Looks like the problem occurs because URL.createObjectURL(stream) is deprecated, elem.srcObject = stream should be used instead.


So in jssip_proxy.js, there are two lines, one in method SipProxyJsSip._onSessionAddstream and one in SipProxyJsSip._onSessionAddtrack which should be updated:

SipProxyJsSip._remoteStream.src = window.URL.createObjectURL(e.stream);
should be replaced with
SipProxyJsSip._remoteStream.srcObject = e.stream;
and
SipProxyJsSip._remoteStream.src = window.URL.createObjectURL(e.streams[0]);
with
SipProxyJsSip._remoteStream.srcObject = e.streams[0];

That should fix it 🙂

Best wishes,

Meelis Annus