public void JpegG711StreamingRtpUnicastUdpIPv6() { MediaConfigurationChangeLog changeLog = new MediaConfigurationChangeLog(); NetworkInterface netInterface = null; string newServiceAddr = null; string oldServiceAddr = null; bool restoreEnabled = false; RunTest(() => { // A.23 - turn on IPv6 netInterface = NetConfig.TurnOnIPv6(out newServiceAddr, out oldServiceAddr, out restoreEnabled); if (!string.IsNullOrEmpty(newServiceAddr)) { ReConnectTo(newServiceAddr); base.Initialize(); } MediaUri streamUri = GetJpegG711MediaUri2(StreamType.RTPUnicast, TransportProtocol.UDP, changeLog); ValidateStreamSequence2(true, false, true); //ValidateAudioVideoSequence(); }, () => { VideoCleanup2(); RestoreMediaConfiguration(changeLog); // A.24 - network settings restore if (!string.IsNullOrEmpty(newServiceAddr) && !string.IsNullOrEmpty(oldServiceAddr)) { NetConfig.RestoreNetworkSettings(oldServiceAddr, newServiceAddr, restoreEnabled, netInterface.token); //ReConnectTo(oldServiceAddr); //base.Initialize(); } } ); }