Patent attributes
During download of a first video segment, a buffer empty condition may be detected that interrupts playing of the first video segment. A remaining data size may be determined corresponding to a remaining portion of the first video segment that has not been downloaded when the buffer empty condition occurs. A total data size may be determined corresponding to a second video segment in its entirety, and it may be determined that the remaining data size exceeds the total data size. The download of the first video segment may then be canceled, and the second video segment may be downloaded. A start of a replacement portion of the second video segment may be identified that corresponds to a start of the remaining portion of the first video segment. Playing of the second video segment may be initiated from the start of the replacement portion of the second video segment.