public interface

SampleQueue.UpstreamFormatChangedListener

 androidx.media3.exoplayer.source.SampleQueue.UpstreamFormatChangedListener

Overview

A listener for changes to the upstream format.

Summary

Methods
public voidonUpstreamFormatChanged(Format format)

Called on the loading thread when an upstream format change occurs.

Methods

public void onUpstreamFormatChanged(Format format)

Called on the loading thread when an upstream format change occurs.

Parameters:

format: The new upstream format.