Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You can change the Range: bytes = ? #1219

Closed
marcelodelta opened this issue Oct 31, 2017 · 1 comment
Closed

You can change the Range: bytes = ? #1219

marcelodelta opened this issue Oct 31, 2017 · 1 comment

Comments

@marcelodelta
Copy link

@marcelodelta marcelodelta commented Oct 31, 2017

This was the request with error when accessing the file on the server.

I looked at some related issues, but in the cases I did not understand the operation well.

Is it possible to change the request through the webtorrent?

Response Headers
view source
Access-Control-Allow-Headers:If-Modified-Since,Range
Access-Control-Allow-Origin:http://localhost:8888
Access-Control-Expose-Headers:Accept-Ranges,Content-Encoding,Content-Length,Content-Range
Connection:keep-alive
Content-Length:608
Content-Range:bytes */31852070
Content-Type:video/mp4
Date:Tue, 31 Oct 2017 16:41:42 GMT
Server:openresty
Request Headers
view source

Request
Accept:/
Accept-Encoding:gzip, deflate, br
Accept-Language:pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
Connection:keep-alive
Host:oqfnx9.oloadcdn.net
Origin:http://localhost:8888
Range:bytes=71632608-71860611
Referer:http://localhost:8888/videos/torrent-02.html
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36

What version of WebTorrent?
webtorrent web
v0.98.18

What operating system and Node.js version?
v6.11.1

What browser and version? (if using WebTorrent in the browser)
Google Chrome

What did you expect to happen?
Play the video

What actually happened?
Error trying to load file (video)

@marcelodelta

This comment has been minimized.

Copy link
Author

@marcelodelta marcelodelta commented Oct 31, 2017

I was using the wrong file. Sorry.

@lock lock bot locked as resolved and limited conversation to collaborators May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.