Just one thought from sleepy bounguine.
1. If you insist on pre-scanning.
When a user has 10-100 channels, it is obviously normal.
But in case of handreds or thousands of channels (like in my case) at least the time for scanning is the trouble.
I'm not talking again about bothering the broadcasting server.
2. If you simply upload the playlist and send request for the params on demand (when watching TV), the problems tend to go away.
Simply put fake params into db when uploading and correct them when watching.
As for timeout I can say nothing.
Probably, it should be more by default.
1. If you insist on pre-scanning.
When a user has 10-100 channels, it is obviously normal.
But in case of handreds or thousands of channels (like in my case) at least the time for scanning is the trouble.
I'm not talking again about bothering the broadcasting server.
2. If you simply upload the playlist and send request for the params on demand (when watching TV), the problems tend to go away.
Simply put fake params into db when uploading and correct them when watching.
As for timeout I can say nothing.
Probably, it should be more by default.