Example #1
0
        private void btnConfirm_Click(object sender, EventArgs e)
        {
            int returnValue = DMSDK.DM_SetEncodingInfo_Minor(StaticClass.tempConnect, Minor_BitrateType, Minor_Resolution, Minor_Bitrate, 25);

            returnValue = DMSDK.DM_SetEncodingInfo_Major(StaticClass.tempConnect, Major_BitrateType, Major_Resolution, Major_Bitrate, 25);
            if (returnValue > 0)
            {
                MessageBox.Show("设置成功!");
            }
            else
            {
                MessageBox.Show("设置失败!请重试");
            }
            MessageBox.Show("设置完成!");
        }