Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-12 | We might eventually have logerr() and logwarn() | sin | |
2014-10-12 | tox_is_data_encrypted() was renamed to tox_is_save_encrypted() | sin | |
2014-10-12 | Add stricter error-checking | FRIGN | |
In upcoming commits, these errors will be incorporated into the logging-system, so they don't look so out of place when issued. | |||
2014-10-10 | Don't spin on request/out/<ID> if we echo anything other than '0' or '1' | sin | |
2014-10-09 | Fix request- and friend-management | FRIGN | |
When you got a request, but not accepted it via request/out/... and instead sent a request yourself, it would not remove the FIFO. This patch fixes this behaviour by iterating through the request- list and removing the FIFO if it's still existing. Additionally, actually make it possible to reject requests and re-add your friends later by managing the internal tox-state properly. | |||
2014-10-08 | Style fix | sin | |
Similar style as for detecting broken file transfers. | |||
2014-10-08 | Don't close a random fd | sin | |
if (f->rxstate == TRANSFER_INPROGRESS && (fd = openat(f->dirfd, ffiles[FFILE_OUT].name, ffiles[FFILE_OUT].flags, 0666)) == -1 && errno == ENXIO) { ... } else { close(fd); <--- not always appropriate! } | |||
2014-10-08 | Do a toxav_hangup() like we do elsewhere | sin | |
This will trigger the callback and reset toxav internal states accordingly. In the callback we actually call cancelcall(). | |||
2014-10-08 | Fix file-transfers | sin | |
2014-10-08 | Check outfiles if they are still open | FRIGN | |
If not, abort receiving. | |||
2014-10-08 | Check if the call id is valid before cancelling it | sin | |
2014-10-08 | Fix build on kfreebsd | Kill Your TV | |
2014-10-08 | Rework state management for audio calls | sin | |
No need to try to keep local state, just use toxav_get_call_state(). We now can auto-accept calls by pre-attaching on the call_out FIFO. | |||
2014-10-08 | A bit more consistent output message | sin | |
2014-10-08 | Implement peer timeout | sin | |
2014-10-08 | Release call resources with toxav_kill_transmission() | sin | |
Reject calls on both sides to reset states. This still needs to be tested to see if there's any effect of doing that. | |||
2014-10-08 | Remove debug printf() | sin | |
2014-10-07 | Simplify user state tracking | sin | |
2014-10-07 | Refactor user-state-logic | FRIGN | |
2014-10-07 | Rename ustatus to ustate | sin | |
2014-10-07 | Correctly inform external scripts of an invalid user state | sin | |
2014-10-07 | Add support for changing the user state and reporting friend's user state | sin | |
2014-10-07 | Allocate enough memory to allow copying all the friends | sin | |
2014-10-07 | Send the actual message when initiating the friend request | sin | |
2014-10-07 | Fix possible stack corruption when parsing friend IDs | sin | |
2014-10-07 | Reset fd offset when writing out | sin | |
2014-10-06 | Nuke leading space | sin | |
2014-10-06 | Reset state after hangup | sin | |
2014-10-06 | Re-order function decls | sin | |
2014-10-06 | Allow to attach aplay after we've initiated a call | sin | |
2014-10-05 | Factor out check for NULL frame | sin | |
2014-10-05 | Allow simultaneous tx/rx call | sin | |
2014-10-05 | Clean up calls on shutdown | sin | |
2014-10-05 | Properly hang up initiating calls | sin | |
2014-10-05 | Fix timing issue | FRIGN | |
I don't know why I missed that 1) of course we have to check tv_sec, not tv_nsec 2) when we do a nanosleep, but use the "now"-val for the lastsent- time, we obviously keep the wrong time. This leads to the program thinking more time elapsed than really has, leading to less nanosleep and thus higher playback-speed. Now this is fixed, and apart from state-transition issues, call-receiving now works perfectly. ;) | |||
2014-10-05 | Fix units (us -> ms) | FRIGN | |
Got off a factor of a thousand, this would've never worked. Now it should handle the calls properly. | |||
2014-10-05 | Style fix | sin | |
2014-10-05 | Add sample-timer for calls | FRIGN | |
2014-10-04 | Minor stylistic changes | sin | |
2014-10-04 | Add initial outgoing call-support | FRIGN | |
This works, but the audio is a bit muffled up, which takes some fine-tuning. Also, not all state-transitions are yet taken into account. | |||
2014-10-03 | Default to 0666 perms | sin | |
2014-10-03 | Clarify semantics | sin | |
2014-10-03 | Put configurable stuff in config.def.h | sin | |
2014-10-03 | Up max number of calls | sin | |
2014-10-03 | Fix broken build | sin | |
2014-10-03 | Refactor code and prepare multiple calls | FRIGN | |
2014-10-03 | Simplify cbcallstarted() | sin | |
2014-10-03 | Implement cbcallending() to properly reset state when we cancel the call | sin | |
2014-10-03 | Hangup the call on EPIPE | sin | |
If you want to switch to another call or want to change the output device, simply attach another program on the FIFO and kill the first. This could be another instance of aplay/aucat or simply cat. | |||
2014-10-02 | Stop this madness | sin | |