toggle menu
Brightcove Player SDK for Android 10.1.2
10.1.2
sdk
switch theme
search in API
sdk
/
com.brightcove.player.model
/
MediaFormat
/
createAudioFormat
create
Audio
Format
open
fun
createAudioFormat
(
trackId
:
String
,
mimeType
:
String
,
bitrate
:
Int
,
maxInputSize
:
Int
,
durationUs
:
Long
,
channelCount
:
Int
,
sampleRate
:
Int
,
initializationData
:
List
<
Array
<
Byte
>
>
,
language
:
String
)
:
MediaFormat
open
fun
createAudioFormat
(
trackId
:
String
,
mimeType
:
String
,
bitrate
:
Int
,
maxInputSize
:
Int
,
durationUs
:
Long
,
channelCount
:
Int
,
sampleRate
:
Int
,
initializationData
:
List
<
Array
<
Byte
>
>
,
language
:
String
,
pcmEncoding
:
Int
)
:
MediaFormat