google / google/ExoPlayer

How to set the offset byte stream

Open
#11,143 3 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/33193340/235388238-8add115b-50de-46bd-b964-8398b18eb401.png)

How to set the offset byte stream

I tried to implement it with request headers but it couldn't

```

val dataSourceFactory: DataSource.Factory = DataSource.Factory {
val factory = DefaultHttpDataSource.Factory()

val dataSource = factory.createDataSource()

dataSource.setRequestProperty("Range", "bytes=0-1023")

dataSource;
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.