コード例 #1
0
        protected override ICall GetIncomingCall(string callId)
        {
            var callJavaObject = _clientModule.Call <AndroidJavaObject>("getIncomingCall", callId);

            var call = new CallAndroid(callJavaObject);

            call.SyncEndpoints();
            CallAdded(call);

            return(call);
        }
コード例 #2
0
        public override ICall CallConference(string conference, CallSettings callSettings)
        {
            var callJavaObject = _clientModule.Call <AndroidJavaObject>("callConference", conference,
                                                                        callSettings.VideoFlags.ReceiveVideo, callSettings.VideoFlags.SendVideo,
                                                                        callSettings.VideoCodec.ToString(), callSettings.CustomData,
                                                                        JsonHelper.ToJson(callSettings.ExtraHeaders));

            if (callJavaObject == null)
            {
                return(null);
            }

            var call = new CallAndroid(callJavaObject);

            CallAdded(call);

            return(call);
        }