Search in sources :

Example 1 with ConnectionClientMethodInvoker

use of org.red5.app.sip.ConnectionClientMethodInvoker in project bigbluebutton by bigbluebutton.

the class VoiceConferenceApplication method login.

private void login(String obproxy, String uid, String phone, String username, String password, String realm, String proxy, int sipport, int rtpport) {
    System.out.println("Red5SIP login " + uid);
    IConnection conn = Red5.getConnectionLocal();
    IServiceCapableConnection service = (IServiceCapableConnection) conn;
    ConnectionClientMethodInvoker rtmpConnection = new ConnectionClientMethodInvoker(service, conn.getScope());
    String userid = getSipUserId();
    sipManager.createSipUser(userid, rtmpConnection, sipport, rtpport);
    sipManager.login(userid, obproxy, phone, username, password, realm, proxy);
}
Also used : ConnectionClientMethodInvoker(org.red5.app.sip.ConnectionClientMethodInvoker) IServiceCapableConnection(org.red5.server.api.service.IServiceCapableConnection) IConnection(org.red5.server.api.IConnection)

Aggregations

ConnectionClientMethodInvoker (org.red5.app.sip.ConnectionClientMethodInvoker)1 IConnection (org.red5.server.api.IConnection)1 IServiceCapableConnection (org.red5.server.api.service.IServiceCapableConnection)1