2013-09-10, 09:50 PM
I'm working on a NPVR client for my LG Smart TV.
My main concern right now is to decide on which streaming method to use.
I've tried a few but no one seem to work all the way.
The most important feature is to be able to seek somewhat accurately in the file. Not necessarily second precision, but say within 15 seconds.
I've experimented using the different options below (and some).
Npvrserver:8866/stream?f=<filename>
- Does a decent job except i doesn't work with all filenames.
Typically filenames including characters åäö (frequenly used in swedish) won't work. (yes, I use url encoding and tried some other character escaping techniques as well)
Npvrserver:8866/live?recording=<oid>
- plays but won't let me seek in file
Npvrserver:8866/public/download.ashx/<oid>,1;
- plays but won't let me seek in file. Also the reported duration time is not correct.
This leaves me with a couple of questions I hope someone knows the answer to.
1: Is there a syntax to use the Npvrserver:8866/stream?-option passing an oid instead of a filename?
2: Is it possibe to retrieve the short filename via NEWA webservices to pass as a parameter and circumvent any local character problem?
3: The filename flaw seems like a bug to me. What are the chances of getting it fixed?
4: Are the any other easy to use, capable of seeking, preferably inbuilt, streaming options worth trying?
/Fred
My main concern right now is to decide on which streaming method to use.
I've tried a few but no one seem to work all the way.
The most important feature is to be able to seek somewhat accurately in the file. Not necessarily second precision, but say within 15 seconds.
I've experimented using the different options below (and some).
Npvrserver:8866/stream?f=<filename>
- Does a decent job except i doesn't work with all filenames.
Typically filenames including characters åäö (frequenly used in swedish) won't work. (yes, I use url encoding and tried some other character escaping techniques as well)
Npvrserver:8866/live?recording=<oid>
- plays but won't let me seek in file
Npvrserver:8866/public/download.ashx/<oid>,1;
- plays but won't let me seek in file. Also the reported duration time is not correct.
This leaves me with a couple of questions I hope someone knows the answer to.
1: Is there a syntax to use the Npvrserver:8866/stream?-option passing an oid instead of a filename?
2: Is it possibe to retrieve the short filename via NEWA webservices to pass as a parameter and circumvent any local character problem?
3: The filename flaw seems like a bug to me. What are the chances of getting it fixed?
4: Are the any other easy to use, capable of seeking, preferably inbuilt, streaming options worth trying?
/Fred