After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679521 - Make Totem an UPnP/DLNA renderer
Make Totem an UPnP/DLNA renderer
Status: RESOLVED OBSOLETE
Product: totem
Classification: Core
Component: Movie player
unspecified
Other All
: Normal enhancement
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-07-06 15:21 UTC by Jens Georg
Modified: 2018-05-24 10:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backend: Use librygel-renderer for UPnP (2.88 KB, patch)
2012-07-06 15:21 UTC, Jens Georg
rejected Details | Review

Description Jens Georg 2012-07-06 15:21:03 UTC
Attached is my patch for turning Totem into an UPnP renderer, originating in
my blog post http://jensge.org/2012/07/rygel-split-up/.

This is of course not a complete implementation with regard to totem and - as
noted before - has some problems:

 - It's too low-level in Totem (directly attaching to the playbin)
 - It's always on
 - It has network interfaces hard-coded

Some of these issues are due to the proof-of-concept nature of the code, some
are a bit harder to solve:

An UPnP renderer implementation that wishes to be compatible with real DLNA servers
needs to have some kind of access to the HTTP headers the playbin sends out to
the server. Likewise it has to have some kind of means to report other
capabilities of the source to the playbin, e.g. whether or not it's possible
to do HTTP range request.
Comment 1 Jens Georg 2012-07-06 15:21:06 UTC
Created attachment 218187 [details] [review]
backend: Use librygel-renderer for UPnP
Comment 2 Bastien Nocera 2012-07-06 18:51:40 UTC
Could you explain what would be difficult/impossible to do if you were to make this into a Totem plugin?

I played with the AirPlay plugin this afternoon as an exercise (we'd want solutions to fit both technologies), and the main one was the playlist handling (needing to have an item in the playlist to open/play something). I believe that we can fix that.
Comment 3 Jens Georg 2012-07-10 06:38:30 UTC
The only issue I currently see is to either inhibit seeking or to force souphttpsrc to use DLNA's time-seeking headers, apart from the playlist thing.

I've yet to convert this into a proper plug-in to get a complete impression of what's missing.
Comment 4 Bastien Nocera 2012-07-10 13:14:24 UTC
(In reply to comment #3)
> The only issue I currently see is to either inhibit seeking or to force
> souphttpsrc to use DLNA's time-seeking headers, apart from the playlist thing.

Could souphttpsrc detect that it needs to use DLNA time-seeking headers? And if it can't detect it, could this be a boolean property on souphttpsrc anyway, something we could expose to the UPnP renderer plugin for example.

> I've yet to convert this into a proper plug-in to get a complete impression of
> what's missing.
Comment 5 Bastien Nocera 2012-07-14 15:28:45 UTC
Comment on attachment 218187 [details] [review]
backend: Use librygel-renderer for UPnP

Marking the patch as rejected, as that's not the implementation we want.
Comment 6 Jens Georg 2012-07-21 08:53:02 UTC
(In reply to comment #4)

> Could souphttpsrc detect that it needs to use DLNA time-seeking headers? And if
> it can't detect it, could this be a boolean property on souphttpsrc anyway,
> something we could expose to the UPnP renderer plugin for example.

It could but it would need to do (a) HEAD request(s) and gain quite a lot of knowledge about all those flags or link to gupnp-av and basically duplicating the work that the UPnP part of the renderer has to do anyway.
Comment 7 Bastien Nocera 2012-07-22 01:45:12 UTC
I'll wait until you've had a chance to give a better try at making a plugin. Feel free to add the necessary signals or accessors to the backend video widget, and we'll see whether we can trim them a bit more anyway :)
Comment 8 Jens Georg 2012-11-12 11:57:31 UTC
I'm sorry, I was kind of swamped, I'll look into providing a better way to do this soon.
Comment 9 GNOME Infrastructure Team 2018-05-24 10:41:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/totem/issues/58.