Table of Contents

Class MediaServiceFactory

Namespace
WINKOnvif.Core.Media
Assembly
WINKOnvif.Core.dll
public class MediaServiceFactory
Inheritance
MediaServiceFactory
Inherited Members

Constructors

MediaServiceFactory(HttpClient, ILogger<MediaServiceFactory>)

public MediaServiceFactory(HttpClient httpClient, ILogger<MediaServiceFactory> logger)

Parameters

httpClient HttpClient
logger ILogger<MediaServiceFactory>

Methods

CreateMediaServiceAsync(OnvifCredentials, string, IAuthenticator?)

public Task<IMediaService> CreateMediaServiceAsync(OnvifCredentials credentials, string deviceEndpoint, IAuthenticator? authenticator = null)

Parameters

credentials OnvifCredentials
deviceEndpoint string
authenticator IAuthenticator

Returns

Task<IMediaService>