Bug #1532
closed
Streaming Recordings issues
Added by TheTroll about 11 years ago.
Updated almost 11 years ago.
Description
Hi,
I have a problem when trying to stream recordings from streamdev.
It seems that the Inod is not correctly retrieved because of the type of st.st_dev (not sure of that though).
On my (64 bits) system, i need to do a :
sprintf("%llu:%lu.rec", st.st_dev, st.st_ino));
instead of
sprintf("%lu:%lu.rec", st.st_dev, st.st_ino));
In addition, the login/pass from streamdev is not passed in the url ...
Thanks
Hi.
I have copied the code from streamdev server. Now I have compared and this is what streamdev does
cString::sprintf("%lu:%llu.rec", (unsigned long) st.st_dev, (unsigned long long) st.st_ino);
So which version should be taken?
Regarding to the missing credentials on sreamdev i will check it. Principally the credentials are given, may be they are missing on recordings, I will check,
but the problem is, currently no video network player on android can handle them. Probed with vplayer, mxplayer and vlc. May be this is the issue?
Hi,
stream may do that yes but not vdr-vdrmanager/helpers.cpp from your plugin (git master).
It's not working all the time (not sure why, I think it's a problem with streamdev). But when it works, it's with VLC.
I made more tests with the corrected sprintf:
- it works only on SD streams (with VLC)
- seek is not working
I thins seek is somewhere vlc issue. There was a thread in vdr-portale about this.
But should it be "%llu:%lu.rec" (your version) or "%lu:%llu.rec" (streamdev)
I think you should follow streamdev's version that uses casts. This is safer I guess.
- Status changed from New to Resolved
- Target version changed from vdrmanager-x.x.x to vdr-plugin-vdrmanager-0.10
- Status changed from Resolved to Closed
- Assignee deleted (
TheTroll)
- Target version changed from vdr-plugin-vdrmanager-0.10 to vdr-plugin-vdrmanager-0.11
Also available in: Atom
PDF