Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve_bootstrap_node assert hit #2358

Closed
zoff99 opened this issue Nov 25, 2022 · 2 comments · Fixed by #2361
Closed

resolve_bootstrap_node assert hit #2358

zoff99 opened this issue Nov 25, 2022 · 2 comments · Fixed by #2361
Milestone

Comments

@zoff99
Copy link

zoff99 commented Nov 25, 2022

assert(*root != nullptr);

i have hit this assert in resolve_bootstrap_node on a box with DNS lookup timeouts.
do we need to fix something here?

@Green-Sky
Copy link
Member

Green-Sky commented Nov 25, 2022

Going through

int32_t net_getipport(const char *node, IP_Port **res, int tox_type)

it might be that

c-toxcore/toxcore/network.c

Lines 1799 to 1800 in b8aa21c

const int ret = getaddrinfo(node, nullptr, nullptr, &infos);
*res = nullptr;
does not return an error, but not returning a ipv4 or ipv6 address
leading to

c-toxcore/toxcore/network.c

Lines 1825 to 1828 in b8aa21c

if (count == 0) {
freeaddrinfo(infos);
return 0;
}

@Green-Sky
Copy link
Member

it would really help if we knew which return you hit in net_getipport()

zoff99 added a commit to zoff99/c-toxcore that referenced this issue Nov 25, 2022
Green-Sky added a commit to Green-Sky/lunatix that referenced this issue Apr 15, 2023
a7e40cb37 Update README.md
7836abee3 Update ngc_filetransfer.md
ec9eb2240 Update ngc_filetransfer.md
c7e0194dd Update ngc_filetransfer.md
e13dccb6d Update ngc_filetransfer.md
51e7d1504 Update ngc_filetransfer.md
f70f979f4 make it more c-plusplus-ish
3bae4099c cpp amalgamation example and cleanup
1a38a270a fix C++ amalgamation compile
c1a5f7e4f .gitignore
daec34dd2 make it compile with C++
6173c7148 fix types
71ff2566e rename script
39c21a948 rename script
14385201e tweak CI
b253b3397 use asan with amalgamation tests
475e7059f cleanup and tweak CI
0f228d5e6 name CI step
cc081f17c fix CI typos
c703aed87 fix CI typos
757a2f3c7 add sudo
dca82a681 tweak amalgamation and add win64 test
a5110800c add missing toxutil features
43fd122f6 add logging and update bootstrap nodes
5a7df2152 add logging and update bootstrap nodes
d52359282 Revert "disable ipv6 and local lan discovery"
3a55839e7 set linebuffered output
25e5dc169 disable ipv6 and local lan discovery
5b1a514fc tweak CI
a72b1b6ca tweak CI
a7fb8ac12 remove stropts.h
f0fc0eb3e fix workflow
4e9a19e8d fix workflow
182113b37 fix name for workflow
4f0719317 CI workflow for amalgamation
14ed5138e .gitignore
bce0b91df add define for ToxAV in test
df8b18abf Revert "Revert "increase MAX_GC_PACKET_CHUNK_SIZE from 500 to 1372""
36b44afce add toxcore single file (amalgamation)
77af539fd Update README.md
4837bac41 add docs for ngc history sync
7db79b6a3 Merge branch 'zoff99/zoxcore_local_fork' of https://github.com/zoff99/c-toxcore into zoff99/zoxcore_local_fork
d37088d16 Revert "increase MAX_GC_PACKET_CHUNK_SIZE from 500 to 1372"
f1ef62fa9 Update README.md
c06a55904 Update README.md
4eab66d6c increase MAX_GC_PACKET_CHUNK_SIZE from 500 to 1372
07371b24c Update ngc_filetransfer.md
33f476d5c Update README.md
e05c487cc Create ngc_filetransfer.md
92cf34fae fix a possible crash on sending a large lossy packet
e3f27ab83 increase max. custom ngc group lossless packet size to 40000
faefc2451 Update codeql.yml
5cd733145 add CodeQL scanning (#58)
24036840b Update README.md
311b95b28 Merge branch 'TokTok-master' into zoff99/zoxcore_local_fork
a41717cc1 Merge branch 'master' of https://github.com/TokTok/c-toxcore into TokTok-master
ff0b4c266 Merge remote-tracking branch 'upstream/master' into zoff99/zoxcore_local_fork
c030ca31e Merge remote-tracking branch 'upstream/master' into zoff99/zoxcore_local_fork
f38183214 give group connection status for NGC groups in more detail and add a callback function for connection status changes
a20535c72 Merge remote-tracking branch 'upstream/master' into zoff99/zoxcore_local_fork
e94dd666a Merge remote-tracking branch 'upstream/master' into zoff99/zoxcore_local_fork
d0c44d902 fix: #1144 by forcing misc_tools to be a static lib
68365d2c9 fix: potential endless loop under extremely high load
49c93f31b fix: error: a function declaration without a prototype is deprecated in all versions of C
0fa6a743e Revert "disable alpine build for now"
3d5020c82 fix cast to smaller integer type
4932f9dcf Make some improvements to how often/when we announce a group
05f735a20 refactor: re-implement shared key cache in separate file
b35399b4b Fix: use UINT32_MAX instead of -1
e9e3b4e9c quick fix for TokTok/c-toxcore#2358
cd63a9ff6 tweak toxav receiving missing frame tolerance and log if ts_buffer gets full on write
8f0c8a7de Revert "Fix: use UINT32_MAX instead of -1"
06ed6ed00 fix: update Python path for AppVeyor
485c3d7f7 Fix: use UINT32_MAX instead of -1
94a20036e disable alpine build for now
90b02941b fix 2 deadlocks
044e079c7 fix c++ compile
b210a6354 fix ifdef
b35bfdd27 add mutex debug logging (off by default)
201a859f0 move some tox api function definitions into __cplusplus block.
7654bbbb2 Merge pull request #56 from zoff99/zoff99/api_func_con_reporting
b433a8c64 new API functions to show network connections.
367fd1ee5 apply endcall_mutex, so ending a call doesnt cause problems with threading.
42b2f9c2a tweak CI
dd23ffd25 log message at test end.
e648bf5fb log message at test end.
20482aab2 no warnings.
54f5b898c tweak CI
2188241ed tweak CI
8bb98ebd5 disable warnings for custom tests compile.
a13b8260a disable warnings for custom tests compile.
958836121 fix CI
0a682cf10 fix CI
bb292bab9 fix CI
3ac197b9a fix CI
4dc8b5406 fix CI
6159af1d1 run all custom tests.
04f3aef74 new endcall_mutex, so ending a call doesnt cause problems with threading.
674d9d49e tweak custom test.
d7a0bf89f run test longer
51b125ffc fix a race condition
4535b8f18 fix CI
3405213a5 fix CI, run test for longer
1a97e9a59 fix CI
0c35d9318 fix CI
b45e6cf32 fix CI
dddd1e6ca fix CI
601584261 fix CI
561b45e9c path to pkgconfig dir
224377b5d make test actually end
69d52620a custom test 01
94bc856c3 add longer custom tests
445e6deea add longer custom tests
ae217ac8b better try to fix a rare crash without adding a new lock.
d5fd770c8 better try to fix a rare crash without adding a new lock.
c7c8b48aa adhere to minium video bitrate set when switching codecs on the encoder.
1df4a8515 Update README.md
62410f0b0 Merge pull request #55 from TokTok/master
75a3786f6 Merge pull request #54 from TokTok/master
b09475bde Merge remote-tracking branch 'upstream/master' into zoff99/zoxcore_local_fork
6fca91dd7 Update README for bootstrap node docker
645e18f2b Fix bug causing friend group invites to sometimes fail & improve logging
762c0115b fix: missing net to host conversion of port in logging
4e309f823 add API function to send NGC private message by peer pubkey.
a1be7ebe3 get peerid from peer public key in NGC group.
102de070c also run the test.
561a5cea1 github workflow for tcc.
4dc79dc0a Create tcc.yml
5fe92b1ab script to compile toxcore with tcc.
ef0b153f8 .gitignore
85d8fe5b0 Merge pull request #53 from TokTok/master
e198a4ed4 fix: unlock correct dht_friend
300c7b41d Update README.md
22498763d fix file sending finished using wrong number.
452078546 add fix from upstream.
28322028c add fix from upstream.
6b7c0e055 add fix from upstream.
4ac86f772 add fix from upstream.
c8c340b9b disable tcp_relay test. it timesout too often.
25a55a86c add fix from upstream.
00d2d5249 Merge pull request #52 from zoff99/zoff99/ftv2_001
df4828f35 disable a test that timeouts often
bb1fc995f update README.md to add ftV2
28881d102 fix clang warning (shadows previous var).
a7a1aed2c add a missing return when sending was OK.
856e323b4 actually reset the stale counter on every packet received by the FT.
b803c657c tweak log message text.
04bc42faf tweak STALE_CYCLES_ON_FTV2_RECEIVER value.
f3eb93c51 if the FT sender restarts the FT receiver will send a SEEK control for stale FTs. this will cause the sender to send a KILL control.
c8e22db6e after receiving a SEEK control, the FT sender pauses sending for 1 tox_iterate() cycle. to avoid a loop of send and seek.
c0823ae5a ftV2 addon.
62a29d0c4 already root.
1fcd97d4b compile.
3f35c8066 already root.
603a2d1a3 bash
30b2965c6 activate alpine run.
9a8c7f216 move alpine to circleCI.
9b3786bee add alpine CI run.
51e3a1c11 works also on alpine where bash is not installed by default.
ae05db1b1 Update README.md
13a4d9837 add tsan build on github workflows
9b3a41475 disable bootstrap test, it does timeout often
8341d7b31 disable group_topic test for now, it times out often
04a079aac fix struct and func definitions.
2b34f2f1e Update ci.yml
c2aaf0bf1 Update ci.yml
b6b6d25c7 Update ci.yml
05b250f29 remove expensive and useless is_receiving_file stuff. iteration interval 1 ms is too fast for some languages anyway. like java.
824ce878d return actual bool.
8e26059d9 tweak CI run.
4fd0fbc62 tweak CI run.
3535e11cc tweak CI run.
2d7c4af32 tweak CI run.
18a64f214 tweak CI run.
33e5efb0b ubuntu 18.04 for local docker run.
e31155e13 fix docker run and some warnings.
ebb924101 fix cmake compile, fix clang errors/warnings, update auto_tests.
bffb1b06c fix some clang and bazel warnings/errors.
81f69b38f add original msgV3 docs.
2627a4722 rename file
32e7e3397 add fix from upstream.
f2b1150aa add msgV3 short docs.
f59989896 demote WARNING log message to DEBUG.
03db0871c Update README.md
a2d430275 Merge remote-tracking branch 'upstream/master' into zoff99/zoxcore_local_fork
d5fe73027 demote WARNING log message to DEBUG.
7280321c7 add fix from upstream.
bd03bd6d2 add fix from upstream.
452dcda41 add fix from upstream.
07bbd0e70 add fix from upstream.
ddf873093 updates from upstream.
d3a7c13e8 DEBUG: option to dump group chats struct on save.
75eaea431 add back copy of cmp source.
40e4f381e fix merge conflicts.
65f0aee88 Merge remote-tracking branch 'upstream/master' into zoff99/zoxcore_local_fork
4615663fc add back docs.
c5c6027f8 bump third_party/cmp from 4c3737d to e836703
9d9db018e update from NGC PR.
8738ae7cb Update ci.yml
1309d202b 0019_zoff_tc___fix_unlock_on_api_function
b3123807d update from NGC PR.
89f3774c7 DEBUG: correct arg.
e82e6533a DEBUG: dump NGC structs on save.
f6218469a fix some comparing signed and unsigned warnings.
ea59f4125 apply next JF's group chat fix.
5ecd7fb22 apply JF's group chat fix.
616b7d47f sync with upstream NGC PR
43af57137 0018_zoff_tc___group_peer_count_and_peerlist_for_unconfirmed_peers
ea9a04d28 0017_zoff_tc___fix_tox_group_peer_count_and_tox_group_get_peerlist_functions
dea94504a fix files to merged branch.
453d93c65 merge TokTok/master and NGC branch.
ee2b733e2 0016_zoff_tc___add_tox_group_peer_count_and_tox_group_get_peerlist_functions
88d3426f7 0015_zoff_tc___add_tox_group_by_chat_id_function
890ad932a 0014_zoff_tc___add_tox_group_get_grouplist_function
fe86b8b84 fix a crash.
689e24b82 HACK: turn off DEBUG_DO_MESSENGER
28cbf8993 0013_zoff_tc___add_debug_timing_logging_to_do_messenger
62f0afeba 0012_zoff_tc___add_missing_unlock_on_callback_functions
62145d27c HACK: add README.md file
b5b5dd8e9 HACK: add missing BUILD.bazel file
6e9929523 add custom ToxAV
dede92710 HACK: fixes
e0bf9bba1 HACK: circleCI config fixes
7e8c6eec9 HACK: add back CMakeLists.txt
f18f6242c HACK: add cmp as normal files
a6ec40105 HACK: remove cmp dir
2429c1de5 HACK: remove .gitmodules
cfff33df4 HACK: disable dht_getnodes_api test
e696d0508 0011_zoff_tc___onion_active
0a13e302f 0010_zoff_tc___do_not_sync_av
23731a319 0009_zoff_tc___force_udp_only_mode
c5772f38b 0008_zoff_tc___message_v2_addon_fix
6534ed381 0007_zoff_tc___custom_tweaks_for_toxav
ca5c83a01 0006_zoff_tc___custom_tweaks_with_global_vars
aae77c56e 0005_zoff_tc___custom_tweaks_for_toxav_and_version
5a4146e60 0004_zoff_tc___message_v2_addon
e4cc85e5e 0003_zoff_tc___message_v3_addon
2b9578057 0002_zoff_tc___capabilites
c0aa79408 0001_zoff_tc___get_group_msg_number_in_callback
19fa67f55 HACK: fix include
0ba98af1a Merge branch 'zoff99/toxav_public_api_part_009_big_change' into zoff99/zox_merge_ngc_and_ngc_001
2904fbdd4 Merge the remainder of the new groupchats implementation
2e01c1c41 add missing includes.
273152c61 excempt from TOKSTYLE and add gcc/clang pragmas
da6d40d33 make ToxAV independent of toxcore internals.
14a7dcab8 revert MAX_NORMAL_PUNCHING_TRIES back to 5, add logging.
037288e58 try harder to hole punch to get UDP connections.
caab221cf Update README.md
e1bd0608b Revert "speedup FTs a bit."
48c467250 speedup FTs a bit.
4e2ea8bf8 use nullptr instead of NULL
a37c2c720 fix a crash.
2aacb7b57 fix: Eliminate memory leak in toxav.
dacf9594d compile with newer ffmpeg version (contribution from https://github.com/kaefert)
c728239d5 put logging commands in a better place.
1c259abcb remove debug logging again.
4d5159fc9 remove "non_null" as we do not have it yet, add debug logging.
6e6eee664 Fix issue with friend finding taking too long after disconnects
ac9158629 cleanup toxav.c
412afac10 remove logger from tsb buffer code
e6f57e7bc DEBUG: remove some debug logging again.
2bc65ae66 DEBUG: logging
3c47c52e6 DEBUG: logging
8c02d6993 DEBUG: logging
b8a1f80fa DEBUG: logging
3a2ae2245 DEBUG: logging
23ad689d9 DEBUG: remove some debug logging again.
1b4d51964 DEBUG: logging
15ad4b5d3 x264 encoder needs even width and height.
5f2a3ce8d add back comments to values for VPx quality.
e535f2be6 fix version infos
d548dbbe3 Merge branch 'zoff99/zoxcore_local_fork' into HEAD
e45c81e09 lock
5bcf88c92 remove locks again.
e662d8313 remove skip_fps stuff.
336f2a2d8 activate USE_STDERR_LOGGER if LOG_ALL_MUTEX_LOCK_UNLOCK_CALLS is used
f07d6213e fix locking of queue_mutex
479993710 toxav interation seperation test new
ce5f7265f mutex locking
fa4c022a6 missed lock.
4a8586201 cleanup msi.c
803ea332f cleanup old logger.
ce645f89a fix crash.
1ff54dce8 fix crash and remove some warnings.
5f432988f proper def.
960050ceb remove useless assignment
28dd39064 cleanup
4c260a709 cleanup codecs/h264/codec.c
297f416d2 cleanup codecs/vpx/codec.c
6dd0ad84a cleanup bwcontroller.c
2d234fa5c cleanup audio.c
41e7f45ff remove old h264_omx_raspi stuff.
054379d70 cleanup video.c (and collateral)
67a4c0e99 remove old OMX based codec functions.
41a20765a cleanup rtp.c (and collateral)
09695eb29 actually tell clients the correct toxcore version, CVE was already fixed.
64c2e8aed add msgV3
7d2fd5740 add API function tox_self_get_capabilities
fb835c64d simplify do_tcp(...)
4c988fe0e Refactor kill_nonused_tcp()
a7fe034bb fix issue with save_load autotest
0c2bcb5b4 fix missing braces in computed macro value
0257d4223 fix possible stack overflow
2c905e377 Fix buffer over-read when a peer leaves a conference
0ba010471 perf: reduce calling into Mono_Time in DHT
8f0e20134 Update README.md
801c6a4c7 Fix some friend connection issues
7f629c267 Fix bug causing API to report wrong self connection status
f5c2c5656 set capabilites default without msgV2 for legacy clients
ff1481cb2 new API function to get capabilities for friend, use new API function in toxutils to close a loophole.
9a2f884eb Revert "DUMMY"
75b721418 DUMMY
55a03399e less verbose
2ac646e0c less verbose
0dd947821 add doc
be09dece5 fix issues found by code checker
16f5c15c9 2 new API functions
c116c30e2 add debug DEFINES for better debugging of timing issues
ff5493ad1 also write some logging for pthread mutex lock/unlock debugging for platforms wheren thread id is not a literal number
0178bff3f bazel 3.3.1
bab5364b6 fix clang warnings
45e5ea9a1 sync with upstream
b77c4cd46 update from upstream
2bc2088d8 add from upstream
f49f22098 add from upstream
4a9d1879f update from upstream
aafa9c067 fixup after rebase from upstream
5ed4f59da DEBUG: activate for testing rollover of group message number ONLY
cd5e92db4 send more messages in conference test
1cb4bbbc4 fix for "add group message_number to group message text as lowercase hex"
908f8d63f add group message_number to group message text as lowercase hex (+ ':') in callback
8b344d3e7 fix logging function
da2d670ec add toxav option TOXAV_ENCODER_VIDEO_MIN_BITRATE
8e9b4eee3 resolve circleCI issue
e520a0e87 circleCI bug
c72c818d4 circleCI bug
8678d13c3 circleCI bug
8a2209de6 circleCI bug
f7373a5f6 circleCI bug
194b094a4 circleCI checkout fix?
b05f5bbe8 Revert "use circleCI checkout again" checkout still not working properly
84ebde29b use circleCI checkout again
e92d4fed0 revert 'always send audio frame'
d6c392761 always send audio frame (even if its delayed)
430357702 remove configure script from repo
f267f58a9 dummy CI fix
5dc28a559 CI fix
960a13a51 CI fix
51eb323ec CI fix
381569aca remove double line
f963d667b revert checkout step move
6eb63d843 move CI checkout step further up
946fa8a4d remove h264 encoder "h264_vaapi"
3ebd6471e pts callback for incoming audio
7f8faabf5 give video frame PTS to client, if callback is registered per API
971502568 less verbose
74138ebfa fix typo
c1d80e668 detect H264 HW encoder but use pure x264 if none is found
4c3139327 add HW_CODEC_CONFIG_ACCELDEFAULT which uses H264 HW acceleration if found otherwise libx264 via ffmpeg.
f2f3a7c4a fix msi for 2 friends calling each other at the same time
1462ebb96 ignore to call requests at the same time
e0c486472 wrong message id used
01677a74c fix MSI logic error when 2 friends calling each other at the same time
d9952296d turn on verbose debug logging again
49868b57a try to prevent a crash
5248655bd log level debug
3aff10348 less verbose again
563eb1e6b WIP:fix logic errors for multi-AV-Calls (bugs start at 3 calls)
35fc05731 increase USED_RTP_WORKBUFFER_COUNT to 3
2300027bd disable unlocking in do_messenger()
3524d56b7 lower USED_RTP_WORKBUFFER_COUNT to 2
cebd995ff send and receive buffer size as define
b86828550 extends audio delay range
9f755c465 fixes and debug output
19069d870 use real rtp paket num
bf6b421fb correct math
37bd43f5e add dummy git commit hash
3796e1bec fix function call
9de9af44c tweak logging and locking
f98ff6377 switch to turn off the onion
10005ee18 tox_iterate tweaks
c3242ae48 add lock back
778f9b3f1 speed up toxav sending, by not locking so much in toxcore
ceed82910 add more fine grained locking to friendlist struct
c6f891704 revert
faa82388a more fine grained locking on friendlist struct
a8e5c9a97 split locking in tox_iterate()
b1f6d3f03 less verbose (disable debug messages)
7ce2f4b90 DEBUG: tweak video playback some more
f6894d8ce remove unused define
658e92b6a replace logging calls with new logging calls
dd86a326c add debug info
74a2279dd tweak values
397d2665d option to force UDP only mode
ee261f65c remove unused define
9a22d2ae9 less verbose
4f819f509 WIP: tweak audio/video timings
2d4a55f9c DEBUG: trigger bandwidth control earlier
9214806ca DEBUG: video timing
abca9e671 DEBUG: video/audio timing
b6c9f8a6f fix RTP and BWC handle data calling
ecf67338b fix wrong inverted checks
d7e062e85 add some checks
4ff827ad9 use more delay for video and audio
875b1866a less verbose
48850b695 DEBUG: NTP and video/audio timing fixes
e46be9915 fix crash with threading issue
bd51512e1 DEBUG: audio and video playback debugging
e6f2f355e WIP: lower latency, better video decoding
3b2a82c3d Update README.md
c142b03ec remove wrong 50ms delay
4b645ae91 tweak H264 encoder settings
4018247f5 less verbose, tweak timestamps
63afb75bd activate intra refresh on H264 encoder
4999ece98 H264 decoder delay handled better
7a9ae5e5f handle deocder timings and delays more precise
8dabed556 measure H264 decoder delay better
c7c7417a7 measure correct video decoder added delay, and give to client
aa473fd4f videoframe age should be subtracted not added
5597de1cf fix some crashes on av iteration and ending a call
0d9e58bf3 fix incoming audio when incoming video is switched off. do not use calculated timestamps for now.
ae3457caa more checks and locking before bwc kill
73a4643c9 set bwc_receive_active to false on bwc kill
ce9006474 set rtp_receive_active to false on rtp kill
dd4991e20 add comments and logging
2e901091f less allowed loss, it does not work anyway at this time
8b1aa1ab7 lower allowed packet loss for audio call to 20%
8235ac917 tweak Loss percentage and Inband FEC for encoder in group audio
4d6b4cd1e lower bitrate for group audio
76a39bfa8 tweak OPUS encoder settings for group Audio
835664a76 remove even more locking calls
9f62b8837 disable locking in groupAV
19acab15d fix locking issues
40324b345 tweak group audio with locking
1692eff27 set video encoder bitrate to a higher value without delay
0d1439a3b branch name has changed
46f1de3f1 fix comment.
3b4348fb7 sync with toktok/master
a3751d29b fix problems after merge
b28ad9dac fix problems after merge.
50b6daeb8 make save_load_test pass again, by changing TCP_RELAY_PORT to 33437
3b1f476c2 reset flag
d0ac6c496 reconfigure encoder on encoder change
89c147e93 reset flag
be15fc922 set callback without condition
49535dd40 Revert "remove some locking from tox mono_time instance"
369284fb6 revert: test some ntp based BWC
a85e45392 WIP: test some ntp based BWC
f989b5e4b fix typo
b842a85e3 remove some locking from tox mono_time instance
29d558c75 lock mutex later, to avoid deadlocks
72780d80c rtp and bwc receiving redone
ebc1770bb formatting
cf27af459 use other reference , because i (call) is locked
14c383c52 logging
11834d9bd tweak test
18e332ee8 formatting
bb953b875 add offline check to ToxAV
b6c8a5a40 fix include file clang warning
84b668930 fix for android build
62cc086b1 Update README.md
4f330d956 fix clang warnings
6b7539804 formatting
ce6887422 reset vars to proper init values
2c07e0849 remove most of the debug log output
0224848d6 remove debuf stuff
8ea4a9ec2 formatting
da9d10de5 formatting
af29f1d57 formatting
aa218901f formatting
4f8d38d58 formatting
21570ddb4 formatting
ea22a9106 formatting
47ddbfda9 formatting
930e7c895 del
dcb693fbb formatting
f797c6928 formatting
6f4c0057a reconnect bwc again
899360a2e fix ntp and offset to sender, video works again
1eeef0f83 explicitly check for playload type
0639737c7 add clang masn check
e6b2a61ec fix typo in rtp_stop_receiving, hook up COMM CHANNEL pakets
330034c68 fix more tsan errors
4a56b4203 fix asan and tsan errors
f650a0afe change mutex to a more distinct name
d3b3e1509 add new test
45251744e incr. tests timeout to 300 seconds
9e57ed894 disable rtp unit test
8906cea73 fix asan failures
355700b0f drain before kill
fca701b5e go back to master (with hole in the friendlist on delete)
43678b1ec return to master
f69b4172d deactivate for now to allow compile
3a649ddec rebase fixes
b459924fd rebase fix
f0f30abe7 rebase fix
378f428bd rebase fix
da364b167 rebase fix
b9a67da2e rebase fix
84e790dbf restore cirrus commands
39ec76894 restore circleCI commands
cf48def2e call avcodec_register_all on older ffmpeg versions, assert if H264 decoder is not found
6397cdbea fix errors and warnings from clang
f71a575bf define libc function
5e79f1a5b relax compiler warnings to errors
e8bf09571 fix up
a96a6bda8 fix rebase
45d3da492 Add a mutex lock/unlock inside every public API function.
017b9b421 fix rebase (2)
ddf1bb6b9 fix rebase
fa74afdc8 change test for group reinvites
873c62d71 handle reinvites to groups better [zugz]
5234c8925 group fixup stuff from zugz
ee9b81f8f allow conference reinvites
1b3a874da only save filetransfers that are active, so to not increase filesize needlessly
d40ab6e6c tweak bwc on encoder
8f4a70496 KF more often
449ee2b85 tweak BWC
62d74fccb tweak encoder settings, report encoder videobitrate more often to client
62e9bd24b tweak HW accel h264 encoder
4253ab42c send only 1 keyframe at start of call
69b15a1b0 tweak BWC send stats interval
1f9386e65 tweak mmal decoder buffers
9e30accc3 lower VIDEO_BITRATE_INITIAL_VALUE_H264
6619ac4b2 revert BWC_SEND_INTERVAL_MS change
e542b5eaf revert bw control tweaks
d25cc7444 tweak bw control
4088c6c7a tweak bw control
ef3bf5d95 tweak bw settings some more
96e00c848 tweak BW control
d46421825 remove some more unused stuff and comments that are not accurate anymore
c7d754bd2 remove some warnings, remove usless stuff from bwc
b4e2d23ba cleanup
1a8086d0d encoder video timestamp
a9d7d2f14 sync A/V better
251b3a5e0 tweak utox settings
db8d2b3a5 add new API functions with data age
69e026e6c remove debug logging
fec49aa3d AUDIO_CURRENT_TS_SPAN_MS 65, remove debug logging info
7b4c9f868 cleanup
c5b6fd25b cleanup
edc2e9dae allocate larger buffer, so we can give it to ffmpeg without memcpy again [part 3] oops, missed this one
446be4bef some cleanup
86fad5007 allocate larger buffer, so we can give it to ffmpeg without memcpy again [part 2]
36776eede allocate larger buffer, so we can give it to ffmpeg without memcpy again
4945e14c7 increase audio buffer on decoder side
4c40b8faa less verbose
76a259845 WIP:tweak A/V sync settings
c8ad754da remove unsed var
601ca32ff add API function to delay video (to sync to audio)
ae8e57380 tweak H264 android decoder
5ef2adb44 use H264 HW decoder for Android (TRIfA)
0e68677e4 use new x264 source repo
810b66386 add API callback function to give incoming H264 video data to client
9707cadad fix typo again
78cf97e99 fix typo
dde544463 more error handling in decoder path
2bc5f6028 dont use HW accel decoder
44429a3cb revert hw accel detection at runtime
77d85f295 fix typo
d0f9dbbda try encoder/decoder and then use fallback
dbf577ff2 add new define for tbw usb portable
da51d7d06 fix problems with not finding decode codec on older ffmpeg versions
fb7e0b125 less video buffer delay for TV application
3a289fa99 H264 profile high for linux hw encoding
9802e5b6e tweak for TV app
b39e2bca8 change default max video bitrate
62578ded8 rename file
35004467e fix wrong msgV2 type for SYNC messages
b0e337c4c fixes for msgV2
d47d449a4 fix msgV2 SYNC message handling
c7e7caf4a even less hard tests
f6723ee4e make tests less hard
8814dd28c tweak tests
4d90056a0 revert some
54abe27e9 make conference tests more intesive
7fc89601c more debug logging in group.c
7ca15b325 add debug logging to group.c
ed191feab fixes for toxproxy features
6b1bcfb79 Create message_v2.md
7be5523ae add msgV2 SYNC message type
1f0be83cd disable format warnings as errors
1e5c47d0d format errors?
565971c77 ignore -Wformat= errors
cdada9a61 add missing toxutil.h header to installation
2b61a3c88 add back removed line
7531dc7c3 remove old include
98b6b4cbd header file location
ddcbaf56e some cleanup
2de5e0277 fix some warnings
4a6bf119a cleanup again some mistakes/error from rebase
09aa549b5 fix rebase errors
e43763b35 fix rebase errors (was uint32_t before)
441d6ea58 fix more rebase errors
1c35b144b fix more errors from rebase
ea72e85cc fix rebase errors
469a77ed3 add linux utox config
05dfec220 formatting
9c7ad25b0 use FEC on the PiZeroW again
5b7f357c5 fix video timestamp stuff
10e75b339 less verbose on the piZeroW
8b81295d1 don't show missed video frames logmessage on RpiZeroW
f42048c9c tweaks for PiZeroW
d969d6d86 make log message level DEBUG, since it occuse often on the Pi Zero
e8374ec2a lower max video bitrate for tbw down to 2700
a1c91db00 fix orientation header flags
e31ea1c1e fixes
9035ea392 give incoming video orientation to client via API
4eee26e24 API call to give input video orientation, and send in the RTP header to destination
89641f0de tweak buffer delay values for incoming video/audio
897e6e055 use hw accel for some usecase again, reorder defines
0c2180815 tweak H264 codec values
3110eb94d defines to configure initial H264 encoder profile
86aeb2c4b fix SPS detection
14da01462 less verbose
562de9ef7 less max vbitrate on toxphone
213c5e988 buffer options have no effect on decoder latency
6a4344567 DEBUG: mmal buffer values
b9396cc86 too many arguments for format
123d1c0a8 check incoming SPS and give data to clients via API
13258c6c4 cleanup, parse incoming h264 SPS, remove some unused stuff, tweak some codec values
e1ee03458 add new ts for parsing h264 SPS
c3f9c6668 revert some settings for codec
36484d1fe tweak codec settings, verbose logging of decoder latency
74362e129 decoder works again
5c3455235 every 200 frames an iframre
495445102 astyle formatting
3e01d6dff tweak codec settings
7e52bc290 log when incoming audio frames are missing
b22e16c41 fix ifdef's
d288fa31e change encoder for ToxPhone yet again
aba7f08e8 tweak CI build
8037c1e16 timeout for CI tests
7dc470875 dont error out on test failure in CI runs
e5a5faeba try to fix CI test runs
f3b36f559 fix definition for toxphone
aab442911 cleanup
6363605fa cleanup
0d3b32391 less verbose
a885c3ebb astyle formatting
e0c448736 tweak codec settings
03024c718 tweak encoder settings
e73378870 tweak codec settings
11d5784ea h264 profile high
5f44d952b drain buffer
9d6e2cb0d conguestion control toggle define added
f7d0650db tweak win7 utox codec settings
b55d2a0cf tweak audio pkt processing
c59de380d send audio pkts only 1 again
041ee49c3 tweak video en/de-coder settings for different platforms
5faaf7cb1 sned audio pkts twice, to have better audio at the receiving end
1c067743b tweak encoder and decoder definitions for compiling on different platforms
87ba09252 WIP: tweak H264 HW encoders
086ba2c27 add ffmpeg header to file
8f37603ea make ffmpeg encoding optional with defines
853e06786 use ffmpeg 4.1
1e17adaa9 more warnings to errors
afb2c9fa5 H264 PI HWaccel enc/dec
71d1b6adc WIP: use ffmpeg for h264 encoding
c16ec3a50 WIP: use ffmpeg for H264 encoding
c34ddad7b fix PTS/DTS in decoder
f2fda0782 H264 mmal decoder on Pi
28e9ce175 lower AV buffer to 90ms
a8f6d2221 use baseline profile for software H264 decoder, use threading for H264 software decoder
4a1260b20 remove HW accel decoder selection
f8e6689ba x264 option fastdecode ffmpeg h264 mmal decoder used if available
bd4d969a5 remove unused code
2ca4f3bdf disable cirrus CI
7b4ae57ca tweak to use ffmpeg 4.1
ad987c521 add API call to send H264 encoded data to toxcore
463650515 printf format fixes
67132e358 less warnings into errors
0f6e6aacc make certain warnings errors
9008e5fc7 less CI tests in parallel
7e2556e1b Implement conferences saving * add global friend_connection status callback, used for group rejoining * stop leaving groups on killing tox
410360864 Update README.md
6755c3be1 x
46de40dc9 x
859bcd9f0 x
aed407a2d x
4db866005 fix resumable FTs after tox restart. tweak tests for resumable FTs
f3721678a more resumable FT tests added
cde033fc5 for resumable FT tests
901535722 resumable FTs and tests
c53fa1849 level of debug message corrected
e58a79e22 level of debug message corrected
f306fcb52 Update README.md
e9bf8a52f add capabilities flags
b87912a92 make resumable FTs a global flag
9fd95d185 fix 2nd VLA crash
6a9c020d9 cleanup
807de547c Update README.md
5b52c951a fix crash in encrypt save (stack overflow with VLA)
0a3ed3a1d resumable FTs tweaks
ac36ae471 resume FTs tweaks
78244d6e8 make return value a bit clearer
15d14437b save/load friend Filetransfers
03d0b181f make FTs survive online/offline transition, should be compatible to toxcore without this functionality
fc24be460 make toxcore remember FT file_type
7f8d98492 make resumable FTs more conservative
f1a27b69f start work for persistent FT
50204fc47 less verbose
353d64759 debug output
9033115b8 Add missing dependencies.
972841b3d Add -Wno-error to BUILD files.
75b3e44ee add option for own audio iteration thread, some astyle formatting
74c6b10c7 fix errors after merge
d8a4814f6 update readme
cefe09597 small tweaks and astyle formatting
d446370a0 more audio iterations while video happens, enable H264 decoder again
77912325e fix request-lower-fps feature
8c0c30b7b remove spam messages from log
e8cf69d27 request lower FPS again
943aa770d report remote client capture delay
ed13e76a5 add quantzier setting to H264 codec encoder
c0634584b Add toxutil to the CMake build.
e4ffebe39 fix toxutil
ca5eb76dc Add missing header.
5577aacc6 change info
7fb59a4c3 Fix up merge mistakes.
7594b2515 dummy
d761eb39e guard against crash
f0a7b6955 fix divison by zero
77801150f fix bazel build
14bda060c update toxav error codes to new values
6c57b8495 include reorder
ca83a5e26 fix bazel build
f9eccbc34 a bit more buffer for video
5dd50ebd8 optimized for low latency (about 70 ms tox2tox for FULL HD on local network)
065ed8ae7 codec tweaks for lower latency, new COMM data for clients
f9181d7aa tweak codec/decoder values
d5a69fced add missing API functions and callbacks (mostly as dummy)
190bea287 requst index frame on lost data
afe5eb52a dont request index frames on loss
f80f787e6 calculate the real video play delay better, use even more multithreading for H264 decoder
d2d869d3f use only 3 H264 decoder threads
402ad64b4 less verbose
add4368cb make H264 decoding fast with multithreaded decoder setting
e2f4412b6 tweaks
71f712860 less verbose
20f3915e7 correct for really bad fluctuating network delays
d30bf2bea tweak and fix more video issues
eb452fe71 fix some bugs with BWC, check in ts_buffer if we are skipping time ranges
0738ce54c fix typo in H264 define
806dc0b56 less verbose
3181a63b1 tweak AV sync and drift delay, add missed commits from other branch
3415d27e8 tweak play delay adjustment
d46462a7c add missing includes
0fef7c7e0 formating
d61cbbf87 Fix rebase errors.
116665fd0 fixes, new API cb options
8c527a3da new AV option for max video bitrate
d9511fc34 fix compatibility with old toxcore/clients
5d63e6416 compensate for older clients
ed520b3bd tweak VP8 values some more
eaeb6c9c8 tweak VP8 stuff
fae6cb82f new api cb for network round trip time tweak time sync a bit
5acec4a70 fix audio values
ae3bcd8e6 tweak AV sync
2c2afa2e5 use 400ms delay for video and audio streams
2e2bf444c less verbose
02088fc9d tweaks
73d9b3c4a fix buffer lingering in workbuffer
ac52c3a54 tweak ts buffer stuff
98458bf46 tweak ts buffer stuff
2e6ad63ff tweak ts buffer stuff
4d0b0fd38 fix ts buffer, don't delete old entries too early
9513962ab timestamp buffer ...
29c0b52c7 Update dummy_ntp.c
b0ec113c4 Update b.c
35db4fba1 Update a.c
eeaebe014 Update ts_buffer.c
02dcedb2b Update dummy_ntp.c
3d91a7c3c a few fixes for timestamp buffer
be7651e50 disable unit test
e01f50743 NTP formula added
b56a71b03 timestamp buffer added
31868aa61 add new files to Makefile.inc
07c9392b3 add dummy_ntp.c
040a5bd14 add ts_buffer.c
cc628d405 tweaks
32b96b2ff BWC debug and tweaks
565dd855b less verbose
3f99877f2 tweak H264
7c7bea489 force I frames every 5 seconds
4b8f70ea6 tweak BWC again
a878a983d bwc tweaks
caf3b032e tune keyframe distance for H264, less verbose
f5dc2b1ee less verbose, tweak skip frame and BWC settings
1ff92768d tweaks and fixes
c6b19d36a fix mem corruption, tweak audio config
d8c7e96e8 add comment
c22180358 debug logging of video to audio delay at receiver
68020a283 tweaks and debug logging in toxav
5ed68014e debug logging for tests
3929e1f31 sometimes H264 cap. signaling does not work on call start, so we send it a few times on the first incoming frames again
f0342aea3 tweak omx codec
6d1599b88 tweak H264 OMX encoder settings
4a1485b0f move var initialization to other function
88337bb70 explicitly set var
9da46e532 tweak pi build script
25239156c tweak build script
b88a68909 fix make clean command order
ebc5a5ba9 build script for the Pi tweaks
1c8ce3efd update build script for the Pi
51c35f821 DEBUG HACK: show own video
5ef64ca22 debug hack: show own video
05e7f250f less verbose, tweak bwc, tweak HW 264 encoder for pi set more params and force i-frame on viceo call start
d5ef1ebf6 h264_omx: Set intra refresh period to 50 frames
810979231 change bit rate of OMX encoder while video is running
45aad06f7 h264_omx: Reconfigure bitrate code (not working)
f05e7c99c try to fix decoder h264 startup issue when source comes from h264 omx
59991dcf6 OMX H264 encoder for RasperberryPi working also with 720p resolution, bit rate change while video is already encoding is still needed!
cda1ef260 prepare for h264 omx encoder on the Pi
6188ce81c more bwc tweaks
14c6e5fbb bwc works pretty well now over Tor :-)
9f6b64394 tweak bwc logic
0854027c5 cut out more functions, get ready for OMX HW accel on the Pi
49da67bd9 fix fix statement, less verbose
cd5b38872 cut out encoder stuff
11281e80b cut out more functions
71b224298 formatting
d113a63c1 split more functions
a7e4a3744 cut first parts out and spilt into own files
c846a2ae8 licences added
6441f006a start splitting up in dirs for each codec
ca3938f8c small tweak on automatic video bitrate
f2d5a5917 fix video error when switching to H264 encoder
b9a987ca8 tweak some values
d2d348825 more info and callbacks
8218c88ef less verbose
fb06fec85 automatic video bitrate with H264 codec
5fd344fdb bandwidth control fixed for H264
21582123b auto negotiate video codec
a4323b35c send H264 capabilities to friend
cf65e786e new callback
570838bc0 change request key frame packet into a general comm packet
c203f064c fix size in audio.c
d656c1ef3 comments
a58d0ba93 full=1
6d3911777 init submodules
f0389ffcb fix script
91388475a fix new repo values
c0660c649 add build script change name of bw build script
1926bf4d6 fixes
773d98e4b make video codec switchable by API call
b44e0172f more tools
4b38fe69a fix gitignore file
965a0dad4 config stuff
a65389a94 add packges to install for the Pi
09039f04b tweaks
c15145b83 debug build file for BW on Pi
8b25e8a4e tweak H264 encoder again. seems to work on now even on limited bitrates
7c8e3a33e tweak H264 encoder some more
ed62b7251 setting bitrate for H264 encoder now actually works. yeah!
aea91a953 tweak x264 encoder settings some more
2d20f0fc8 fix gitignore
a74f9e69b x
72c3a04df tweak config, hopefully fix small memleak on H264 decoder size
8ea7456f7 less verbose
c102c9e79 decoder working, clients can send and receive H264 video
58fc861ee add x264 encoding and set as default also send it
4c9fad361 x264: set ultrafast, zerolatency profile
55294ccf0 init h264 encoder and decoder (nothing is used yet)
1867cb967 script for debug building
30023a8b7 get ready for H264 codec test
6961f7190 less verbose
8ff54aa74 tweak
ade7e12ea set 24fps for interal vpx calculation
58a01437c switch video back to VBR
265b8801d fix video frame duration calc formula
e17ff5bed change video encoder from CBR to VPX_CQ (Constrained Quality)
479812094 change video encoder from VBR to CBR
5a8af6a55 less bitrate overshoot for index frames (2)
b5ff13af7 less bitrate overshoot for index frames
14a37840e typo
75239ea39 msgV2 resend message API function
357f64ca3 signedness
9c4a95966 updates
f3d1ae867 typo
dc2dee087 no action on equal
69b3096f1 less verbose
067735a0b fix crash in toxutils
28145fce1 fix threadsafety of friendlist struct (try 1)
73b8d1562 toxutil more stuff
7843d0d01 remove debug item
c397b43d2 fixes and formatting
b04a1c9ff tweaks
807060685 msg v2 send function
462ba145a fixes
9efb022e2 keyframe tweaks
304dc00b7 tweaks and astyle formatting
5e03ab0ae more verbose error message
b36825f5c less verbose
a818bb033 fix crash
027a6d61e tweaks, fixes
8c55a6591 tweaks
f82607703 tweaks
d36ea1703 fixes
56b51992e tweaks
11cedf79e tweaks
b42a85470 tweaks
df73a00c1 keyframe resend part 2
cb17ccdc8 resend keyframe request: part 1
fe66f5f52 fix bug with marking key-frame on receiver
8e970b2cd fix
55ae8c006 fixes
5ab0add42 tweaks for lossless video transfer
235f0bb37 add duration, always use VPX_DL_REALTIME now
3c04ad52d tweak g_timebase
369faa006 limit keyframe max size
4ddca76a7 tweaks
c76dfecaf tweaks
73bd1d51f typo
391d2259e TOXAV_ENCODER_KF_METHOD_NORMAL
6650f491c switch back to PATTERN KF
eae1d9ec1 tweaks
9aac689f2 tweaks
533ea7448 tweaks
f91db83f1 tweaks
1a2fa0f5d tweaks
430b3ffd0 also return text length of message V2 text-message
3cb293113 small formatting
f0de9a959 astyle formatting
fab170b3c msgV2 stuff added
98ef47d58 tox utils
63147a4bc tox utils
531996385 send cap. packet
847cbebde add logging
ddcd133ec first function in toxutil
feda30a92 start toxutil
85a528ccd verbose incoming audio packet logging
15af5c978 keyframe method option
3ea81f290 update docs
7c22c1225 update docs
6ddad95f7 update docs
e91d0758e Update toxav_threading.md
1480984d0 Create toxav_threading.md
c1c94546e less verbose
b4eb360c2 less verbose, astyle formatting
7df913c3e tune toxav
4a4e0bca5 autotune decoder softdeadline rewritten
502bb9033 tweak autotune on encoder
987a75f9d default to TOXAV_ENCODER_VP8_QUALITY_HIGH again
e12447d1e tweaks
f921d66e9 RC_RESIZE thresholds as defines
f60d998d3 more crash fixes
22f247999 tweak audio receiver stuff a bit
6794bfa56 make VP9 actually work on encoder and decoder, make switch API call
b8a98209c v bitrate tweak again
7c5b60ab2 up vbitrate a bit more
8f9707f55 fix bug, lower starting videobitrate (to more reasonable values)
15dbe5806 set cpu used correctly on VP9 encoder
843cb1249 API call to set min quantizer and later encoder CODEC
78c7b81ab tweak encoder settings
3af5f948c video encoder settings fixed again
4e3034dbb new method of keyframe placement for encoder
5fd2dfb2c rc_resize_up_thresh = 60 enable softdeadline autotune for video encoder again
790c736df legastenic typo fixed :-(
9ee4d8f30 rc_resize_up_thresh = 80
552ac7cbd tweak encoder settings
f0b57f5d9 disable VIDEO_ENCODER_SOFT_DEADLINE_AUTOTUNE
67c47393c max 3 threads for enc and dec
393fa3e7c disable until its clear if this is wrong
de6c52a2a default to normal video quality
3e96d907c less verbose
0fe1e09a5 encoder autotune leeway
b6bc26858 tweaks
26a7c3a41 dont save PTS for now
3c45d724c disable error concealment again
87437171f fix bug
9ece42942 tweak settings
cbeaa3c6d astyle
ccc3ceb94 tweak values more
d9e637e98 tweak encoder settings
31acfa08a remove info
742ff69bb dont use decoder error concealmeant
6c80846f7 tweak enc settings
7096c202a tweak encoder settings
434dedec6 tweak encoder settings
ebe9c8173 new TOVAX option
f5bb95942 turn on error concealment again, increase rc_max_quantizer from 20 to 40
d2513ccce tweak encoder settings and quality values
ce7ec44cb disable decoder error concealment for now, tweak decoder leaway
f3f5a9fd4 swtich back to VP8 encoder
d49f3eb47 tweak VP9 stuff
6434e056f condition tweaked
1f1422162 tweak VPx encoder settings
c5adf7c77 VP8E_SET_ENABLEAUTOALTREF
b93747eb3 VP9 default encoder vide bitrate lowered
341207c28 less quality for VP9 encoder
12888518b use VPX_VP9_CODEC for encoder
7a9bbe886 activate VIDEO_DECODER_AUTOSWITCH_CODEC
1b48c30ff use error concealment on decoder, check for capability first. HINT: compile vpx with '--enable-error-concealment'
981b02946 tweaks, fixes
d4ef48fb3 astyle, and fixes
44d8108d3 compiles. now check more ...
3d4494db0 move towards master, fixes
ae7c53378 tweaks
baf910bf6 move towards master
b76fe8aa5 move towards master
45ec00887 add define if msg_v2 is active -> TOX_MESSAGE_V2_ACTIVE
a4cd0ebcb Message V2 first draft. lets see ...
f2dc28ed4 message V2 functions
ca7886f65 add helper function stubs, add more defines for MessageV2
bd1fc0047 add FT types to tox.api.h
28b8bf904 astyle formatter
f9c120198 autoaccept MSG V2 FTs, check for max size
aa21959aa add new FT Types and max size
8318b8a72 tweaks
78047939c tweaks
2c58888ce autotune enc
9dcc35f6a tweak ENCODER
c8a3678f4 debug!!
af6fb73cb leeway for decoder autotune
9be0bb452 typo
d197746c5 fix
3d812155f tweak encoder autotune and settings
2f0067064 kexframe intervall
19f5d2f29 enc tweaks 2
1235fe881 tweaks
2e7285a2d highest quality settings for encoder!!
e0b696f81 40 -> 20 fps on decoder max fps
9e50f0d7f oops. this is really no autotuning ENCODER DEADLINE
0fc3d60a9 disable deadline autotune on encoder
8c0898c29 set encoder to better quality with higher default SOFT DEADLINE
9a669d6bb less verbose
86103cef8 less verbose
8f81b2320 start with high video quality
e5c7239de new TOXAV api paramter: vp8 quality
a8d5279bc toxav option: reset previous value
bea6bc07d add genric AV options to API
47414ec29 !! video quality encoder !!
ebc225502 !! full quality encoder !!
7c4c35356 be more conservative on encoder autotune
35f531f9e auto tune vpx encoder deadline
134bbd5b6 WANTED_MAX_ENCODER_FPS 30
48377eaf6 set encoder softdeadline to 20 fps
6d4fadc18 fix audio seqnum rollover
9fef7b894 tweak
015090844 tweak
89bb23502 tweak vpx
ddd7cf3a2 disable fragments for now
d1e109f6f tweak video
2e7f389ea fix mem leak in decoder part, tweak fragments
300bcc8bd tweak VP8 with fragment support
f75c3f0d2 VP9 working (90%)
b18aea76a verbose
ccd49dbca tweak some more video settings
afa090b35 tweaks, fixes
6f0605af9 tweaks
d74bb18ea less verbose
e250b7e2b autotune video decoder softdeadline
9c76efaef less verbose, more tweaks
474077546 tweak AV
21321ae42 cpu 16
414ded4fd tweak AV
dc3951592 fix video conguestion on receiver side
b44b10690 VP8E_SET_CPUUSED_VALUE (10)
9bd0d704f tweak video config
b1ae5c987 fix return value
8870769ae fix fuction definition
1e5e398f2 WIP: audio
c19b99d65 Update README.md
53d721384 typo
2e84f9fa5 fix
a0a7bca82 get correct recording timestamp after decoding
1237c0f72 Update toxav.c
98ad95c6e timebase units = 1ms
baaa88aaf correct timestamp in vpx encoder
67632191b WIP: audio sync
f0d6ddb0c WIP: audio and delay
00312ec4f WIP: audio, and delay
de32b79bc WIP: audio to video delay/latency
a7890be95 WIP: audio
5c6dbe46d WIP: fix audio
0a30577ad messed up data_type thingy, its now correctly implemented
e45babaf0 fix error
090b74594 tweaks, fix error
7012175d8 log out-of-order or late incoming audio messages
85abbe044 change incoming audio to ringbuffer
6717e371d WIP: audio broken, needs more rewriting
ea379c107 tweak audio play to be independent of video play
be81e9fe4 formatting corrected
0f52315aa tweak video settings up/down threshold
285314d87 only suggest new bitrate of loss is greater than 10% of data
bc2f50ca3 tweak BWC
74e531188 tweak video settings
b1367fb17 tweak video settings
563ba5282 tweak video values
7ec694326 tweak video encoder
112e43f0e tweak video settings for best results
46816cb53 use shorter max log message length
b373bb22e less verbose
b475d651a fix some struct castings, fix BWC
ed6a3d83e format checker
baad129d9 tweak in favor of quality down to (soft limit) 40 fps (from 100 fps)
3c6f97ae5 use some sensible value here (this should be an API call)
e7b34750e fiddle around with the BWC
8bc5f4a1a small tweaks for video
ab0a96785 name temp_audio_buffer
89308333c AUDIO_MAX_CHANNEL_COUNT
24080c344 Update audio.h
40bcb0de9 lp_frame_duration
b8324e148 AUDIO_MAX_BUFFER_SIZE_FOR_FRAME_PER_CHANNEL
92e4e5b90 correction
4a7536f79 Update audio.h
e85d546d0 more defines and docs
154e0a3e6 use defines
78d063de5 add defines
95d412b59 more documentation
81630a130 formating
4627d5ff5 sometimes messages get cutoff
4d6fd47f4 verbose bwc logging
10a84f628 fix 32bits again
50e61d352 32bit fix
c1c46f411 fix warnings/errors
c7f300a4f cast to uint32_t
ecc9c0b9d tweak BWC
334df2c67 VP8E_SET_CPUUSED_VALUE (16)
08cea3dc2 VP8E_SET_CPUUSED_VALUE (3)
892a3d643 less verbose logging
ab84d3b07 removed #if
69c707c09 small tweaks
c20d1e501 turn down logging level again
9df83205f timestamp too old tweak
bd799a594 twekas
6f2c493d2 remove not well tested encoder config settings
b916b2567 less verbose on local LAN discovery
9e191ab74 cleanup, less verbose, some defines and enums
2d27ed224 for the first few video frames sent to be keyframes
5e85b1700 defines for VP8/VP9 values
40cc26dd3 fix vpx max dist value (it was sending only keyframes)
3b1300d77 WIP: nice video with about 20 fps
e7fc043a1 tweak compatiblity video
1bd0af08f WIP: video checkpoint -1.0-
bc216ae1e WIP: checkpoint 2
6aa7ece78 WIP: checkpoint
a9d18660c WIP: small frames processed
5c8d23044 tweak ringbuffer (add data_type) tweak vpx decoding and playing of frames
8ebd57ba6 put keyframe flag into rtp header bit
d2a9ee375 WIP: sending part tweaked. works fine
318e6032d formatting
c3cfe4c56 remove debug log messages
3cae68e8f fix warnings
6a7ed226a fix script
4a59883fe restore normal (new) logging
bc23773ff remove gnu def
63e43a0d3 add toxav logging fixes
cafe65a96 toxav logging via tox public API
78dfe74c0 run script
6abca2669 add local script for bazel build
69bf17844 try to fix bazel build
e109cc9d3 fix cannot convert from 'pthread_t' to 'int32_t' on windows
eaa163457 fix macro not used
0d131fb5e fix the hack, make it a bit less hacky
729f5ec54 remove unused functions for now. fix later
6ec29b549 astyle formatting
6fedad32e add own stackstraces, NEVER EVER use this on any real tox instances!! NEVER EVER ever
9bb1a8571 add missing return() statement causing asan failures, fix a comment and also make something a bit clearer
76d7b3b59 add comment
f7da23cb9 install missing package
76e6eea26 show nicer TIDs on linux
508256c1d do NOT use recursive mutex in toxcore, and unlock mutex before calling toxcore callback functions.
9bd6ba5ac log pthread mutex lock and unlock
2f28b573c remove check for friend online which blocks itself
cd99c598f turn on experimental_thread_safety
f5d3e767b temporarily allow loggin with NULL logger object
b534b771b remove messenger references from bwcontroller.c bwcontroller.h
6aee63158 remove references to messenger in msi.c msi.h
351a0c035 remove messenger references from rtp.c rtp.h
2f83d5eae remove internal msi_packet stuff
1421105ee remove 1 last tox internal function call in toxav
d29273c44 remove connection_use_counter, which does not seem to make any sense without the mutex
f007b23c8 remove commented out mutex stuff
701e24f45 remove connections_mutex
b57671a2f remove tcp_mutex
1cca860f2 remove mutex, but only comment out for debugging. remove totally after we confirm stuff works
a365831fb fix typo in script again
a9b7e7874 fix typo inscript
6436fc238 show linenumbers with asan and tsan
f7c916d6e remove msi dependency
0b8015ae6 add local docker script for tsan compile
0037652ca fixes, and formatting
73819c8b0 fix more errors, remove Messenger from RTPSession, use toxav mono_time in rtp.c
d5bf347aa script to run asan compile locally in docker
ee2a13007 fix remaining clang warnings
0c9f377cd astyle formatting
1caa3cba3 fix more clang warnings
85c3f7656 fix clang errors
2a15bf77a astyle formatting
bede8249f remove more m_ and unused stuff
207cfe79d remove more unused stuff
e6fcc1938 disable logging for now
3b7649898 remove messenger
8ffd1e081 remove old functions now unused
9cfe5eac7 some attempts to fix compile
8f3587a33 make it compile and pass most tests (still a bit hacky!!)
8ced6302d remove logging with msi (it's ToxAV stuff)
00c2d4b2b pin numbers
c1078ff5e formatting
009229288 activate lossless_packethandler again
f85c6afc4 put the void* at the end of Tox struct, otherwise mono_time crashes somewhere
a7ad1c174 apidsl
29ca09dac store ToxAV object in toxcore and retrieve in rtp.c
085f09c95 allow saving of ToxAV object in toxcore
286ca2bc9 astyle formatting and apidsl
8a3f47a97 change more custom packet stuff
2d3ad78cb convert 2 log warnings to debug. they seems to be useless and appear very often
6664ce4b7 fix callbacks
1df0d0bd4 nullptr
a4da4e536 disconnect custom ToxAV callback handlers
6c5476a0c allow to send all custom lossy packet IDs
3bacafe33 fix the comment to make sense
b94441b85 fix apidsl description
d888abf10 put custom callback function into C def section
fc5add90f put new callback into aipdsl definition file
4201b5546 store 256 values in the array
ef219cb41 astyle formatting
ecbf4f6f2 remove old callback var
78f00c215 register custom lossy packet per packet ID
REVERT: 67badf694 feat: add ngc events

git-subtree-dir: external/toxcore/c-toxcore
git-subtree-split: a7e40cb3763c9697f3d41d64e6f3ff113b788da1
@iphydf iphydf added this to the v0.2.19 milestone Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants