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

RESOLVED FIXED

Status

()

Core
Audio/Video
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: roc, Unassigned)

Tracking

Trunk
Points:
---
Bug Flags:
wanted1.9.1 +

Firefox Tracking Flags

(Not tracked)

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
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.