-
public final class StreamVideoBuilderThe StreamVideoBuilder is used to create a new instance of the StreamVideo client. This is the most essential class to connect to the Stream server and initialize everything you need to implement audio/video calls.
val client = StreamVideoBuilder( context = context, apiKey = apiKey, geo = GEO.GlobalEdgeNetwork, user = user, token = token, sounds = ringingConfig( defaultResourcesRingingConfig(context), defaultMutedRingingConfig(true, true) ), loggingLevel = LoggingLevel.BODY, // ... ).build()
-
-
Constructor Summary
Constructors Constructor Description StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber, TelecomConfig telecomConfig, Boolean connectOnInit, Boolean rejectCallWhenBusy, RingStatePollingConfig ringStatePolling)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber, TelecomConfig telecomConfig, Boolean connectOnInit, Boolean rejectCallWhenBusy)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber, TelecomConfig telecomConfig, Boolean connectOnInit)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber, TelecomConfig telecomConfig)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token)StreamVideoBuilder(Context context, String apiKey, GEO geo, User user)StreamVideoBuilder(Context context, String apiKey, GEO geo)StreamVideoBuilder(Context context, String apiKey)
-
Method Summary
Modifier and Type Method Description final StreamVideoBuilderforceApiUrl(String value)Set the API URL to be used for the video client. final StreamVideoBuilderforceWssUrl(String value)Set the WSS URL to be used for the video client. final StreamVideoBuilderforceSfuId(String value)Set the SFU id the coordinator should pin every join, rejoin and migrate to. final StreamVideobuild()Builds the StreamVideo client. -
-
Constructor Detail
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber, TelecomConfig telecomConfig, Boolean connectOnInit, Boolean rejectCallWhenBusy, RingStatePollingConfig ringStatePolling)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber, TelecomConfig telecomConfig, Boolean connectOnInit, Boolean rejectCallWhenBusy)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber, TelecomConfig telecomConfig, Boolean connectOnInit)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber, TelecomConfig telecomConfig)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting, Boolean enableStereoForSubscriber)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave, Boolean enableStatsReporting)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds, Boolean callUpdatesAfterLeave)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing, Long leaveAfterDisconnectSeconds)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName, ManagedAudioProcessingFactory audioProcessing)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage, String appName)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck, Integer audioUsage)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission, StreamPermissionCheck permissionCheck)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig, Boolean crashOnMissingPermission)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds, RingingCallVibrationConfig vibrationConfig)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress, Sounds sounds)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry, String localCoordinatorAddress)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig, CallServiceConfigRegistry callServiceConfigRegistry)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls, CallServiceConfig callServiceConfig)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain, Boolean runForegroundServiceForCalls)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance, String videoDomain)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs, Boolean ensureSingleInstance)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification, Long connectionTimeoutInMs)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig, Function1<Call, Notification> ringNotification)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel, NotificationConfig notificationConfig)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider, LoggingLevel loggingLevel)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider, TokenProvider tokenProvider)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token, SuspendFunction1<Throwable, String> legacyTokenProvider)
-
StreamVideoBuilder
StreamVideoBuilder(Context context, String apiKey, GEO geo, User user, String token)
-
-
Method Detail
-
forceApiUrl
final StreamVideoBuilder forceApiUrl(String value)
Set the API URL to be used for the video client.
For testing purposes only.
-
forceWssUrl
final StreamVideoBuilder forceWssUrl(String value)
Set the WSS URL to be used for the video client.
For testing purposes only.
-
forceSfuId
final StreamVideoBuilder forceSfuId(String value)
Set the SFU id the coordinator should pin every join, rejoin and migrate to.
For testing purposes only.
-
build
final StreamVideo build()
Builds the StreamVideo client.
-
-
-
-