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="Stepko" data-source="post: 728458" data-attributes="member: 57342"><p><strong>AW: Re: AW: Re: IPTV/DVB-IP in MP: Support for http, rtp and udp</strong></p><p></p><p></p><p>I would really like to try the new filter with rtp <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><p>I can do some testing for you with a real stream on the weekends.</p><p></p><p>I just had an idea about the linear buffer. It would also be possible to use a single chained list of buffer objects. You could create a pool of unused buffer objects. When you get data you can put the objects one after another and put them back when the data is delivered in FillBuffer(). With pointers to the first and last objects it would be very quick. You could also extend the buffer dynamicly and don't need to move the data. Just an idea.</p><p></p><p>This time I noticed that you used the old version as the base of your version. That version implements the DoProcessingLoop function. I don't think this is done correctly in the old version - and thus in yours, too. I think you can delete the DoProcessingLoop function completly!! The default implementation of this method is almost the same as your code. It calls fillMedia where all fill logic should be done. Referring to msdn DoProcessingLoop can be overridden but I don't really see a situation where this really make sense. All the client logic (e.g. if (occupiedSpace > 0)) is already done somewhere else or can be done somewhere else. You just need to add a sleep(..) in FillBuffer if (lengthOfPostableData <= 0) to avoid 100% cpu usage.</p><p></p><p>msdn: <a href="http://msdn.microsoft.com/en-us/library/aa921406.aspx" target="_blank">CSourceStream Class</a> </p><p></p><p>Many <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" /> for your help to get a stable IPTV solution</p><p>Stepko</p></blockquote><p></p>
[QUOTE="Stepko, post: 728458, member: 57342"] [b]AW: Re: AW: Re: IPTV/DVB-IP in MP: Support for http, rtp and udp[/b] I would really like to try the new filter with rtp :D I can do some testing for you with a real stream on the weekends. I just had an idea about the linear buffer. It would also be possible to use a single chained list of buffer objects. You could create a pool of unused buffer objects. When you get data you can put the objects one after another and put them back when the data is delivered in FillBuffer(). With pointers to the first and last objects it would be very quick. You could also extend the buffer dynamicly and don't need to move the data. Just an idea. This time I noticed that you used the old version as the base of your version. That version implements the DoProcessingLoop function. I don't think this is done correctly in the old version - and thus in yours, too. I think you can delete the DoProcessingLoop function completly!! The default implementation of this method is almost the same as your code. It calls fillMedia where all fill logic should be done. Referring to msdn DoProcessingLoop can be overridden but I don't really see a situation where this really make sense. All the client logic (e.g. if (occupiedSpace > 0)) is already done somewhere else or can be done somewhere else. You just need to add a sleep(..) in FillBuffer if (lengthOfPostableData <= 0) to avoid 100% cpu usage. msdn: [url=http://msdn.microsoft.com/en-us/library/aa921406.aspx]CSourceStream Class[/url] Many :thx: for your help to get a stable IPTV solution Stepko [/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