Opened 18 years ago
Closed 18 years ago
#2057 closed patch (fixed)
[Patch] improves unreliable mythweb stream seeking
Reported by: | Owned by: | xris | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythweb | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The streaming perl handler for requests to the streaming module uses the standard buffered seek() and read() functions.
Requests take dramatically longer to seek the later they are in the stream ; after a certain point, seeking breaks and the player (mplayer on Win32) returns end-of-file.
Changing the seek() and read() calls to the unbuffered sysseek() and sysread() calls appears to improve this (can seek to end of film and seeks take user-constant time as position in stream increases).
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Patches handler.pl to use system IO calls