# \[Need Support\]Need support on finding api for setting default audio & subtitle language when content start playing

**URL:** <https://community.bitmovin.com/t/need-support-need-support-on-finding-api-for-setting-default-audio-subtitle-language-when-content-start-playing/3114>\
**Category:** Support\
**Tags:** bitmovin-player, android, bitmovin, kotlin\
**Created:** [July 17, 2024, 10:10am UTC](https://community.bitmovin.com/t/need-support-need-support-on-finding-api-for-setting-default-audio-subtitle-language-when-content-start-playing/3114 "2024-07-17T10:10:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamdemoatirdeto](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@iamdemoatirdeto](https://community.bitmovin.com/u/iamdemoatirdeto)\
**Post date:** [July 17, 2024, 10:10am UTC](https://community.bitmovin.com/t/need-support-need-support-on-finding-api-for-setting-default-audio-subtitle-language-when-content-start-playing/3114/1 "2024-07-17T10:10:01Z")

</div>

### Product

Player

### Question

There is some requirement in which we have to set default audio track/subtitle like “eng” from setting , that should be reflected on player launch , can you please help me out how to set default subtitle/audio language in player launch ,

We have tried to set it before content start loading from source config

source.setAudioTrack(“eng”)  
source.setSubtitleTrack(“eng”)  
but its does not work

can some one please let me know the correct api for this

Regards,  
Vivek Kumar

---

<div class="post-metadata">

**Author:** ![ludovic.michaud](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/ludovic.michaud/32/811_2.png) [@ludovic.michaud](https://community.bitmovin.com/u/ludovic.michaud)\
**Post date:** [July 18, 2024, 4:24pm UTC](https://community.bitmovin.com/t/need-support-need-support-on-finding-api-for-setting-default-audio-subtitle-language-when-content-start-playing/3114/2 "2024-07-18T16:24:01Z")

</div>

Hi,  
Selecting the subtitles before the source is loaded won’t work.  
What you could do is to select the subtitles in a `sourceloaded` event handler, so the action should be executed once the source is loaded into the player and available to play.

Which platform are you using (web, Android Native, iOS Native, other) ?

---

<div class="post-metadata">

**Author:** ![iamdemoatirdeto](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@iamdemoatirdeto](https://community.bitmovin.com/u/iamdemoatirdeto)\
**Post date:** [August 3, 2024, 5:14am UTC](https://community.bitmovin.com/t/need-support-need-support-on-finding-api-for-setting-default-audio-subtitle-language-when-content-start-playing/3114/3 "2024-08-03T05:14:44Z")

</div>

Hi @ludovic.michaud

I am using android Plateform {Kotlin}
