Exemplo n.º 1
0
        internal ADLConnectionDescription toNative()
        {
            var cd = new ADLConnectionDescription();

            cd.autopublishAudio = autopublishAudio;
            cd.autopublishVideo = autopublishVideo;
            cd.scopeId          = StringHelper.toNative(scopeId);
            cd.url         = StringHelper.toNative(url);
            cd.authDetails = authDetails.toNative();
            cd.videoStream = videoStream.toNative();
            return(cd);
        }
 public static extern void adl_connect(adl_void_rclbck_t rclbck,
     ADLH handle, IntPtr opaque, ref ADLConnectionDescription connDescr);
 public static extern void adl_connect(adl_void_rclbck_t rclbck,
                                       ADLH handle, IntPtr opaque, ref ADLConnectionDescription connDescr);
 internal ADLConnectionDescription toNative()
 {
     var cd = new ADLConnectionDescription();
     cd.autopublishAudio = autopublishAudio;
     cd.autopublishVideo = autopublishVideo;
     cd.scopeId = StringHelper.toNative(scopeId);
     cd.url = StringHelper.toNative(url);
     cd.authDetails = authDetails.toNative();
     cd.videoStream = videoStream.toNative();
     return cd;
 }