How to mute PJSUA call in android

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am developing VOIP app in android using PJSUA, here I want to mute call

I am reading doc related to PJSUA and I find method that is used for such purpose but could not implement in android APP, please anyone who can help me to set call in mute mode

Here I provide the detail from PJSUA docs,

     pj_status_t pjsua_conf_adjust_rx_level (pjsua_conf_port_id slot,
    float level )   

Adjust the signal level to be received from the specified port (to the bridge) by making it louder or quieter.

Parameters slot The conference bridge slot number. level Signal level adjustment. Value 1.0 means no level adjustment, while value 0 means to mute the port. Returns PJ_SUCCESS on success, or the appropriate error code.

I want solution like that to hold call in android using PJSUA

public void holdCall() {
    CallOpParam prm = new CallOpParam(true);
    try {
        currentCall.setHold(prm);
    } catch (Exception e) {
        e.printStackTrace();
    }
}

Regard

Munir Ahmad 
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux