示例#1
0
        public bool UpdateMediaAttribute(MediaType mediaType, MediaAttr attribute, ActionConfig config)
        {
            bool ret = this.mSession.update(MediaTypeUtils.ConvertToNative(mediaType), (int)attribute, config);

            config.Dispose();
            return(ret);
        }
示例#2
0
 public bool Update(MediaType newMediaType)
 {
     if (mSession != null)
     {
         return(mSession.call(base.ToUri, MediaTypeUtils.ConvertToNative(newMediaType)));
     }
     return(false);
 }
示例#3
0
        public bool MakeVideoSharingCall(string remoteUri)
        {
            this.outgoing = true;
            ActionConfig config = new ActionConfig();
            bool         ret    = this.mSession.call(remoteUri, MediaTypeUtils.ConvertToNative(MediaType.Video), 0, config);

            config.Dispose();
            return(ret);
        }
示例#4
0
        public bool MakeCall(string remoteUri, MediaAttr mediaAttr, ActionConfig config)
        {
            this.outgoing = true;
            base.ToUri    = remoteUri;
            bool ret = this.mSession.call(remoteUri, MediaTypeUtils.ConvertToNative(this.mMediaType), (int)mediaAttr, config);

            config.Dispose();
            return(ret);
        }
示例#5
0
        public bool MakeVideoSharingCall(String remoteUri)
        {
            bool ret;

            base.outgoing = true;

            ActionConfig config =
#if WINDOWS_PHONE
                org.doubango.WindowsPhone.BackgroundProcessController.Instance.rtActionConfigNew();
#else
                new ActionConfig();
#endif
            ret = mSession.call(remoteUri, MediaTypeUtils.ConvertToNative(MediaType.Video), config);
            config.Dispose();

            return(ret);
        }
示例#6
0
 public bool Update(MediaType newMediaType, MediaAttr mediaAttr, ActionConfig config)
 {
     return(this.mSession != null && this.mSession.call(base.ToUri, MediaTypeUtils.ConvertToNative(newMediaType), (int)mediaAttr));
 }
示例#7
0
 public bool MakeVideoPollCall(string remoteUri, ActionConfig config)
 {
     this.outgoing = true;
     base.ToUri    = remoteUri;
     return(this.mSession.call(remoteUri, MediaTypeUtils.ConvertToNative(this.mMediaType), 0, config));
 }