Project

General

Profile

Actions

Feature #2045

closed

streamdev-client filter socketpair() buffer overflow and resulting streaming unreliability

Added by te36 over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Client
Target version:
Start date:
12/30/2014
Due date:
% Done:

100%

Estimated time:

Description


Files

vdr-plugin-streamdev-filter-patch.diff (19.5 KB) vdr-plugin-streamdev-filter-patch.diff vdr-plugin-streamdev-filter-patch.diff te36, 12/30/2014 11:53 PM
vdr-plugin-streamdev-filter-patch2.diff (2.48 KB) vdr-plugin-streamdev-filter-patch2.diff te36, 01/08/2015 05:32 PM
Actions #1

Updated by te36 over 9 years ago

Second patch, additional to the first one. This improves the behavior of TimedWrite and reduces errors and stream breakage. See more details in the patch itself.

Actions #2

Updated by te36 over 9 years ago

Unrelated problem:

size 4096 for m_Buffer seems to be too small is too small for some programs. The following is output when watching Anixe HD. Doubling the size to 8192 did solve this problem.

Jan 9 14:13:29 ras-pi2 vdr: [7627] cStreamdevFilter::Reset skipping 4026 bytes
Jan 9 14:13:39 ras-pi2 vdr: [7627] ERROR: Streamdev: Section handler buffer overflow (70 bytes lost)
Jan 9 14:13:39 ras-pi2 vdr: [7627] cStreamdevFilter::Reset skipping 4026 bytes
Jan 9 14:13:49 ras-pi2 vdr: [7627] ERROR: Streamdev: Section handler buffer overflow (70 bytes lost)
Jan 9 14:13:49 ras-pi2 vdr: [7627] cStreamdevFilter::Reset skipping 4026 bytes
Jan 9 14:13:59 ras-pi2 vdr: [7627] ERROR: Streamdev: Section handler buffer overflow (70 bytes lost)
Jan 9 14:13:59 ras-pi2 vdr: [7627] cStreamdevFilter::Reset skipping 4026 bytes
Jan 9 14:14:09 ras-pi2 vdr: [7627] ERROR: Streamdev: Section handler buffer overflow (70 bytes lost)
Jan 9 14:14:09 ras-pi2 vdr: [7627] cStreamdevFilter::Reset skipping 4026 bytes

Actions #3

Updated by schmirl over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF