Bug 194346 - ports/net/linphone OSS backend has very high speaker latency
Summary: ports/net/linphone OSS backend has very high speaker latency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 07:03 UTC by Hans Petter Selasky
Modified: 2014-10-28 14:18 UTC (History)
1 user (show)

See Also:


Attachments
Linphone patch (558 bytes, patch)
2014-10-14 07:03 UTC, Hans Petter Selasky
no flags Details | Diff
Linphone patch (552 bytes, patch)
2014-10-14 13:59 UTC, Hans Petter Selasky
no flags Details | Diff
Updated linphone patch (2.68 KB, patch)
2014-10-27 12:56 UTC, Hans Petter Selasky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Petter Selasky freebsd_committer freebsd_triage 2014-10-14 07:03:38 UTC
Created attachment 148286 [details]
Linphone patch

Hi,

The linphone OSS backend does not check how much data is in the OSS buffer, and fills it completely up, leading to very high latency. The attached patch will fix that.

The attached patch should probably be upstreamed.

--HPS
Comment 1 Hans Petter Selasky freebsd_committer freebsd_triage 2014-10-14 13:59:09 UTC
Created attachment 148296 [details]
Linphone patch

Could reduce latency further.
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-10-14 17:49:44 UTC
A commit references this bug:

Author: tijl
Date: Tue Oct 14 17:49:07 UTC 2014
New revision: 370874
URL: https://svnweb.freebsd.org/changeset/ports/370874

Log:
  - Patch OSS backend to remove latency
  - Remove USE_GNOME=gnomehier and @dirrm (handled by pkg)

  PR:		194346
  Submitted by:	hselasky

Changes:
  head/net/mediastreamer/Makefile
  head/net/mediastreamer/files/patch-src__audiofilters__oss.c
  head/net/mediastreamer/pkg-plist
Comment 3 Hans Petter Selasky freebsd_committer freebsd_triage 2014-10-27 12:56:33 UTC
Created attachment 148703 [details]
Updated linphone patch

Hi,

More patches are needed to reduce the latency to an acceptable level.

--HPS
Comment 4 Hans Petter Selasky freebsd_committer freebsd_triage 2014-10-27 12:57:00 UTC
I'm reopening this ticket, with an updated patch.

--HPS
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-10-28 14:09:12 UTC
A commit references this bug:

Author: tijl
Date: Tue Oct 28 14:09:02 UTC 2014
New revision: 371636
URL: https://svnweb.freebsd.org/changeset/ports/371636

Log:
  Further reduce latency in the OSS support

  PR:		194346
  Submitted by:	hselasky

Changes:
  head/net/mediastreamer/Makefile
  head/net/mediastreamer/files/patch-src__audiofilters__oss.c