public static void RemoveAudioFiles(TestContext context, ScenarioContext scenario) { if (!scenario.ScenarioInfo.Tags.Contains("AudioRecording")) { return; } if (context?.VideoWebConfig == null) { return; } if (context.Test.NewHearingId == Guid.Empty) { return; } var storage = new AzureStorageManager() .SetStorageAccountName(context.VideoWebConfig.Wowza.StorageAccountName) .SetStorageAccountKey(context.VideoWebConfig.Wowza.StorageAccountKey) .SetStorageContainerName(context.VideoWebConfig.Wowza.StorageContainerName) .CreateBlobClient(context.Test.NewHearingId.ToString()); storage.RemoveAudioFileFromStorage(); }
public void RemoveAudioFileFromWowza() { _azureStorage?.RemoveAudioFileFromStorage(); }