Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
579 B

namespace ErsatzTV.FFmpeg.Option.Metadata;
public class MetadataServiceProviderOutputOption : OutputOption
{
private readonly string _serviceProvider;
public MetadataServiceProviderOutputOption(string serviceProvider)
{
_serviceProvider = serviceProvider;
}
public override IList<string> OutputOptions => new List<string>
{ "-metadata", $"service_provider=\"{_serviceProvider}\"" };
public override FrameState NextState(FrameState currentState) => currentState with
{
MetadataServiceProvider = _serviceProvider
};
}