390 Commits

Author SHA1 Message Date
Paul-Louis Ageneau
6255ff1995 Check for PLOG_DEFAULT_INSTANCE_ID instead of PLOG 2021-06-11 07:52:37 +02:00
Paul-Louis Ageneau
d218e7923c Cleaned up std:: prefix where possible 2021-06-04 11:28:19 +02:00
Paul-Louis Ageneau
2d97cc18c6 Fixed removeSSRC() to update SSRC list in addition to attributes 2021-06-04 11:25:08 +02:00
Filip Klembara
39e51a8345 Rename bufferSize parameter to count 2021-06-01 11:28:44 +02:00
Filip Klembara
f4aae34874 Refactor rtcIsDataChannelOpen to rtcIsOpen 2021-06-01 11:28:15 +02:00
Filip Klembara
34469d16ae Add CName parsing from ssrc 2021-06-01 11:27:41 +02:00
Filip Klembara
c5e4b972c2 Improve capi for ssrc manipulation 2021-05-31 14:32:36 +02:00
Paul-Louis Ageneau
a152edf256 Merge pull request #429 from paullouisageneau/ostream-loglevel
Add ostream operator for LogLevel
2021-05-29 19:19:46 +02:00
Paul-Louis Ageneau
8f50eeb0f2 Added ostream operator for LogLevel 2021-05-29 19:12:57 +02:00
Paul-Louis Ageneau
05a37c8306 Allowed disabling delayed SACK from C API 2021-05-20 14:10:07 +02:00
Paul-Louis Ageneau
a9ca8b687b Exposed SCTP RTO and RTX settings 2021-05-20 14:06:44 +02:00
Paul-Louis Ageneau
c5cb81762c Added bindAddress configuration setting 2021-05-17 15:20:58 +02:00
Paul-Louis Ageneau
aea6708d27 Merge pull request #416 from paullouisageneau/cleanup-api
Refactor C media API
2021-04-29 17:12:37 +02:00
Paul-Louis Ageneau
2166386d42 Fixed comments 2021-04-29 16:07:04 +02:00
Paul-Louis Ageneau
ba7e0e2a35 Removed declarations of hasLocalDescription() and hasRemoteDescription() 2021-04-29 15:24:08 +02:00
Paul-Louis Ageneau
fba965b46c Fixed compilation without media 2021-04-28 21:36:36 +02:00
Paul-Louis Ageneau
eff0faf6e1 Refactored C media API 2021-04-27 22:58:46 +02:00
Paul-Louis Ageneau
cd68d1dba7 Use make_shared where possible 2021-04-26 22:34:06 +02:00
Paul-Louis Ageneau
07a5591cda Added comments for SCTP settings 2021-04-20 19:28:54 +02:00
Paul-Louis Ageneau
282ca48b12 Added max burst setting for SCTP 2021-04-20 19:28:54 +02:00
Billy Robert O'Neal III
a15b2ad468 Resolve use of deprecated ::result_type typedef.
Also adds #include <utility> since this file names std::move.

```
         D:\buildtrees\libdatachannel\src\v0.12.0-2d418b9dcd.clean\include\rtc\utils.hpp(35,23): error C4996: 'std::_Weak_result_type<std::_Is_memfunptr<void (__cdecl rtc::impl::PeerConnection::* )(std::weak_ptr<_Ty>)>,void>::result_type': warning STL4007: Many result_type typedefs and all argument_type, first_argument_type, and second_argument_type typedefs are deprecated in C++17. You can define _SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [D:\buildtrees\libdatachannel\x64-uwp-dbg\datachannel.vcxproj]
         D:\buildtrees\libdatachannel\src\v0.12.0-2d418b9dcd.clean\include\rtc\utils.hpp(35,23): error C4996: 'std::_Weak_result_type<std::_Is_memfunptr<void (__cdecl rtc::impl::PeerConnection::* )(rtc::Candidate)>,void>::result_type': warning STL4007: Many result_type typedefs and all argument_type, first_argument_type, and second_argument_type typedefs are deprecated in C++17. You can define _SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [D:\buildtrees\libdatachannel\x64-uwp-dbg\datachannel.vcxproj]
         D:\buildtrees\libdatachannel\src\v0.12.0-2d418b9dcd.clean\include\rtc\utils.hpp(35,23): error C4996: 'std::_Weak_result_type<std::_Is_memfunptr<bool (__cdecl rtc::impl::PeerConnection::* )(const std::string &) const>,void>::result_type': warning STL4007: Many result_type typedefs and all argument_type, first_argument_type, and second_argument_type typedefs are deprecated in C++17. You can define _SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [D:\buildtrees\libdatachannel\x64-uwp-dbg\datachannel.vcxproj]
         D:\buildtrees\libdatachannel\src\v0.12.0-2d418b9dcd.clean\include\rtc\utils.hpp(35,23): error C4996: 'std::_Weak_result_type<std::_Is_memfunptr<void (__cdecl rtc::impl::PeerConnection::* )(rtc::message_ptr)>,void>::result_type': warning STL4007: Many result_type typedefs and all argument_type, first_argument_type, and second_argument_type typedefs are deprecated in C++17. You can define _SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [D:\buildtrees\libdatachannel\x64-uwp-dbg\datachannel.vcxproj]
         D:\buildtrees\libdatachannel\src\v0.12.0-2d418b9dcd.clean\include\rtc\utils.hpp(35,23): error C4996: 'std::_Weak_result_type<std::_Is_memfunptr<void (__cdecl rtc::impl::PeerConnection::* )(uint16_t,size_t)>,void>::result_type': warning STL4007: Many result_type typedefs and all argument_type, first_argument_type, and second_argument_type typedefs are deprecated in C++17. You can define _SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [D:\buildtrees\libdatachannel\x64-uwp-dbg\datachannel.vcxproj]
```
2021-04-19 14:41:53 -07:00
Paul-Louis Ageneau
ae429410fe Introduced synchronized_stored_callback to support callbacks set after they are triggered 2021-04-15 22:21:24 +02:00
Paul-Louis Ageneau
0c882d074e Marked packetizers and RTCP handlers final 2021-04-13 23:03:16 +02:00
Paul-Louis Ageneau
4ca78db146 Reorganized stuff to make plog private 2021-04-13 23:03:16 +02:00
Paul-Louis Ageneau
d7261dd0ac Fixed example license headers in library 2021-04-13 22:57:48 +02:00
Paul-Louis Ageneau
0fddf50245 Reorganized includes to hide Init implementation 2021-04-12 22:12:10 +02:00
Paul-Louis Ageneau
251bfc7def Added SCTP settings API and enhanced integer conversions in SctpTransport 2021-04-12 19:11:53 +02:00
Paul-Louis Ageneau
9a7b672d6e Fixed htonll fallback implementation 2021-04-07 15:50:11 +02:00
Paul-Louis Ageneau
b2d9332fcd Added pending queue for incoming DataChannels and Tracks 2021-04-02 11:21:44 +02:00
Paul-Louis Ageneau
686b8c3aa5 Fixed generated application SDP entry with libnice 2021-03-31 21:34:57 +02:00
Paul-Louis Ageneau
77dc32da37 Added maxMessageSize configuration setting 2021-03-31 18:10:35 +02:00
Paul-Louis Ageneau
72eb478b0d Set default certificate type in Configuration 2021-03-22 21:14:27 +01:00
Paul-Louis Ageneau
fff1912d30 Added certificateType option to C API 2021-03-22 19:57:33 +01:00
Paul-Louis Ageneau
9b36ac3dd3 Implemented ECDSA certificates support and removed certificate cache 2021-03-22 19:05:43 +01:00
Paul-Louis Ageneau
a4ca6858a1 Merge branch 'master' into fix_typos 2021-03-16 20:29:14 +01:00
sam
b0e1a7989d Fix additional typos made by the previous typos 2021-03-15 22:09:21 -04:00
sam
f83a03fcad Fixed the description of SDPs 2021-03-15 19:31:47 -04:00
Paul-Louis Ageneau
30117bc3a3 Renamed Track::*RtcpHandler methods to Track::*MediaHandler 2021-03-03 12:25:43 +01:00
Paul-Louis Ageneau
767694a8b8 Use ptrs, optionals and variants from rtc namespace 2021-03-03 12:16:58 +01:00
Paul-Louis Ageneau
74f376e246 Added configuration flag to disable auto negotiation 2021-03-03 10:59:31 +01:00
Paul-Louis Ageneau
40a29fbd55 Removed addDataChannel method from API 2021-03-02 22:13:22 +01:00
Paul-Louis Ageneau
32c4427b96 Reorganized defines and added mtu option to C API 2021-03-02 16:25:05 +01:00
Paul-Louis Ageneau
b8adccc0ec Harmonized MTU with fragment size and set default MTU to 1280 2021-03-01 20:11:36 +01:00
Paul-Louis Ageneau
4dcd96d9d3 Fixed CheshireCat::operator=() 2021-02-28 18:09:06 +01:00
Paul-Louis Ageneau
3e9a769ca1 Made helper classes final 2021-02-28 17:18:02 +01:00
Paul-Louis Ageneau
3227d58e74 Moved Queue to impl 2021-02-28 17:14:45 +01:00
Paul-Louis Ageneau
d87be3dd8e Made pimpl objects movable but non-copyable 2021-02-28 14:56:22 +01:00
Paul-Louis Ageneau
dbee42b099 Renamed include.hpp to common.hpp 2021-02-28 14:56:21 +01:00
Paul-Louis Ageneau
54d0cb898d Split include.hpp 2021-02-28 14:32:59 +01:00
Paul-Louis Ageneau
dde79d78d4 Moved implementation away with pimpl aka cheshire cat pattern 2021-02-28 11:16:51 +01:00