Skip to content

Commit

Permalink
Force stereo output in the SDP
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenithMDC committed Dec 28, 2023
1 parent f1179f5 commit 05a896a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/components/player/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ function Player({ cinemaMode }) {
peerConnection.addTransceiver('video', { direction: 'recvonly' })

peerConnection.createOffer().then(offer => {
offer["sdp"] = offer["sdp"].replace("useinbandfec=1", "useinbandfec=1;stereo=1")
peerConnection.setLocalDescription(offer)

fetch(`${process.env.REACT_APP_API_PATH}/whep`, {
Expand Down

0 comments on commit 05a896a

Please sign in to comment.