The current state of this project is about 70% done so far the current prototype concept proofed all all my design goals. (Yes it can change channels quite fast if they are buffered). However the good news end here, my Samsung TV UE42F5500 that I have been testing unexpectedly stops the stream without any error/diagnostic messages, just stops like pressing stop button. This stop occurs at random time intervals, sometimes the stream plays for 20 mins sometimes for 4min. Since then I have spent many hours on investigating the issue and tried many things with little success.
At one point I had the idea to use wireshark to see if maybe there is a network problem and then I found out that the tv indeed seems to have a network problem. After a while the tv sends a series of Zero Window Packets then playback stops. I tried to limit the throughput of my app to about 200 kb\s but with inconclusive results. Then I said to myself well I should be synced with the TV meaning that I should know that for 1 second of playback I should send X bytes. Done that and gave the TV 4 seconds of playback in advance and it still stops after a while.
192.168.0.103 => TV (Samsung UE42F5500)
192.168.0.101 => PC (tv and pc are both connected to router using cable no wifi)
At this point I don?t know what else should I do, I even tried the Samsung tv emulator but it does not support UPNP so it?s of no use to me.
I got some suggestions to create a tv app and play the stream there, yes I could do that but then it?s no longer compatible with other TVs. My goal is to allow everyone to use it for free of course, always and forever.
I am open to any suggestions on what to try/investigate. I can share the source code (C# .NET) maybe I missed something who knows and we can have a skype session to explain the source (it?s still a prototype some things are not clear at first sight).
All contributors will be mentioned in the final release no matter how small their contribution was.
Thank you for your time, if you know someone that can advise on this please direct them here.