Skip to content

Commit bc42e8e

Browse files
Merge pull request #353 from opentok/transcription-duration
Transcription duration
2 parents c5ed7bf + 6e6b3b2 commit bc42e8e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

lib/captions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports.startCaptions = (
77
token,
88
{
99
languageCode = 'en-US',
10-
maxDuration = 1800,
10+
maxDuration = 14400,
1111
partialCaptions = true
1212
},
1313
callback,

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "opentok",
4-
"version": "2.21.0",
4+
"version": "2.21.1",
55
"description": "OpenTok server-side SDK",
66
"homepage": "https://github.com/opentok/opentok-node",
77
"bugs": {

test/captions-test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('Captions', () => {
2525
"sessionId": sessionId,
2626
"token": token,
2727
"languageCode": "en-US",
28-
"maxDuration": 1800,
28+
"maxDuration": 14400,
2929
"partialCaptions": true,
3030
},
3131
)
@@ -83,7 +83,7 @@ describe('Captions', () => {
8383
"sessionId": sessionId,
8484
"token": token,
8585
"languageCode": "en-US",
86-
"maxDuration": 1800,
86+
"maxDuration": 14400,
8787
"partialCaptions": true,
8888
},
8989
)
@@ -111,7 +111,7 @@ describe('Captions', () => {
111111
"sessionId": sessionId,
112112
"token": token,
113113
"languageCode": "en-US",
114-
"maxDuration": 1800,
114+
"maxDuration": 14400,
115115
"partialCaptions": true,
116116
},
117117
)
@@ -188,7 +188,7 @@ describe('Captions', () => {
188188
"sessionId": sessionId,
189189
"token": token,
190190
"languageCode": "en-US",
191-
"maxDuration": 1800,
191+
"maxDuration": 14400,
192192
"partialCaptions": true,
193193
},
194194
)
@@ -246,7 +246,7 @@ describe('Captions', () => {
246246
"sessionId": sessionId,
247247
"token": token,
248248
"languageCode": "en-US",
249-
"maxDuration": 1800,
249+
"maxDuration": 14400,
250250
"partialCaptions": true,
251251
},
252252
)
@@ -274,7 +274,7 @@ describe('Captions', () => {
274274
"sessionId": sessionId,
275275
"token": token,
276276
"languageCode": "en-US",
277-
"maxDuration": 1800,
277+
"maxDuration": 14400,
278278
"partialCaptions": true,
279279
},
280280
)

0 commit comments

Comments
 (0)