Skip to content

Commit

Permalink
Fixes receiving remove videos.
Browse files Browse the repository at this point in the history
The initial change was made in 912998b, but was not taking in
consideration that all jitsi desktop video calls have a rtpTranslator,
and that change broke incoming video.
As this change is needed for jigasi, jigasi always sets useTranslator
for the audio and that setting is only used in that case.
fixes jitsi/jitsi#627
closes #505
  • Loading branch information
damencho committed Dec 17, 2019
1 parent 837aecc commit 58f6195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jitsi/impl/neomedia/MediaStreamImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ private boolean addReceiveStream(ReceiveStream receiveStream)
{
MediaDeviceSession deviceSession = getDeviceSession();

if (deviceSession == null || rtpTranslator != null)
if (deviceSession == null || deviceSession.useTranslator)
{
// Since there is no output MediaDevice to render the
// receiveStream on, the JitterBuffer of the receiveStream
Expand Down

0 comments on commit 58f6195

Please sign in to comment.