It's great to see the two buddycloud's GSoC projects working together. Denis has built a toy client to demonstrate his HTTP API, and this week he adapted it to handle channels avatars provided by the Media Server. Here are some examples:
https://www.denisw.de/buddycloud-http-client/
https://www.denisw.de/buddycloud-http-client/?channel=team@topics.buddycloud.org
Also, there are some examples of already stored media:
video: https://api.buddycloud.org/media/gsoc2012@topics.buddycloud.org/Jw8Eq6kWf6m2rmAg0Nrp
video thumbnail: https://api.buddycloud.org/media/gsoc2012@topics.buddycloud.org/Jw8Eq6kWf6m2rmAg0Nrp?maxheight=150
image: https://api.buddycloud.org/media/gsoc2012@topics.buddycloud.org/avatar
image thumbnail: https://api.buddycloud.org/media/gsoc2012@topics.buddycloud.org/avatar?maxheight=200
media list from a channel: https://api.buddycloud.org/media/gsoc2012@topics.buddycloud.org
sexta-feira, 17 de agosto de 2012
terça-feira, 14 de agosto de 2012
Media Server - Paging Queries
One useful type of URL query are paging queries, they limit the returned data into a specified range so, since the amount of displayed items are lower, the interface performance is improved.
Since we are implementing a XMPP media server, would be great to have something similar to RSM (XMPP way to do pagination), at least, similar to its syntax. So, the implemented paging for the media server is like:
GET /channel@domain.com/media?max=10 -> returns max 10 metadata media info
GET /channel@domain.com/media?max=10&after=foo -> returns max 10 metadata media info after the media with id equals to foo
There are no new features to be implemented, so the effort in this final week is to polish the code and improve documentation.
Since we are implementing a XMPP media server, would be great to have something similar to RSM (XMPP way to do pagination), at least, similar to its syntax. So, the implemented paging for the media server is like:
GET /channel@domain.com/media?max=10 -> returns max 10 metadata media info
GET /channel@domain.com/media?max=10&after=foo -> returns max 10 metadata media info after the media with id equals to foo
There are no new features to be implemented, so the effort in this final week is to polish the code and improve documentation.
sexta-feira, 10 de agosto de 2012
GSoC 2012 - Last sprint
What I'm doing right now? Finishing some details, like documentation and tests improvement, also, one more feature is being planned to be added, that is a RSM like URL query, this means:
GET /channel@domain.com/media?max=10&after=foo
Will return the first 10 metadata info (ordered by last modified date) after the media with id equals to foo.
Next monday (13th), is the suggested pencils down from GSoC 2012. It was a pleasure to work with the buddycloud team, and I've learned A LOT during this period.
GET /channel@domain.com/media?max=10&after=foo
Will return the first 10 metadata info (ordered by last modified date) after the media with id equals to foo.
Next monday (13th), is the suggested pencils down from GSoC 2012. It was a pleasure to work with the buddycloud team, and I've learned A LOT during this period.
Assinar:
Postagens (Atom)