Closed Bug 486445 Opened 15 years ago Closed 15 years ago

Restart connection if the server closes its end because we paused too long

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Unassigned)

Details

When the media cache is full we call Suspend on Necko channels (via nsMediaChannelStream::CacheClientSuspend) to stop the incoming data. This will eventually cause the server to stop sending data. However, after waiting for a while in this state (the duration depends on the server) the server will give up and close the connection. In that case, when we Resume(), we need to reopen the channel. We need to figure out a way to detect this situation and do the reopen. As-is, if the media cache gets full and stays that way for a while (e.g. because a video has been buffered but is not playing), and then we play through the cached data, playback will fail at the end of the cached data.

This should be at least wanted-1.9.1.
Flags: wanted1.9.1+
Fixed by checkin for bug 479863.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.