maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   dlna through VPN through UMTS? (https://talk.maemo.org/showthread.php?t=75601)

bastler 2011-08-08 13:02

dlna through VPN through UMTS?
 
Hey There!

I have a dlna streaming server set up at home to stream music to the N900's builtin media player.


in short:
dlna through WiFi works.
dlna through VPN through foreign WiFi works
dlna through VPN through 3G fails, even though there's no technical reason for it, and I want it to work. Any ideas?


in long:
When at home and connected to my WiFi, dlna streaming to the N900 works great!

When at the office I am connected to the company's WiFi and use openVPN (layer-2) to connect to my home network and stream my music from home.

This also works great!

Here's the catch though:

When on the road I would like to use the exact same VPN through a 3G UMTS connection and stream the music.

This does NOT work. I have sufficient bandwidth, the VPN connection works flawlessly, I can ping the server at home, portscan it and even connect to the dlna-server through telnet. It is definitely available!
But I cannot stream Music from it. The server is not displayed in the N900's media player and when I try to resume a previous playback it tells me the streaming server was not available any longer.


I suspect the N900 simply kills a necessary service when the 3G modem is active to prevent "scanning the world", or fails to set some required route or something.

Does anyone know what is used on the N900 to provide streaming client functionality and how I could re-enable it (preferably on a per-interface basis) while on 3G?

lidow 2011-08-08 14:35

Re: dlna through VPN through UMTS?
 
G3=3G I suppose?

I think the problem comes from the network settings for 3G. It is actually a point-to-point tunnel. So no broadcast/multicast.

Obviously there is some logic that disables the DLNA functionality on the default media player, when connecting through 3g. Zhaan for example is able to see the DLNA servers even through 3g.

My knowledge end here, as I don't know how dlna is controlled integrated into default media player. There should be a method to trick it, but some internals info is required.

Quote:

Originally Posted by bastler (Post 1066026)
Hey There!

I have a dlna streaming server set up at home to stream music to the N900's builtin media player.


in short:
dlna through WiFi works.
dlna through VPN through foreign WiFi works
dlna through VPN through G3 fails, even though there's no technical reason for it, and I want it to work. Any ideas?


in long:
When at home and connected to my WiFi, dlna streaming to the N900 works great!

When at the office I am connected to the company's WiFi and use openVPN (layer-2) to connect to my home network and stream my music from home.

This also works great!

Here's the catch though:

When on the road I would like to use the exact same VPN through a G3 UMTS connection and stream the music.

This does NOT work. I have sufficient bandwidth, the VPN connection works flawlessly, I can ping the server at home, portscan it and even connect to the dlna-server through telnet. It is definitely available!
But I cannot stream Music from it. The server is not displayed in the N900's media player and when I try to resume a previous playback it tells me the streaming server was not available any longer.


I suspect the N900 simply kills a neccessary service when the G3 modem is active to prevent "scanning the world", or fails to set some required route or something.

Does anyone know what is used on the N900 to provide streaming client functionality and how I could re-enable it (preferably on a per-interface basis) while on G3?


bastler 2011-08-08 15:36

Re: dlna through VPN through UMTS?
 
Mh, so no quick and easy solution...

That's right, Zhaan can see my server through the VPN, even through 3G. Unfortunately it's just a dlna-control point, not a player/sink.
This does confirm however that the problem lies with the media player itself! If it was some global network setting Zhaan wouldn't see the server either, right?

I was hoping to get this done with the stock player since I must say I like it, but if there's a better solution so be it.

Can anyone recommend a good dlna-player for the N900 instead?

lidow 2011-08-08 15:38

Re: dlna through VPN through UMTS?
 
There are other players that have dlna support for maemo, although I also like/prefer the stock one.

Quote:

Originally Posted by bastler (Post 1066095)
Mh, so no quick and easy solution...

That's right, Zhaan can see my server through the VPN, too. Unfortunately it's just a dlna-control point, not a player/sink.

I was hoping to get this done with the stock player since I must say I like it, but if there's a better solution so be it.

Can anyone recommend a good dlna-player for the N900 instead?


Estel 2011-08-09 14:57

Re: dlna through VPN through UMTS?
 
Do You tried how it works in Open Media Player? If behavior is same, maybe You could suggest proper including of this feature?

Also, keep in mind that Open Media player is Open Source rewrite of stock media player, with enhanced functionality etc, so You should not have problem switching to it (in means of user-experience).

bastler 2011-08-09 16:16

Re: dlna through VPN through UMTS?
 
Haven't had the time to try OMP, yet (cool project, though!). But if I remember correctly from skimming through the thread a few days back streaming support is not functional, yet... Will try that when I have the time.

Did anyone get any of the other dlna renderers working on the N900 that are available in extras-devel? I briefly tried all of them, but I couldn't get any of them to work in my WiFi.

I'm surprised this is still so early in the development on Linux. Sure it's a mainly commercial technology and all, but there are numerous working implementations available for Win & Mac, it's cool, practical AND techy, and usually Linux is just way ahead of the crowd in those things...


All times are GMT. The time now is 10:45.

vBulletin® Version 3.8.8