1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

100 Commits

Author SHA1 Message Date
Anthony Bilinski
9216549d6e
refactor(call): Refactor toxcall and disconnect lambda on destruction
Fixes #3840

Move audio and video state into ToxCall which both ToxFriendCall and ToxGroupCall inherit from
2018-04-04 01:32:00 -07:00
sudden6
d3d81bbdf3
feat: update to the new c-toxcore 0.2.0 conferences api
The old functions are disabled at compile time and should be removed
later.
2018-02-24 09:57:42 +01:00
Diadlo
d2deec7c55
fix(core): Use new callback API for bitrate set 2018-01-31 09:39:43 +03:00
Diadlo
2c8f03dada
fix(core): Use new API for bitrate set
Fix #4935
2018-01-31 00:01:52 +03:00
anthony.bilinski
1394dd1b7f fix(call): fix bugs introduced from ToxCall refactor
-inverted call active booleans
-audio subscription leak on move assignment
-NullVideoBitrate check
-return peers list by reference so that adding audio source in GroupCallCallback is persisted
-fix output muting for friend calls
2017-11-02 13:41:44 -07:00
sudden6
967dab8700
style: run format-code.sh on the files 2017-10-31 09:32:53 +01:00
sudden6
90bf0a7e2c
refactor(toxcall): make toxcall a class with getters and setters 2017-10-31 09:32:53 +01:00
sudden6
b07ea763cd
refactor(toxcall): remove callId from ToxCall members 2017-10-28 11:47:56 +02:00
sudden6
ed4b063994
refactor(coreav): replace IndexedList with std::map 2017-10-28 11:47:51 +02:00
anthony.bilinski
1613044c68 fix(video): Set toxav video bitrate to 0 if answering audio-only call
Before we would set the video bitrate to 0 if sending an audio-only call, but we would still set the video bitrate to default when receiving an audio only call. In bad network conditions, this caused tox to ask us to decrease video bitrate in audio-only calls.
2017-10-19 12:18:44 -07:00
tox-user
7ed2d97aad feat(settings): make audio quality setting persistent 2017-09-29 12:33:30 +02:00
tox-user
61eddc1f6b feat(settings): Add audio quality setting
Fixes #4693
2017-09-28 16:14:36 +02:00
Diadlo
99ebb73562
refactor: Remove deprecated methods to get id 2017-08-06 13:55:02 +03:00
Diadlo
017653470d
refactor: Move friend and group in model directory 2017-08-06 13:55:02 +03:00
tWido
ac75f7b594 feat(video): Error message on call fail
notifies user if call ended unexpectedly
2017-07-23 21:19:06 +02:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format 2017-02-26 11:52:45 +00:00
agrecascino
62ac480171 fix(audio): alternate audio fix implementation from #4139 2017-02-07 15:44:35 -05:00
Diadlo
320099faf8
fix(chatform): Add ability to cancel call
Fix #4016.
2017-01-29 00:37:31 +03:00
Diadlo
29bb319025
refactor(friend): Small refactoring
Method renamed to be same with `Group` i.e. `getGroupId`, changed Friend
eventFlag type on bool
2017-01-05 00:56:32 +03:00
Zetok Zalbavar
d4ac13dbf4
revert: "refactor: Added to include path and exclude it from all includes"
Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.

In case of conflicts, includes were sorted according to the coding
standards from #3839.

This reverts commit b4a9f04f92.
This reverts commit 5921122960.
2016-12-29 16:10:53 +00:00
Diadlo
4f9cb0b008
refactor: rename args to conform to C++11 § 17.6.4.3.2
Fixed typo and small style improvements.
2016-12-19 01:08:33 +03:00
Diadlo
3c304c50bc
refactor(core): Added error handling 2016-12-19 00:42:54 +03:00
Diadlo
e9a2fc6b57
refactor(core, widget): Update toxcore group API (new: conference) 2016-12-19 00:42:54 +03:00
Nils Fenner
917812daaa
fix: Status reflection for friend calls 2016-12-01 08:55:13 +03:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors 2016-11-29 11:12:06 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
Diadlo
5d6445065e
refactor(core): Changed Core interface, added documentation
Implementation by @antis81
2016-11-14 16:16:59 +03:00
Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment 2016-11-03 07:57:14 +00:00
Diadlo
9a62f44c33
docs(core): Added leading stars 2016-08-19 00:20:23 +03:00
initramfs
3e7d55e833
feat(video): add a isValid() function to ToxTUVFrame 2016-08-06 22:12:32 +08:00
initramfs
07f5cf3a65
refactor(video): update code and documentation to honour QSize validity 2016-08-05 09:16:31 +08:00
initramfs
607b8d5a20
docs(video): remove old unnecessary comment pertaining to removed code 2016-08-04 18:59:30 +08:00
initramfs
f85a299e75
refactor(video): rename ToxAVFrame to ToxYUVFrame and add documentation 2016-08-04 06:33:40 +08:00
initramfs
8bfbae1b47
refactor(video): use a new ToxAVFrame structure instead of vpx_image
Instead of misusing an existing structure from another library, defines
a new simpler structure that reflects the capabilities of the ToxAV
transport mechanism.
2016-08-04 06:33:40 +08:00
initramfs
277ddc3d2f
fix(video): fix CoreAV and VideoSurface to conform to new VideoFrame 2016-08-04 06:33:40 +08:00
Nils Fenner
31c154293b
refactor(coreav): fix static analysis warnings and code style 2016-08-01 21:24:53 +02:00
Diadlo
2696a9265a
docs(core): Change comment style 2016-07-27 23:39:22 +03:00
Diadlo
f8eda7eb57
style(core): Style fixes 2016-07-13 01:54:37 +03:00
Diadlo
1ddc1371a0
fix(videoframe): Added correct image copy 2016-06-25 14:20:13 +03:00
Nils Fenner
792103f8b0
refactor(filter_audio): completely remove filter_audio dependency
The filter_audio API is not working for qTox/Tox and thus disabled by default via compiler switch. In current qTox UI, it is not configurable, even when this switch is enabled. According to issue #3194 the library is no longer maintained as well. I don't see any reason to keep it in qTox.
2016-06-04 22:12:27 +02:00
sudden6
5339ad978b
fix(groupaudio): don't play audio while call is inactive
This also avoids logspam, because toxcore keeps recieving audio data
even if the call is inactive.
2016-04-24 14:34:49 +02:00
sudden6
afcd146a5b
fix(groupaudio): avoid deadlock when ending groupcall
The offending statement caused a deadlock, because the audioLock was
locked twice by the audio thread.
2016-04-24 14:34:49 +02:00
Nils Fenner
356543ca3b
feat(audio): add (repair) support for group audio calls 2016-04-24 14:34:49 +02:00
tux3
ce2f8fd1d5
Cleanup and improve audio input
We now subscribe to an event and wait for frames when capturing audio
input, the big avdantage is that we only have to fetch the frames from
the hardware once, and we don't need to cache anything.
The frames are simply dispatched to the client's callbacks immediately.

Also removes some outdated ifdefs that did not apply anymore.
2016-01-23 16:45:25 +01:00
Nils Fenner
0615c7c3c6
reimplement audio in/out subscription concept 2015-12-20 09:45:43 +01:00
Nils Fenner
08c43d0b83
cleanup OpenAL compatibility code in audio class 2015-12-20 09:45:43 +01:00
Nils Fenner
a1b87194b8
fix #2504
We need to filter samples * channels; also cleaned up data types
2015-12-20 09:45:43 +01:00
Nils Fenner
bb7d2a72b7
privatized audio interface 2015-12-20 09:45:22 +01:00
tux3
a6bbd31b12
Retry sending audio frames on sync/lock error 2015-12-05 03:22:00 +01:00
tux3
333d10e6d5
Log type of audio send error 2015-12-05 02:35:11 +01:00