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 2
Plugin Development
Featured Plugins
UPnP / DLNA Media Server
UPnP / DLNA Media Server for MediaPortal 2
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="henso" data-source="post: 896059" data-attributes="member: 119106"><p>I have been trying to continue working on this, but I have found a few problems:</p><p>1. BOM (Byte Order Mask) is used on UTF8 encoding used by UPnPServer:HandleHTTPRequest_Nolock streamwriter. The BOM will cause errors on many clients that use a text based parser. As I understand it the BOM is unnecessary for UTF8 anyway and it can be avoid by by doing: encoding = UTF8Encoding(false);</p><p>2. Not possible to add additional namespaces to the root device description in DvDevice:BuildRootDeviceDescription. This is necessary to fully support Samsung DLNA used on the TV.</p><p>3. To support different DLNA TV clients at once it is sometimes necessary to have different device descriptors depending on the requirements of the client. This is currently not possible if I understand the code correctly.</p><p>4. To make it possible to detect what kind of client (XBox, PS3, TV etc.) is connecting it is sometimes needed to know the device descriptor of the client. Is this currently possible? Or do we need a way to do a M-SEARCH over UPnP to detect it? Other times the HTTP header is needed but this I already have access to I believe.</p><p>5. Also when streaming the file using SendWholeFile I have a problem stopping the streaming when the client disconnects. I see no way to detect that the client disconnected. Any suggestions?</p><p> </p><p>I am a beginner when it comes to programming for MediaPortal so I apologize for any stupid questions. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p>Also I have no experience with UPnP or DLNA, so I need to learn on the go if necessary...</p></blockquote><p></p>
[QUOTE="henso, post: 896059, member: 119106"] I have been trying to continue working on this, but I have found a few problems: 1. BOM (Byte Order Mask) is used on UTF8 encoding used by UPnPServer:HandleHTTPRequest_Nolock streamwriter. The BOM will cause errors on many clients that use a text based parser. As I understand it the BOM is unnecessary for UTF8 anyway and it can be avoid by by doing: encoding = UTF8Encoding(false); 2. Not possible to add additional namespaces to the root device description in DvDevice:BuildRootDeviceDescription. This is necessary to fully support Samsung DLNA used on the TV. 3. To support different DLNA TV clients at once it is sometimes necessary to have different device descriptors depending on the requirements of the client. This is currently not possible if I understand the code correctly. 4. To make it possible to detect what kind of client (XBox, PS3, TV etc.) is connecting it is sometimes needed to know the device descriptor of the client. Is this currently possible? Or do we need a way to do a M-SEARCH over UPnP to detect it? Other times the HTTP header is needed but this I already have access to I believe. 5. Also when streaming the file using SendWholeFile I have a problem stopping the streaming when the client disconnects. I see no way to detect that the client disconnected. Any suggestions? I am a beginner when it comes to programming for MediaPortal so I apologize for any stupid questions. ;) Also I have no experience with UPnP or DLNA, so I need to learn on the go if necessary... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Featured Plugins
UPnP / DLNA Media Server
UPnP / DLNA Media Server for MediaPortal 2
Contact us
RSS
Top
Bottom