auth static method
Authenticates SDK using remote service (Optional for the web).
Method performs https request to obtain license for customerID. Optional if web platform
mediaStreamTrack
: Associated media trackcustomerID
: Unique customerID for authenticationapiUrl
: Optional custom authentication endpoint- Returns: AuthStatus indicating authentication result
- Throws: Platform exceptions for communication errors
Implementation
static Future<AuthStatus> auth(
MediaStreamTrack track,
String customerID,
{String? apiUrl}
) {
return _impl.auth(track, customerID, apiUrl: apiUrl);
}