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
/
createVideoFormat
create
Video
Format
open
fun
createVideoFormat
(
trackId
:
String
,
mimeType
:
String
,
bitrate
:
Int
,
maxInputSize
:
Int
,
durationUs
:
Long
,
width
:
Int
,
height
:
Int
,
initializationData
:
List
<
Array
<
Byte
>
>
)
:
MediaFormat
open
fun
createVideoFormat
(
trackId
:
String
,
mimeType
:
String
,
bitrate
:
Int
,
maxInputSize
:
Int
,
durationUs
:
Long
,
width
:
Int
,
height
:
Int
,
initializationData
:
List
<
Array
<
Byte
>
>
,
rotationDegrees
:
Int
,
pixelWidthHeightRatio
:
Float
)
:
MediaFormat
open
fun
createVideoFormat
(
trackId
:
String
,
mimeType
:
String
,
bitrate
:
Int
,
maxInputSize
:
Int
,
durationUs
:
Long
,
width
:
Int
,
height
:
Int
,
initializationData
:
List
<
Array
<
Byte
>
>
,
rotationDegrees
:
Int
,
pixelWidthHeightRatio
:
Float
,
projectionData
:
Array
<
Byte
>
,
stereoMode
:
Int
)
:
MediaFormat