Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't play video for some tv #10

Open
LozariaVinok opened this issue Nov 19, 2014 · 3 comments
Open

Can't play video for some tv #10

LozariaVinok opened this issue Nov 19, 2014 · 3 comments

Comments

@LozariaVinok
Copy link

Hi!
For some tv i can't play video. This happened because services sometimes include full path for SCPDURL, sontrolURL, eventSubURL and sometimes include path relative of description file path.
Description file path: /dmr/ddd.xml

urn:schemas-upnp-org:service:AVTransport:1
urn:upnp-org:serviceId:AVTransport
/dmr/sdd_2.xml
/dmr/control_2
/dmr/event_2

Can you help me?
Log:
11-19 13:42:29.571: I/System.out(28780): CyberGarage warning : java.io.FileNotFoundException: /dmr/sdd_2.xml: open failed: ENOENT (No such file or directory)
11-19 13:42:29.571: I/System.out(28780): org.cybergarage.xml.ParserException: java.io.FileNotFoundException: /dmr/sdd_2.xml: open failed: ENOENT (No such file or directory)
11-19 13:42:29.571: I/System.out(28780): at org.cybergarage.xml.Parser.parse(Parser.java:107)
11-19 13:42:29.571: I/System.out(28780): at org.cybergarage.upnp.Service.getSCPDNode(Service.java:392)
11-19 13:42:29.576: I/System.out(28780): at org.cybergarage.upnp.Service.getSCPDNode(Service.java:441)
11-19 13:42:29.576: I/System.out(28780): at org.cybergarage.upnp.Service.getActionList(Service.java:471)
11-19 13:42:29.576: I/System.out(28780): at org.cybergarage.upnp.Service.getAction(Service.java:490)

@wypx
Copy link

wypx commented Jun 19, 2016

Service devService = dev.getService("urn:schemas-upnp-org:service:WANIPConnection:1");
                            devService.setSCPDURL("http://192.168.31.1:5351/WANIPCn.xml");
                            Action addPortAct = devService.getAction("AddPortMapping");

I use this way to solve it . but not the best. the path relative of description file path should be pasered in the library anyway.

@ximencx
Copy link

ximencx commented Mar 25, 2017

i have some question , @wypx @cybergarage video source is hls stream,how to solve it?

@jametang
Copy link

jametang commented Jul 31, 2018

I have the same problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants