Skip to content

Commit

Permalink
Fixes build after updating jitsi-desktop.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Mar 18, 2020
1 parent cc6eab5 commit a0a12ab
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/main/java/org/jitsi/jigasi/SipGatewaySession.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.jitsi.utils.concurrent.*;
import org.jitsi.utils.*;
import org.jivesoftware.smack.packet.*;
import org.json.simple.*;

import java.io.*;
import java.text.*;
Expand Down Expand Up @@ -628,6 +629,31 @@ public void onJoinJitsiMeetRequest(
}
}

/**
* Received if StartMutedExtension is handled.
*
* @param startMutedFlags [0] represents audio stream should be muted,
* [1] represents video stream should be muted.
*/
@Override
public void onSessionStartMuted(boolean[] startMutedFlags)
{
}

/**
* Received JSON over SIP from callPeer.
*
* @param callPeer callPeer that sent the JSON.
* @param jsonObject JSON that was sent.
* @param params Implementation specific parameters.
*/
@Override
public void onJSONReceived(CallPeer callPeer,
JSONObject jsonObject,
Map<String, Object> params)
{
}

/**
* Initializes the sip call listeners.
* @param sipCallIdentifier the stats identifier for the call in or out.
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/org/jitsi/jigasi/TranscriptionGatewaySession.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.jitsi.utils.logging.*;
import org.jitsi.utils.*;
import org.jivesoftware.smack.packet.Presence;
import org.json.simple.*;
import org.jxmpp.jid.*;
import org.jxmpp.jid.impl.*;
import org.jxmpp.stringprep.*;
Expand Down Expand Up @@ -420,6 +421,20 @@ public void onJoinJitsiMeetRequest(Call call, String s,
"not supported by TranscriptionGatewaySession");
}

@Override
public void onSessionStartMuted(boolean[] startMutedFlags)
{
// Not used.
}

@Override
public void onJSONReceived(CallPeer callPeer,
JSONObject jsonObject,
Map<String, Object> params)
{
// Not used.
}

@Override
public void toneReceived(DTMFReceivedEvent dtmfReceivedEvent)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import net.java.sip.communicator.service.protocol.*;
import net.java.sip.communicator.util.*;
import org.jivesoftware.smack.packet.*;
import org.json.simple.*;

import java.util.*;
import java.util.concurrent.*;
Expand Down Expand Up @@ -129,4 +130,10 @@ public void notifyJoinJitsiMeetRoom(Call call, String jitsiMeetRoom)
+ " C: " + call);
}
}

@Override
public void sendJSON(CallPeer callPeer, JSONObject jsonObject, Map<String, Object> map)
throws OperationFailedException
{
}
}

0 comments on commit a0a12ab

Please sign in to comment.