Esempio n. 1
0
        internal static MEETINGMANAGE_subscribeVideoParam ToStruct(this SubscribeVideoModel model)
        {
            MEETINGMANAGE_subscribeVideoParam subscribeVideoParam = new MEETINGMANAGE_subscribeVideoParam();

            subscribeVideoParam.AVSynGroupID = model.AvSyncGroupId;
            subscribeVideoParam.mediaType    = (MEETINGMANAGE_MediaType)model.MediaType;
            subscribeVideoParam.resourceID   = model.ResourceId;


            subscribeVideoParam.sParam.vrParam.displayWindow = model.VideoRecvModel.DisplayWindow;

            subscribeVideoParam.sParam.vrParam.fillMode =
                (MEETINGMANAGE_DisplayFillMode)model.VideoRecvModel.DisplayFillMode;

            subscribeVideoParam.sType  = (MEETINGMANAGE_StreamType)model.StreamType;
            subscribeVideoParam.userid = model.UserId;

            subscribeVideoParam.transParam.checkRetransSendCount = model.TransModel.CheckRetransSendCount;
            subscribeVideoParam.transParam.checkSendCount        = model.TransModel.CheckSendCount;
            subscribeVideoParam.transParam.dataResendCount       = model.TransModel.DataResendCount;
            subscribeVideoParam.transParam.dataRetransSendCount  = model.TransModel.DataRetransSendCount;
            subscribeVideoParam.transParam.dataSendCount         = model.TransModel.DataSendCount;
            subscribeVideoParam.transParam.delayTimeWinsize      = model.TransModel.DelayTimeWinsize;
            subscribeVideoParam.transParam.fecCheckCount         = model.TransModel.FecCheckCount;
            subscribeVideoParam.transParam.fecDataCount          = model.TransModel.FecDataCount;

            return(subscribeVideoParam);
        }
Esempio n. 2
0
 internal static extern int SubscribeVideo(MEETINGMANAGE_subscribeVideoParam param, bool isNeedCallBackMedia);