Making recorder compatible with change in streaming lib