Project

General

Profile

Actions

Bug #1532

closed

Streaming Recordings issues

Added by TheTroll over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
09/27/2013
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by herrlado over 10 years ago

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?

Actions #2

Updated by herrlado over 10 years ago

  • Assignee set to TheTroll
Actions #3

Updated by TheTroll over 10 years ago

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.

Actions #4

Updated by TheTroll over 10 years ago

I made more tests with the corrected sprintf:

- it works only on SD streams (with VLC)
- seek is not working

Actions #5

Updated by herrlado over 10 years ago

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)

Actions #6

Updated by TheTroll over 10 years ago

I think you should follow streamdev's version that uses casts. This is safer I guess.

Actions #7

Updated by herrlado over 10 years ago

  • Status changed from New to Resolved
  • Target version changed from vdrmanager-x.x.x to vdr-plugin-vdrmanager-0.10

Ok in the repository

Actions #8

Updated by herrlado over 10 years ago

  • Status changed from Resolved to Closed
  • Assignee deleted (TheTroll)
Actions #9

Updated by herrlado over 10 years ago

  • Target version changed from vdr-plugin-vdrmanager-0.10 to vdr-plugin-vdrmanager-0.11
Actions

Also available in: Atom PDF