Exemplo n.º 1
0
 /// <summary>
 /// Retrieves lists of video encoder configurations compatible with specified profile from DUT
 /// </summary>
 /// <param name="profile">Token of profile</param>
 /// <returns>Array of video encoder configurations</returns>
 public static VideoEncoderConfiguration[] GetCompatibleVideoEncoderConfigurations(
     BaseOnvifTest test, MediaClient client, string profile)
 {
     VideoEncoderConfiguration[] configs = null;
     RunStep(test, () => { configs = client.GetCompatibleVideoEncoderConfigurations(profile); },
             string.Format(Resources.StepGetCompatibleVideoEncoderConfigs_Format, profile));
     DoRequestDelay(test);
     return(configs);
 }