Move common init steps into SimpleExoPlayer builder.
Some player setup steps that are likely to be only done once should be moved into the Builder so that player setup can use a consistent style (builder vs setters). This also prevents some threading warning issues when the player is built on a background thread (e.g. for dependency injection frameworks) and setters can't be used due to threading restrictions. PiperOrigin-RevId: 311487224
Showing
with
61 additions
and
23 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment