Failed to parse SessionDescription

inSnat

New Member
When using only audio it sends me the following error message, even in its own demo page in the Media Devices section it sends the same when not sending video

Uncaught (in promise) DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. m=video 0 RTP/SAVPF Invalid value: .
at RTCPeerConnection.setRemoteDescription (https://xxssx.com/client2/flashphoner.js:6040:37)
at https://xxssx.com/client2/flashphoner.js:14550:20
at new Promise (<anonymous>)
at Object.setRemoteSdp (https://xxssx.com/client2/flashphoner.js:14537:14)
at Object.streamRefreshHandlers.<computed> [as e117edc0-0bb5-11eb-8f6e-4f34af3f45a2] (https://xxssx.com/client2/flashphoner.js:12066:25)
at WebSocket.wsConnection.onmessage (https://xxssx.com/client2/flashphoner.js:10920:50)
 

Max

Administrator
Staff member
Good day.
This is the known issue we're already working on it ticket WCS-2927.
To workaround it, please play audio only stream with constraints disabling video, for example
Code:
session.createStream({constraints:{audio: true, video: false}}).play();
Or you can publish a stream with muted video using stream.muteVideo() function, in this case video track contains a black screen with minimal bitrate.
 

Max

Administrator
Staff member
Good day.
The issue with audio only stream playback in latest Chrome is fixed in biuld 5.2.791. Please update and check.
 
Top