2013-09-22, 09:01 AM
fixed the issue of first jump being incorrect by removing the clearing of "SeekToPosition"
basically the samsung player, closes the connection and creates a new one, but before a new one is created the seektoposition is set on the old connection and then clearing it. Then when the new connection is made, their is no SeekToPosition so it does the first incorrect jump.
the problem that stops you from jumping past the incorrect endtime, I believe is due to the fact the player thinks it really at xxx position, but in reality it is stream yyy bytes (which can be way off), so the player says, I can't jump any further.
Going to experiment with different byte ranges, or perhaps moving the end byte range in the response to see if that helps. Basically trial and error at the moment. But if this can be fixed, then we definitely have a workable solution, which is fantastic
took me a little while to get around that it was only making on request with the byte range and then the bytes were just constantly written to the response. Was thinking it was making lots of small requests (that why I was trying to correct the response headers at first), now I get why you just ignore those and send what you want to send.
Code:
System.Web.HttpContext.Current.Application["SeekToPosition"] = 0;
the problem that stops you from jumping past the incorrect endtime, I believe is due to the fact the player thinks it really at xxx position, but in reality it is stream yyy bytes (which can be way off), so the player says, I can't jump any further.
Going to experiment with different byte ranges, or perhaps moving the end byte range in the response to see if that helps. Basically trial and error at the moment. But if this can be fixed, then we definitely have a workable solution, which is fantastic

took me a little while to get around that it was only making on request with the byte range and then the bytes were just constantly written to the response. Was thinking it was making lots of small requests (that why I was trying to correct the response headers at first), now I get why you just ignore those and send what you want to send.