# VideoSink.FirstFrameReleaseInstruction

# VideoSink.FirstFrameReleaseInstruction

Artifact:[androidx.media3:media3-exoplayer](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/video/VideoSink.java+class:androidx.media3.exoplayer.video.VideoSink.FirstFrameReleaseInstruction)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/exoplayer/video/VideoSink.FirstFrameReleaseInstruction "View this page in Java")

<br />

```
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@UnstableApi
@IntDef(value = )
annotation VideoSink.FirstFrameReleaseInstruction
```

<br />

*** ** * ** ***

The instruction provided when the stream changes for releasing the first frame.

One of[RELEASE_FIRST_FRAME_IMMEDIATELY](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/video/VideoSink#RELEASE_FIRST_FRAME_IMMEDIATELY()),[RELEASE_FIRST_FRAME_WHEN_STARTED](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/video/VideoSink#RELEASE_FIRST_FRAME_WHEN_STARTED())or[RELEASE_FIRST_FRAME_WHEN_PREVIOUS_STREAM_PROCESSED](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/video/VideoSink#RELEASE_FIRST_FRAME_WHEN_PREVIOUS_STREAM_PROCESSED()).