Ejemplo n.º 1
0
        private void SetTransmitting(ChannelId channel)
        {
            var request = new vx_req_sessiongroup_set_tx_session_t();

            request.session_handle = ChannelSessions[channel].SessionHandle;
            _transmittingChannel   = channel;
            VxClient.Instance.BeginIssueRequest(request, result =>
            {
                try
                {
                    VxClient.Instance.EndIssueRequest(result);
                }
                catch (Exception e)
                {
                    VivoxDebug.Instance.VxExceptionMessage($"{request.GetType().Name} failed: {e}");
                    if (VivoxDebug.Instance.throwInternalExcepetions)
                    {
                        throw;
                    }
                }
            });
        }
Ejemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vx_req_sessiongroup_set_tx_session_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }