projects/openvidu-angular/src/lib/directives/api/videoconference.directive.ts
The captionsLangOptions directive allows to set the language options for the captions. It will override the languages provided by default. This propety is an array of objects which must comply with the CaptionsLangOption interface.
It is only available for VideoconferenceComponent.
Default: [ { name: 'English', lang: 'en-US' }, { name: 'Español', lang: 'es-ES' }, { name: 'Deutsch', lang: 'de-DE' }, { name: 'Français', lang: 'fr-FR' }, { name: '中国', lang: 'zh-CN' }, { name: 'हिन्दी', lang: 'hi-IN' }, { name: 'Italiano', lang: 'it-IT' }, { name: '日本語', lang: 'jp-JP' }, { name: 'Português', lang: 'pt-PT' } ]
<ov-videoconference [captionsLangOptions]="[{name:'Spanish', lang: 'es-ES'}]"></ov-videoconference>
OnDestroy
Selector | ov-videoconference[captionsLangOptions] |