org.junit.rules.TestRulepublic final class ShadowMediaCodecConfig
extends org.junit.rules.ExternalResource
ShadowMediaCodec.
Registers a ShadowMediaCodec.CodecConfig for each audio/video
MIME type known by ExoPlayer.
| Constructor | Description |
|---|---|
ShadowMediaCodecConfig() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
after() |
|
protected void |
before() |
|
static ShadowMediaCodecConfig |
forAllSupportedMimeTypes() |
public static ShadowMediaCodecConfig forAllSupportedMimeTypes()
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResource