View Issue Details

IDProjectCategoryView StatusLast Update
0003868GNUnetconversation servicepublic2018-06-06 23:21
ReporterChristian Grothoff Assigned ToDue Date
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 19: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 ModifiedUsernameFieldChange
2015-06-27 14:45Christian GrothoffNew Issue
2015-06-27 14:45Christian GrothoffStatusnew => assigned
2015-06-27 14:45Christian GrothoffAssigned To => Christian Grothoff
2015-06-27 17:49Christian GrothoffTarget Version0.11.0pre66 => 0.11.0
2015-08-10 19:41Christian GrothoffNote Added: 0009556
2015-08-10 19:41Christian GrothoffAssigned ToChristian Grothoff =>
2015-08-10 19:41Christian GrothoffAssigned To => user490
2015-11-02 13:41Christian GrothoffAssigned Touser490 =>
2015-11-02 13:41Christian GrothoffStatusassigned => confirmed
2015-12-03 15:50Christian GrothoffRelationship addedhas duplicate 0004078
2015-12-07 10:37Sree Harsha TotakuraRelationship replacedrelated to 0004078
2016-03-25 15:35tgAssigned To => hark
2016-03-25 15:35tgStatusconfirmed => assigned
2018-06-06 22:36Christian GrothoffTarget Version0.11.0 =>
2018-06-06 23:21Christian GrothoffAssigned Tohark =>
2018-06-06 23:21Christian GrothoffStatusassigned => confirmed