Skip to content

Commit

Permalink
Remove Opus DTX
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd authored Jul 31, 2024
1 parent d024321 commit 5a29ff6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/selkies_gstreamer/gstwebrtc_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,6 @@ def build_audio_pipeline(self):
opusenc.set_property("audio-type", "restricted-lowdelay")
opusenc.set_property("bandwidth", "fullband")
opusenc.set_property("bitrate-type", "cbr")
opusenc.set_property("dtx", True)
# OPUS_FRAME: Modify all locations with "OPUS_FRAME:"
# Browser-side SDP munging ("minptime=3"/"minptime=5") is required if frame-size < 10
opusenc.set_property("frame-size", "10")
Expand All @@ -1056,7 +1055,6 @@ def build_audio_pipeline(self):
# RTP packets that are sent over the connection transport.
rtpopuspay = Gst.ElementFactory.make("rtpopuspay")
rtpopuspay.set_property("mtu", 1200)
rtpopuspay.set_property("dtx", True)

# Add WebRTC RTP extensions
extensions_return = self.rtp_add_extensions(rtpopuspay, audio=True)
Expand Down

0 comments on commit 5a29ff6

Please sign in to comment.