Do we have Dleyna on android
by umesh papadkar
Hi ,
I was going through the document and came across the architecture diagram .
I am wondering if this solution is available on android . Is GUPNP is
ported on android .
Regards,
Umesh
8 years, 4 months
Definition and list of properties
by Ferrandis, Ludovic
Hi,
I'm looking to add new functions or new properties in
com.intel.UPnP.MediaDevice interface to manage the features below:
GetSearchCapabilities()
GetSortCapabilities()
GetSortExtensionCapabilities()
GetFeatureList()
DLNA_CAPS
In props.h we don't list all existing properties defined in
ContentDirectory service:2, Appendix B, page 114 gor upnp: (base
properties) and res: (resource properties).
There is a Class Properties Overview (Table C-1: page 148) that defined 132
properties.
We also need to translate upnp/dlane properies name to MediaServerSpec2
names.
1 - Should we manage only properties defined in MediaServerSpec2 and drop
other properties send by the server?
-> I think we should manage all properties
2 - How to manage properties not defined in MediaServerSpec2?
-> Add them as _ext?
3 - Should we add all defined properties by upnp in props.h?
-> I think we should. It will be done.
4 - Why msu_upnp_prop_mask is a bit field? I don't think we could have a
property with multiple property name. And it will be difficult to manage
132 properties.
-> Convert it to integer enum and rename it (remove _mask)
5 - How to manage Vendor-defined values (for Feature list, or for
property's value)
a - We could define a single const "VENDOR-DEFINED" mask for all
features/property's values
b - Define a mask by feature/property value (like FEATURE-VENDORE-DEFINED,
UPNP-CLASS-VENDOR-DEFINED) etc... The same assigned to all vendor defined
property values
c - Define a unique value for each vendor-specific property value.
UPNP-CLASS-VENDOR-DEFINED-X
If solution 'a' is enough, I'll go with it.
6 - What about vendor defined properties?
-> Same behavior as '5'?
--
Ludovic Ferrandis
Open Source Technology Center
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
8 years, 5 months
Capabilities & features
by Ferrandis, Ludovic
Hi,
here is a proposal about implementing the features below:
- GetSearchCapabilities()
- GetSortCapabilities()
- GetSortExtensionCapabilities()
- GetFeatureList()
- dlna:X_DLNACAP
New properties will be added to com.intel.UPnP.MediaDevice interface, to
exposes information about device capabilities and features.
These new properties are described below:
|-----------------------------------------------------------------------------|
| Name | Type | m/o* |
Description |
|-----------------------------------------------------------------------------|
| SearchCap | as | m | List of property names that can be
used |
| | | | in search
queries |
|-----------------------------------------------------------------------------|
| SortCap | as | m | List of property names that can use
to |
| | | | sort Search() or Browse() action
results. |
|-----------------------------------------------------------------------------|
| SortExtCap | as | o | list of sort modifiers that can use
to |
| | | | sort Search() or Browse() action
results. |
|-----------------------------------------------------------------------------|
| FeatureList |a{s(as)}| m | List of features supported by
this |
| | | | ContentDirectory
service. |
|-----------------------------------------------------------------------------|
| DLNACap | as | o | List of Capability ID supported by
the |
| | a{sv} | |
device. |
|-----------------------------------------------------------------------------|
There is an option for the type of DLNACap: a{sv}.
Some capabilities are builded with data value, like the example below:
srs-retention-capability-id = “srs-rt-retention-period-” duration
duration = <ui4 value> | “infinity”
srs-rt-retention-period-100
srs-rt-retention-period-infinity
So we can extact the value from the capability id.
We can do this for all known capabilities, but not for vendor specific ones.
In this case, the raw capability id will be returned.
I think the option a{sv} is better than as.
Any comments welcome.
--
Ludovic Ferrandis
Open Source Technology Center
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
8 years, 5 months