Re: PCH-KartinaTV: Вопросы, ответы, обсуждения
Ёбаный насос! Меня реально посетила идея. Начинается она примерно так: "ПИДОРАСЫ!!!"
Под это дело писнул письмишко:
Ёбаный насос! Меня реально посетила идея. Начинается она примерно так: "ПИДОРАСЫ!!!"
Под это дело писнул письмишко:
Сообщение от "consros"
Hello YC Yeoh,
what was actually the fix for KartinaTV plugin? You remember, the one when PCH tried to read KTV stream with multiple threads? How it was implemented?
I'm asking because I've analyzed the situation and finally got an idea.
I have following problems (let's call them "symptoms"
:
- C-200 buffers stream for 40-50 seconds. A-100 and A-110 need only 5-7 seconds for same operation on same stream.
- There are two servers broadcasting KTV stream. First one is accepted by A-100, A-110 and second one - not. By C-200 both are accepted (and for both caching lasts 40-50 seconds).
- If I use a proxy/stream wrapper which only delegates stream from KTV the second server works also on A-100, A-110, but the caching lasts 40-50 seconds, exactly as on C-200.
That all led me to following conclusion:
KTV fix is nothing else than a switched off multithreading for one hard-coded IP of the first broadcasting server! And it is included only in A-100 and A-110 firmware!
That would explain everything:
- caching lasts too long since several tries to read the stream fail and only the last one succeeds.
- caching lasts longer depending on IP.
- second server is not supported since A-100 and A-110 do not have it's IP in the fix and it works like there is no fix at all.
So I would say we definitely have something to improve here!
- IP of broadcasting server is up to KartinaTV and can be changed any time. It's really a bad idea to hard-code it.
- Multithreaded reading should be possible to switch off on demand.
The perfect solution would be to provide an Gaya-option which could be passed to <a href=""> same way as the "prebuf" does. Something like "single" or "single-thread" or "single-reader". The option should be accepted by all PCH family devices or at least these: A-100, A-110 and C-200.
In this case it will not be necessary anymore to hard-code any IP and all newly provided broadcasting servers will be supported automatically! On A-100, A-110 and C-200.
What would you say about that?
Regards,
consros
what was actually the fix for KartinaTV plugin? You remember, the one when PCH tried to read KTV stream with multiple threads? How it was implemented?
I'm asking because I've analyzed the situation and finally got an idea.
I have following problems (let's call them "symptoms"

- C-200 buffers stream for 40-50 seconds. A-100 and A-110 need only 5-7 seconds for same operation on same stream.
- There are two servers broadcasting KTV stream. First one is accepted by A-100, A-110 and second one - not. By C-200 both are accepted (and for both caching lasts 40-50 seconds).
- If I use a proxy/stream wrapper which only delegates stream from KTV the second server works also on A-100, A-110, but the caching lasts 40-50 seconds, exactly as on C-200.
That all led me to following conclusion:
KTV fix is nothing else than a switched off multithreading for one hard-coded IP of the first broadcasting server! And it is included only in A-100 and A-110 firmware!
That would explain everything:
- caching lasts too long since several tries to read the stream fail and only the last one succeeds.
- caching lasts longer depending on IP.
- second server is not supported since A-100 and A-110 do not have it's IP in the fix and it works like there is no fix at all.
So I would say we definitely have something to improve here!
- IP of broadcasting server is up to KartinaTV and can be changed any time. It's really a bad idea to hard-code it.
- Multithreaded reading should be possible to switch off on demand.
The perfect solution would be to provide an Gaya-option which could be passed to <a href=""> same way as the "prebuf" does. Something like "single" or "single-thread" or "single-reader". The option should be accepted by all PCH family devices or at least these: A-100, A-110 and C-200.
In this case it will not be necessary anymore to hard-code any IP and all newly provided broadcasting servers will be supported automatically! On A-100, A-110 and C-200.
What would you say about that?
Regards,
consros
Комментарий