Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-09 | Add nospam/ to manpage | sin | |
2014-10-09 | Use NSIG instead of _NSIG | 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 | Update README | sin | |
2014-10-08 | Update README | sin | |
2014-10-08 | Update README | sin | |
2014-10-08 | Update README | sin | |
2014-10-08 | Update README | sin | |
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 | Add -lrt to LDFLAGS | sin | |
2014-10-08 | Manpage update | sin | |
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 | Add manpage | sin | |
2014-10-08 | A bit more consistent output message | sin | |
2014-10-08 | Implement peer timeout | sin | |
2014-10-08 | Increase ringing delay | sin | |
2014-10-08 | Update TODO | 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 | Revert accidental modification to config.mk | 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 | Update README | sin | |
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. |