Class MediaServiceFactory
public class MediaServiceFactory
- Inheritance
-
MediaServiceFactory
- Inherited Members
Constructors
MediaServiceFactory(HttpClient, ILogger<MediaServiceFactory>)
public MediaServiceFactory(HttpClient httpClient, ILogger<MediaServiceFactory> logger)
Parameters
httpClient
HttpClientlogger
ILogger<MediaServiceFactory>
Methods
CreateMediaServiceAsync(OnvifCredentials, string, IAuthenticator?)
public Task<IMediaService> CreateMediaServiceAsync(OnvifCredentials credentials, string deviceEndpoint, IAuthenticator? authenticator = null)
Parameters
credentials
OnvifCredentialsdeviceEndpoint
stringauthenticator
IAuthenticator