|
|
|
|
#1 |
|
Junior Member
Join Date: Jul 2017
Posts: 2
|
Question about Safari on iPad Behavior
Greetings;
I have been hacking together my own streaming server and I actually have things working pretty well except on mobile devices that download the stream spanning HTTP requests. I'm doing some magic with x-playback-session-id and remembering last byte sent on the server. It's actually working .. well, for the most part. I have my audio in 50Kb packets. I have a stream with 40 packets. I see in my logs that I'm sending all 40 packets (it's a ~2 minute stream). In this case, it should not need to make a second request, but it does anyway. My question is .. what does the server need to send to Safari on iPad to indicate the content is fully downloaded? What is happening is that even though I've sent the stream, the player is cutting it short by about 1/3 to 1/4 of the total stream length, and it makes another request to the server for more of the stream. I tried sending -1 cast as a byte, that that didn't seem to help. Please help me. I'm stuck. Sincerely, John from Spearfish, SD |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|