mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Register cast module
PiperOrigin-RevId: 274568660
This commit is contained in:
parent
657b47cd04
commit
6457a4ab80
1 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ import androidx.annotation.Nullable;
|
|||
import com.google.android.exoplayer2.BasePlayer;
|
||||
import com.google.android.exoplayer2.C;
|
||||
import com.google.android.exoplayer2.ExoPlaybackException;
|
||||
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
|
||||
import com.google.android.exoplayer2.PlaybackParameters;
|
||||
import com.google.android.exoplayer2.Player;
|
||||
import com.google.android.exoplayer2.Timeline;
|
||||
|
|
@ -67,6 +68,10 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|||
*/
|
||||
public final class CastPlayer extends BasePlayer {
|
||||
|
||||
static {
|
||||
ExoPlayerLibraryInfo.registerModule("goog.exo.cast");
|
||||
}
|
||||
|
||||
private static final String TAG = "CastPlayer";
|
||||
|
||||
private static final int RENDERER_COUNT = 3;
|
||||
|
|
|
|||
Loading…
Reference in a new issue