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

[BUG] iOS: HTTP error 405 Method Not Allowed. #603

Open
kostov opened this issue Sep 5, 2023 · 0 comments
Open

[BUG] iOS: HTTP error 405 Method Not Allowed. #603

kostov opened this issue Sep 5, 2023 · 0 comments

Comments

@kostov
Copy link

kostov commented Sep 5, 2023

Deal with DVR over rtsp/http.

  1. Play video-files over HTTP -- works (many times).
  2. If just once we play video streaming over RTSP, then try to playing video-files over HTTP -- it doesn't work until restart app.
    Log:
flutter: [inf] 2023-09-04 15:17:50.446174 [fijk] FijkPlayer{id:3} state changed to FijkState.asyncPreparing <= FijkState.initialized
Hit DNS cache hostname = 192.168.1.1
flutter: [inf] 2023-09-04 15:17:50.446318 [fijk] FijkPlayer{id:3} invoke prepareAsync and start #2 -> done
flutter: [inf] 2023-09-04 15:17:50.446579 [fijk] FijkPlayer{id:3} state changed to FijkState.initialized <= FijkState.idle
flutter: [inf] 2023-09-04 15:17:50.446713 [fijk] FijkPlayer{id:3} state changed to FijkState.asyncPreparing <= FijkState.initialized
HTTP error 405 Method Not Allowed
http://192.168.1.1/mnt/mmc/Normal/FILE230904-101424.TS: Server returned 4XX Client Error, but not one of 40{0,1,3,4}
flutter: [err] 2023-09-04 15:17:50.457799 [fijk] FijkPlayer{id:3} errorListener: FijkException(-1482175736, Server returned 4XX Client Error, but not one of 40{0,1,3,4})
flutter: [inf] 2023-09-04 15:17:50.458085 [fijk] FijkPlayer{id:3} state changed to FijkState.error <= FijkState.asyncPreparing

This bug appears only on iOS. On Android all works perfectly.
(There is a vague assumption that HTTP-ranges somehow get corrupted after streaming).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant