change the url
This commit is contained in:
@@ -68,7 +68,7 @@ OralTrainerSdk.init(
|
||||
|
||||
## Sentence Boundary API
|
||||
|
||||
The SDK defaults to `https://video_service.d1kt.cn` and requests:
|
||||
The SDK defaults to `https://videoservice.d1kt.cn` and requests:
|
||||
|
||||
```text
|
||||
GET /api/v1/videos/{sha256}/sentence-boundaries
|
||||
@@ -93,7 +93,7 @@ Override the service only when a staging or private deployment is required:
|
||||
OralTrainerSdk.init(
|
||||
context,
|
||||
OralTrainerSdkConfig(
|
||||
sentenceBoundaryApiBaseUrl = "https://video_service.d1kt.cn",
|
||||
sentenceBoundaryApiBaseUrl = "https://videoservice.d1kt.cn",
|
||||
assessmentApiKey = BuildConfig.ORAL_TRAINER_CLIENT_KEY,
|
||||
)
|
||||
)
|
||||
|
||||
@@ -8,6 +8,6 @@ data class OralTrainerSdkConfig @JvmOverloads constructor(
|
||||
val userAgent: String = "OralTrainerSdk/0.1.0",
|
||||
val connectTimeoutMs: Int = 15_000,
|
||||
val readTimeoutMs: Int = 30_000,
|
||||
val sentenceBoundaryApiBaseUrl: String = "https://video_service.d1kt.cn",
|
||||
val sentenceBoundaryApiBaseUrl: String = "https://videoservice.d1kt.cn",
|
||||
val assessmentApiKey: String? = null,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user