summaryrefslogtreecommitdiff
path: root/toxav/rtp.h
AgeCommit message (Collapse)Author
2020-04-09Use public API for sending in RTP.zoff99
2020-03-14Fix up comments a bit to start being more uniform.iphydf
Tokstyle (check-cimple) will start enforcing comment formats at some point. It will not support arbitrary stuff in comments, and will parse them. The result can then be semantically analysed.
2020-03-14Use spdx license identifier instead of GPL blurb.iphydf
2018-09-14Standardise header guards.iphydf
Using the full path including the repo name.
2018-09-03Avoid use of global mutable state in mono_time on win32.iphydf
This uses a trick to get read-write access to `this` from a `const` member function, similar to C++ `mutable`, but uglier.
2018-08-19make Mono_Time an argument to current_time_monotoniczugz (tox)
2018-08-12Fix coding style in rtp module.iphydf
* Named callback types only. * No anonymous enums or structs. * `++i` instead of `i++`. * Don't use enums to specify integer constants. Enums should be enumerations. All values of an enum type should be listed[1]. [1] I don't know what to do about bit masks yet, but given that enums by C standard can only go up to 32767 portably and 2^31 in reality, they are probably not useful for 64 bit bit masks.
2018-08-12Fix enumerator names to comply with toxcore naming standards.iphydf
2018-06-24Add Logger to various net_crypto functions.iphydf
In preparation for adding log statements. Also, fix an uninitialised variable warning in cppcheck.
2018-02-11Improve video key frame sending.zoff99
This change does not include the addition of VP9. We do that in a separate pull request. Changes: * fix the video bug (video frames larger than 65KBytes) by sending full frame length in alternate header field * improve video frame reconstruction logic with slots * configure video encoder and decoder to be multihtreaded * set error resilience flags on video codec * change encoder and decoder softdeadline
2018-02-08Remove csrc from the RTPHeader struct.iphydf
This is not used by anything in the code, so we shouldn't have it in the header.
2018-02-01Manually serialise RTPHeader struct instead of memcpy.iphydf
2018-01-31Change the "capabilities" field to a "flags" field.iphydf
This is more appropriate for RTP headers. Capabilities may be negotiated up front, but flags are useful in each packet.
2018-01-29Add RTP header fields for the full frame length and offset.iphydf
This also adds RTPCapabilities and a header field to tell the receiver about capabilities used in encoding this frame. It is intended to contain settings relevant to the current frame being sent.
2018-01-25Rename some rtp header struct members to be clearer.iphydf
These are the names used in the next PR, in RTPHeaderV3, so here we rename the old struct members already.
2017-11-19Fix typoyangfl
2017-01-19Update license headers and remove redundant file name comment.iphydf
"All rights reserved" was incorrect. The project was licensed under GPL3, which means a lot of rights are licensed to everybody in the world, i.e. not reserved to the "Tox Project".
2016-11-20Fix NULL pointer dereference in log callsMaxim Biro
2016-09-13Add some astyle options to make it do more.iphydf
It now enforces a bit more formatting. In particular, padding inside parentheses is removed. I would like it to remove padding after unary operators, but there seems to be no option for that.
2016-09-13Group #include directives in 3-4 groups.iphydf
1. Current module (if C file). 2. Headers from current library. 3. Headers from other library (e.g. toxcore includes in toxav). 4. System headers.
2016-09-08Fix compilation for Windows.iphydf
- Mingw32 didn't read MSDN, so behaves badly despite lean and mean. - Avoid alignment issues on windows with packed bitfields in the RTP header. This change makes the program ill-formed in C99, but I don't know the correct fix at the moment, and I don't want to keep the Windows build broken for too long.
2016-09-06Improve C standard compliance.iphydf
- Don't cast between object and function pointers. - Use standard compliant `__VA_ARGS__` in macros. - Add explicit `__extension__` on unnamed union in struct (it's a GNU extension). - Remove ; after function definitions. - Replace `const T foo = 3;` for integral types `T` with `enum { foo = 3 };`. Folding integral constants like that as compile time constants is a GNU extension. Arrays allocated with `foo` as dimension are VLAs on strictly compliant C99 compilers. - Replace empty initialiser list `{}` with zero-initialiser-list `{0}`. The former is a GNU extension meaning the latter. - Cast `T*` (where `T != void`) to `void *` in format arguments. While any object pointer can be implicitly converted to and from `void *`, this conversion does not happen in variadic function calls. - Replace arithmetic on `void *` with arithmetic on `char *`. The former is non-compliant. - Replace non-`int`-derived types (like `uint16_t`, which is `short`-derived) in bit fields with `int`-derived types. Using any type other than `int` or `unsigned int` (or any of their aliases) in bit fields is a GNU extension.
2016-09-01Sort #includes in all source files.iphydf
2016-09-01Match parameter names in declarations with their definitions.iphydf
The parameter names were taken from function definitions to update the names in function declarations (prototypes).
2016-01-13Fix issue #1497Eniz Vukovic
2015-11-11fix BWController misspellingTibor Stolz
2015-10-26Fix possible misalignment of RTP headerEniz Vukovic
2015-10-10New Adaptive BR algorithm, cleanups and fixesEniz Vukovic
2015-08-09Updated with upstreammannol
2015-05-07Fixed inconsistenciesmannol
2015-04-29Donemannol
2015-04-27Almooooooostmannol
2015-04-26Almost donemannol
2015-04-22Finished refactoringmannol
2015-04-16The pretty basic adaptive bitrate is *working*mannol
2015-04-13Started custom RTCPmannol
2015-04-08Video works nowmannol
2015-04-07Video works but there is one deadlock left and video replay is slowmannol
2015-03-29A little CS cleanupmannol
2015-02-21New msi protocolmannol
2015-02-17Added 2 new headers into msi for buffer controlmannol
2015-02-16Fixed header protectors and cleaning up the msimannol
2015-02-01Progressmannol
2015-01-24Current progressmannol
2014-11-29More av cleanupmannol
2014-11-24Merge branch 'master' of https://github.com/mannol/toxcoreirungentoo
2014-11-18av refactormannol
2014-07-21Improved protocol and cleaned code a bitmannol
2014-07-05Make rtp & codec actions thread-safemannol
2014-06-28Removed redundant encryption and assertsmannol