EverythingSuckz / TG-FileStreamBot

A telegram bot that will give instant stream links for telegram files without the need of waiting till the download completes.
GNU Affero General Public License v3.0
1.11k stars 1.16k forks source link

golang: vlc #132

Open EPGIL opened 5 months ago

EPGIL commented 5 months ago

hi, if i try to open the link in vlc or kodi and watch it. without downloading the whole file. the video exit after couple of minutes. i run the bot on koyeb.com i get this error

27/12/2023 03:04 PM INFO    routes.Stream   Content-Range   {"start": 97271808, "end": 1446305179, "fileSize": 1446305180}
27/12/2023 03:07 PM ERROR   routes.Stream   Error while copying stream  {"error": "rpcDoRequest: retryUntilAck: engine forcibly closed: context canceled", "errorVerbose": "rpcDoRequest:\n    github.com/gotd/td/internal/mtproto.(*Conn).Invoke\n        /layers/heroku_go/shim/go-path/pkg/mod/github.com/gotd/td@v0.89.0/internal/mtproto/rpc.go:44\n  - retryUntilAck:\n    github.com/gotd/td/internal/rpc.(*Engine).Do\n        /layers/heroku_go/shim/go-path/pkg/mod/github.com/gotd/td@v0.89.0/internal/rpc/engine.go:141\n  - engine forcibly closed:\n    github.com/gotd/td/internal/rpc.(*Engine).retryUntilAck.func1\n        /layers/heroku_go/shim/go-path/pkg/mod/github.com/gotd/td@v0.89.0/internal/rpc/engine.go:204\n  - context canceled"}
[GIN] 2023/12/27 - 15:07:57 | 206 |         3m43s |     5.29.162.76 | GET      "/stream/790?hash=ecdddb"

can you help me please? how i fix that?

EverythingSuckz commented 4 months ago

Hi @EPGIL, Have you tried it on a different device? since golang version is still in beta, I'll need to make sure that it's not a client side issue.