Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to change the default transcription language #1664

Open
GuysmoB opened this issue Jan 30, 2025 · 3 comments
Open

Not able to change the default transcription language #1664

GuysmoB opened this issue Jan 30, 2025 · 3 comments
Assignees

Comments

@GuysmoB
Copy link

GuysmoB commented Jan 30, 2025

Hi,

I working with the transcription feature and I would like to specify the default language of a call.
From your doc : https://getstream.io/video/docs/api/transcribing/calls/#transcription-language, settings_override should have a transcription child.
It always results in an TS error like the propertie doesn't exist.
Image

The propertie seems to be missing here :

export interface VideoTranscriptionSettingsRequest {
    /**
     *
     * @type {string}
     * @memberof VideoTranscriptionSettingsRequest
     */
    closed_caption_mode?: string;
    /**
     *
     * @type {string}
     * @memberof VideoTranscriptionSettingsRequest
     */
    mode?: VideoTranscriptionSettingsRequestModeEnum;
}

I am missing something ?
Thank you :)

@kristian-mkd
Copy link
Contributor

Hi @GuysmoB, can you check if you are using the latest version of our client package. You can check this:

export interface TranscriptionSettingsRequest {
  /**
   *
   * @type {string}
   * @memberof TranscriptionSettingsRequest
   */
  closed_caption_mode?: TranscriptionSettingsRequestClosedCaptionModeEnum;
  /**
   *
   * @type {string}
   * @memberof TranscriptionSettingsRequest
   */
  language?: string;
  /**
   *
   * @type {string}
   * @memberof TranscriptionSettingsRequest
   */
  mode: TranscriptionSettingsRequestModeEnum;
}

@kristian-mkd kristian-mkd self-assigned this Jan 31, 2025
@GuysmoB
Copy link
Author

GuysmoB commented Jan 31, 2025

Hi @kristian-mkd ,

Here libs I'm using :
"@stream-io/node-sdk": "^0.1.13"
"@stream-io/video-react-sdk": "^1.11.1",
"next": "^14.2.20",
"react": "^18.3.1",

Did I post this issue in the wrong repo ?

@kristian-mkd
Copy link
Contributor

Can you try upgrading @stream-io/node-sdk to the latest version? current latest is 0.4.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants