Skip to content

Commit

Permalink
Do not use rtprtxsend before webrtcbin
Browse files Browse the repository at this point in the history
  • Loading branch information
erdnaxe committed Apr 9, 2021
1 parent a9c8282 commit 17d134e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions galene_stream/webrtc.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ def __init__(
self.pipeline_desc = (
"webrtcbin name=send bundle-policy=max-bundle "
f'uridecodebin uri="{input_uri}" name=bin '
f"bin. ! videoconvert ! vp8enc deadline=1 target-bitrate={bitrate} ! rtpvp8pay pt=97 "
'! rtprtxsend payload-type-map="application/x-rtp-pt-map,97=(uint)107" max-size-packets=300 ! send. '
"bin. ! audioconvert ! audioresample ! opusenc ! rtpopuspay pt=96 "
'! rtprtxsend payload-type-map="application/x-rtp-pt-map,96=(uint)106" max-size-packets=300 ! send.'
f"bin. ! videoconvert ! vp8enc deadline=1 target-bitrate={bitrate} ! rtpvp8pay pt=97 ! send. "
"bin. ! audioconvert ! audioresample ! opusenc ! rtpopuspay pt=96 ! send."
)

# If gstreamer debug level is undefined, show warnings and errors
Expand Down

0 comments on commit 17d134e

Please sign in to comment.