View Issue Details

IDProjectCategoryView StatusLast Update
0003868GNUnetconversation servicepublic2018-06-07 01:21
ReporterChristian Grothoff Assigned To 
PriorityhighSeverityfeatureReproducibilityN/A
Status confirmedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionGit master 
Summary0003868: audio playback should detect silence and drop
DescriptionTo handle network delays, a good method (per matthew@matrix.org) is to look at the size of the buffer *after* opus decoding, and if the buffer is large (i.e. 150ms) and contains silence, then drop parts of the buffer to "catch up" with the accumulated latency.
TagsNo tags attached.

Relationships

related to 0004078 confirmed Audio lags after some time 

Activities

Christian Grothoff

2015-08-10 21:41

manager   ~0009556

Code is in svn/gnunet/src/conversation/gnunet-helper-audio-playback.c, requires opus/pulseaudio (there is also a version for GStreamer...).

Testing via something like this: (replace pipe with delay as desired...).

$ ./gnunet-helper-audio-record | ./gnunet-helper-audio-playback

More advanced usage would be to run 'gnunet-conversation' on two peers, setup GNS records and have a real call, but for basic testing the above might just do -- modulo introducing 'fake' (variable) latency.

Issue History

Date Modified Username Field Change
2015-06-27 16:45 Christian Grothoff New Issue
2015-06-27 16:45 Christian Grothoff Status new => assigned
2015-06-27 16:45 Christian Grothoff Assigned To => Christian Grothoff
2015-06-27 19:49 Christian Grothoff Target Version 0.11.0pre66 => 0.11.0
2015-08-10 21:41 Christian Grothoff Note Added: 0009556
2015-08-10 21:41 Christian Grothoff Assigned To Christian Grothoff =>
2015-08-10 21:41 Christian Grothoff Assigned To => user490
2015-11-02 14:41 Christian Grothoff Assigned To user490 =>
2015-11-02 14:41 Christian Grothoff Status assigned => confirmed
2015-12-03 16:50 Christian Grothoff Relationship added has duplicate 0004078
2015-12-07 11:37 Sree Harsha Totakura Relationship replaced related to 0004078
2016-03-25 16:35 tg Assigned To => hark
2016-03-25 16:35 tg Status confirmed => assigned
2018-06-07 00:36 Christian Grothoff Target Version 0.11.0 =>
2018-06-07 01:21 Christian Grothoff Assigned To hark =>
2018-06-07 01:21 Christian Grothoff Status assigned => confirmed