Example #1
0
        /// <summary>
        /// Creates a new OCL.Source object
        /// </summary>
        /// <param name="AccessingUser"></param>
        /// <param name="Description"></param>
        /// <param name="ControlAddress"></param>
        /// <param name="ControlPort"></param>
        /// <param name="StreamAddress"></param>
        /// <param name="StreamPort"></param>
        /// <param name="IsMulticast"></param>
        /// <param name="HasControlableCamera"></param>
        /// <param name="MediaBufferServerId"></param>
        /// <param name="SceneId"></param>
        /// <param name="StreamingHeader"></param>
        /// <param name="StreamingEncoderTypeId"></param>
        /// <returns>Newly created OCL.Source Object if successful</returns>
        public OCL.Source CreateASource(OCL.User AccessingUser,string Description,string ControlAddress,int ControlPort,string StreamAddress,int StreamPort,
			bool IsMulticast,bool HasControlableCamera,int MediaBufferServerId,int SceneId,string StreamingHeader,int SourceTypeId)
        {
            OCL.Functions F = new Functions();
            return F.CreateSource(AccessingUser,Description,ControlAddress,ControlPort,StreamAddress,StreamPort,
                IsMulticast,HasControlableCamera,MediaBufferServerId,SceneId,StreamingHeader,SourceTypeId);
        }