Retrieving the duration of an audio file may lead to long blocking
delay. E.g. gst_element_query_duration()
Now a callback handler can be called by the application only if
needed.
If the used ausrc supports blocking mode (ptime==0) then the event should be
sent immediately. This enables IO-modules like cons, ctrl_tcp, ctrl_dbus a
synchronous response for command aufileinfo.
* debug_cmd: mem_deref of player fixes segfault
* debug_cmd: set pointer to NULL after mem_deref.
Co-authored-by: Christian Spielberger <c.spielberger@commend.com>
Co-authored-by: Robert Mittermaier <r.mittermaier@commend.com>
* Added EBUACIP invite handler
* adjusted missplaced curlyB
* some lines to wide, one // comment fixed
* two more lines over 80 chars
* trailing space removed.
* current file is always stopped when playfile is called.
audio.c checked out from Alfred due to some merge conflict.
* missing newline
* small fixes in layout
* err is initialized to 0
* 2 lines where over 80 chars.
* still lines over 80 chars somehow.
My IDE and travis doesn't agree on how to count cols.
* line 97 over 79 chars.
- registering duplicate short commands is no longer possible
- disable a couple of short commands, use long command instead
(short commands should only be used for very frequently used things)
- menu: properly register/unregister digit handlers for active calls
thanks to Juha Heinanen for reporting an issue with the 'a' key
- Long commands are commands that is 2 or more characters,
and MUST be completed by pressing enter.
- A given command can have a long-command, a short-command
or both.
- All long commands are using '/' (slash) prefix
- a simple TAB-completion is supported, while punching in
your long command you can press TAB to see a list of
commands that matches the input string.
Feedback is welcome, specially on the long-command strings
itself. If you want to suggest changes, please make a small
and non-intrusive patch and send it as a Pull Request (PR).
- Move commands 'g' 'u' and 'i' from menu.so
module to debug.cmd.so module
- This can be useful for example if baresip is loaded
with a server-type module_app (e.g. echo.so and b2bua.so)
instead of a client-type module app (menu.so)