Comments (6)
Hi, I can't find the render with my samsung stock player. I looked into the file upnp_transport.c and found that:
static int get_device_caps(struct action_event *event)
{
if (obtain_instanceid(event, NULL) < 0) {
return -1;
}
// TODO: implement ?
return 0;
}
static int get_transport_settings(struct action_event *event)
{
if (obtain_instanceid(event, NULL) < 0) {
return -1;
}
// TODO: what variables to add ?
return 0;
}
so, returning an empty value should solve the issue ?
from gmrender-resurrect.
@caxton , what was the control point you were using, that required the device capabilities ? This way I can have something to play with.
Usually, these calls are never used in all the control points I have seen, so this is why they are not implemented.
from gmrender-resurrect.
@hzeller I use "AwoX mediaCTRL" on android device, and that was what they feedback to me renderer should return valid GetDeviceCapabilities and GetTransportSettings based on DLNA spec.
from gmrender-resurrect.
Yes, I confirm this is a issue too.
For a video APP: PPTV, after add following, it could play video, otherwise, device could be found, but it will not set uri to DMR.
static int get_device_caps(struct action_event *event)
......
// TODO: implement ?
-
upnp_append_variable(event, TRANSPORT_VAR_PLAY_MEDIA, "PlayMedia");
-
upnp_append_variable(event, TRANSPORT_VAR_REC_MEDIUM, "RecMedia");
-
upnp_append_variable(event, TRANSPORT_VAR_POS_REC_QUAL_MODE, "RecQualityModes");
BTW, I do not add code to GetTransportSettings.
from gmrender-resurrect.
I added these lines but the render is still not listed on the galaxy note 3 player :(
from gmrender-resurrect.
Maybe different APP has different checking of services.
Above lines work for APP PPTV, but it does not work for another APP: sohu.
Maybe gmediarender needs to run DLNA CTT test (DMR) to check what's still missing.
from gmrender-resurrect.
Related Issues (20)
- Documentation of --gstout-audiodevice is incorrect
- Enhancement: Support external volume control
- daemon starts with Error: UPNP_E_INVALID_INTERFACE HOT 3
- Cut 0.1 release HOT 2
- DSD Native HOT 6
- disconnected client but device audio is still not relased HOT 6
- Compile errors with libupnp 1.14.13
- [Debian PowerPC G3] error in stdout when trying to play m3u8 stream HOT 2
- hi-fi cast on android shows only one of multiple gmediarender on intranet [v0.1] HOT 3
- Issues Volume Control with Replay Gain HOT 17
- Home asistant and youtube music unable play HOT 3
- Scrobbling HOT 4
- Wrong link to wiki compatibility page HOT 1
- Trouble working with Pipewire HOT 1
- Convolution with Filter possible? HOT 3
- Trying to show video, it crash HOT 9
- Music lag, playing by pulseaudio-dlna / gmediarender on raspberry 4b
- [error] UPNP_E_SOCKET_BIND (-203) HOT 1
- Sparky USB dietpi+gmrender play next error
- How to support rk3566 hardware acceleration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmrender-resurrect.