562935844@qq.com
2022-06-28 a780f0b8d0ccec90d359c0c554f07d5afde9554c
HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/HDLLinphoneKit.java
@@ -163,7 +163,10 @@
            @Override
            public void outgoingInit() {
                super.outgoingInit();
<<<<<<< HEAD
                Log.d("HDLLinphoneKit","------outgoingInit------");
=======
>>>>>>> 1697a5c0a1d40e756738d1f99d496c6e33b3fd52
            }
            @Override
@@ -177,9 +180,12 @@
            @Override
            public void callEnd() {
                super.callEnd();
<<<<<<< HEAD
                Log.d("HDLLinphoneKit","------callEnd------");
//                context.sendBroadcast(new Intent(HDLLinphoneIntercomActivity.RECEIVE_FINISH_VIDEO_ACTIVITY));
=======
>>>>>>> 1697a5c0a1d40e756738d1f99d496c6e33b3fd52
            }
        });
    }
@@ -452,6 +458,12 @@
            if (addressToCall != null) {
                call = core.inviteAddressWithParams(addressToCall, params);
                // 设置外放
                for (AudioDevice audioDevice : HDLLinphoneService.getCore().getAudioDevices()) {
                    if (audioDevice.getType() == AudioDevice.Type.Speaker) {
                        call.setOutputAudioDevice(audioDevice);
                    }
                }
            }
        }
        return call;
@@ -570,6 +582,8 @@
                    return;
                }
            }
            currentCall.setSpeakerVolumeGain(1.0f);
            currentCall.setSpeakerMuted(speakerOn);
        } catch (Exception e) {
            e.printStackTrace();
        }