mraneri wrote:Ron, can you add a RSP Protocol log to see what the Roku is asking Firefly to do in these cases???
I've seen the -d9 logs, there isn't anything there. I'm logging *everything*, and the streaming part (on non-transcoded files) looks like:
while(read_from_file)
write(socket)
Or close enough. The place where it skips is in the middle of literally 4 lines of code, and the *only* way it fails is if it can't read the file, or it can't write to the socket. The logs show it's a socket write problem, which means dropped connection. There literally isn't anything that can't work there.
Hrm... thinking about that, though, it might be worth me looking closer at the msdn stuff. I thought that it *couldn't* be anything but a dropped connection, but who knows... maybe it is a win32 libc thing... I didn't know that sometimes stat could return mtims that weren't in UTC, but sometimes they do on win32. It's only lightly posix, after all.
Maybe I'll take a closer look at the libc stuff and see if there are any errors or warnings in there.
Let me back off that a bit, and take a closer look.