mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Skip audio encoding bitrate setting test on API <= 23
The encoder output format on API 23 does not seem to contain bitrate, hence the test fails. PiperOrigin-RevId: 686047480
This commit is contained in:
parent
cb90bb38ee
commit
407bd49ed5
1 changed files with 2 additions and 0 deletions
|
|
@ -2280,6 +2280,8 @@ public class TransformerEndToEndTest {
|
|||
@Test
|
||||
public void export_setAudioEncodingBitrate_configuresEncoderWithRequestedBitrate()
|
||||
throws Exception {
|
||||
// On API 23, the encoder output format does not seem to contain bitrate, hence the test fails.
|
||||
assumeTrue(Util.SDK_INT > 23);
|
||||
Context context = ApplicationProvider.getApplicationContext();
|
||||
int requestedBitrate = 60_000;
|
||||
// The MediaMuxer is not writing the bitrate hence use the InAppMuxer.
|
||||
|
|
|
|||
Loading…
Reference in a new issue