home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
IPTV/DVB-IP in MP: Support for http, rtp and udp
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="velis" data-source="post: 729886" data-attributes="member: 96429"><p>Just a minor update. Unfortunately I can't post any code at this moment.</p><p></p><p>I have found my bug(s). Turns out I didn't have a memory overrun, but rather a ton of bugs that I introduced when I was merging code together and introducing common classes. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite10" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /></p><p>Source is now even cleaner and understandable (I hope)</p><p></p><p>Despite all the rearrangements, UDP remains super stable - so I'm very happy with this part. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>I'm still having issues with HTTP. I must figure out a sensible way of dynamically expanding buffers. Ran into this problem because the server returns chunk sizes around 20KB, but my internal buffers were at 16KB.</p><p>Or perhaps I should just implement "persistent chunk" meaning that I would just blindly receive data until chunk size was satisfied.</p><p>Anyway - when I figure this out, HTTP will be done.</p><p>And before you ask: I don't like multi-MB memory usage for no purpose. Right now my filters take 128KB for buffers and 16KB for thread stack. Thread stack can go down to 4KB, but I don't want to push it. I'll just have to fix this "inefficiency" with a bit more code instead of more RAM, I hope.</p><p></p><p>Ran out of time for RTP completion today <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Otherwise progress is good and we should see some results by the end of the week. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="velis, post: 729886, member: 96429"] Just a minor update. Unfortunately I can't post any code at this moment. I have found my bug(s). Turns out I didn't have a memory overrun, but rather a ton of bugs that I introduced when I was merging code together and introducing common classes. :ooops: Source is now even cleaner and understandable (I hope) Despite all the rearrangements, UDP remains super stable - so I'm very happy with this part. :) I'm still having issues with HTTP. I must figure out a sensible way of dynamically expanding buffers. Ran into this problem because the server returns chunk sizes around 20KB, but my internal buffers were at 16KB. Or perhaps I should just implement "persistent chunk" meaning that I would just blindly receive data until chunk size was satisfied. Anyway - when I figure this out, HTTP will be done. And before you ask: I don't like multi-MB memory usage for no purpose. Right now my filters take 128KB for buffers and 16KB for thread stack. Thread stack can go down to 4KB, but I don't want to push it. I'll just have to fix this "inefficiency" with a bit more code instead of more RAM, I hope. Ran out of time for RTP completion today :( Otherwise progress is good and we should see some results by the end of the week. :D [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
IPTV/DVB-IP in MP: Support for http, rtp and udp
Contact us
RSS
Top
Bottom