Commit Graph

222 Commits

Author SHA1 Message Date
dijunkun
5536311920 [fix] use 'CAMERA_VIDEO_REAL_TIME' instead of 'SCREEN_CONTENT_REAL_TIME' for openh264 encoder because the latter will cause slow encoding 2024-08-20 16:11:22 +08:00
dijunkun
e9be021c0f [fix] allow data sending once ice connected 2024-08-20 10:20:53 +08:00
dijunkun
4eac29b6de [fix] remove libyuv shared library (*.dylib) on MacOSX 2024-08-16 17:17:12 +08:00
dijunkun
61b57dd3fe [fix] fix codec creating on MacOSX 2024-08-16 15:37:35 +08:00
dijunkun
d6599abf81 [fix] fix DestroyPeer() method object delete 2024-08-14 16:37:54 +08:00
dijunkun
c056bb6f7d [fix] fix websocket ping thread blocking main thread during program exit 2024-08-14 16:36:32 +08:00
dijunkun
5f8e60d1c8 [fix] fix compile error on MacOSX 2024-08-13 16:45:13 +08:00
dijunkun
e2e053a285 [fix] release NvCodec DLL only when loaded success 2024-08-13 16:29:37 +08:00
dijunkun
4624d4f27f [fix] fix load NvCodec API failed on Windows 2024-08-13 16:10:00 +08:00
dijunkun
9e30203e90 [fix] fix crash due to codec init failed 2024-08-13 11:13:29 +08:00
dijunkun
f02286365c [fix] use dynamic DLL loading for cuda library 2024-08-12 17:26:51 +08:00
dijunkun
1626b482de [fix] fix send error when ice state change from ready to connected 2024-08-09 16:53:48 +08:00
dijunkun
10cb335779 [feat] use trickle ice by default 2024-08-09 10:43:26 +08:00
dijunkun
911f209fda [fix] use proper std::chrono clock 2024-08-09 10:23:21 +08:00
dijunkun
a308094fbd [feat] add Login() private method which uses to check/request use_id when websocket opened 2024-08-08 15:13:38 +08:00
dijunkun
dd8ab05d0f [feat] LeaveConnection() method needs to specific which transmission wants to leave 2024-08-07 17:32:22 +08:00
dijunkun
8dc96eeb4c [fix] fix crash due to empty pointer 2024-08-06 17:31:29 +08:00
dijunkun
3453d4e0c4 [feat] Use server to generate transmission id and client id 2024-08-06 17:26:46 +08:00
dijunkun
0edeec3d16 [fix] fix crash due to yuv420p convert to nv12 2024-08-02 16:13:49 +08:00
dijunkun
66fc4d3f95 [feat] update dav1d to 1.4.3 2024-07-31 17:41:58 +08:00
dijunkun
54179722e5 [feat] add callback to notify the travsesal mode 2024-07-30 17:31:44 +08:00
dijunkun
af49ebe63d [feat] Support trickle ice 2024-07-29 16:47:51 +08:00
dijunkun
15419cc313 [feat] Implementation for trickle ice 2024-07-26 17:34:31 +08:00
dijunkun
e73f9b3457 Fix crash: send audio data when encoder has not inited yet 2024-07-24 16:11:40 +08:00
dijunkun
792a286899 Remove log.cpp 2024-07-17 14:44:18 +08:00
dijunkun
28fb35faf5 Check ice status by using ice_transmission::state_ instead of nice_agent_get_component_state() method 2024-06-14 13:43:21 +08:00
dijunkun
c575a9170c 1.Use std::move to initialize std::thread; 2.Fix thread cannot exit error 2024-06-13 15:46:05 +08:00
dijunkun
eee3b2a95e Do not request member list when host leaves 2024-06-07 16:21:15 +08:00
dijunkun
caba77765d Fix symbol export error 2024-06-06 15:22:34 +08:00
dijunkun
5e804349d9 Add destroy method for peer instance 2024-06-06 15:09:25 +08:00
dijunkun
460d644d64 Support read configure params from input directly 2024-06-04 17:38:23 +08:00
dijunkun
0adaf357ec Support user date in peer instance and callback functions 2024-05-30 17:26:49 +08:00
dijunkun
2c640db255 Allow connecting to itself 2024-05-30 16:08:21 +08:00
dijunkun
9122d0d15f Add default constructor and virtual destructor for interface class VideoDecoder 2024-05-28 16:38:36 +08:00
dijunkun
3ea4d0724d Specify the version of thirdparty libraries 2024-05-28 16:26:00 +08:00
dijunkun
5d6861233e Use self compilied openh264 instead of xmake-repo 2024-05-28 15:23:07 +08:00
dijunkun
28f9d9cfd6 Fix priority of '<<' and '+' 2024-05-28 09:57:07 +08:00
dijunkun
5deb52ce2d Update spdlog to v1.14.1 and fix compile error 2024-05-24 15:04:40 +08:00
dijunkun
a20927ec6c Fix libyuv build error 2024-05-24 15:03:30 +08:00
dijunkun
3fc8f9f616 Fix compile error on Linux platform and use c++ style header file(<cstddef> instead of <stddef.h>) 2024-05-23 15:04:18 +08:00
dijunkun
5decc4b007 Add description and version information for openfec package 2024-05-22 16:30:52 +08:00
dijunkun
fdb8819926 Use remote packages for aom and libyuv 2024-05-22 16:17:05 +08:00
dijunkun
c95a2a32dc 1.Not specify vcpkg::libnice version and it makes compiling process easier; 2.Remove ffmpeg from thirdparty 2024-05-22 14:04:43 +08:00
dijunkun
57ff14ada4 Remove dependency on FFmpeg 2024-05-17 17:55:25 +08:00
dijunkun
6df90ff55a Fix AV1 codec on MacOS 2024-05-10 14:44:34 +08:00
dijunkun
1439751ae3 Update config.ini 2024-05-09 17:01:19 +08:00
dijunkun
83861a8ba0 Fix H264 decode error due to sequence number checking 2024-05-09 17:00:21 +08:00
dijunkun
c8d21794f5 Remove the temporal delimiter OBU during transmition 2024-05-09 16:53:56 +08:00
dijunkun
6bc8aaabdc 1.Use libyuv instead of ffmpeg to do nv12<->yuv420p convertion;2.Use local package to build libyuv(branch stable 2021.4.28 commit eb6e7bb63738e29efd82ea3cf2a115238a89fa51) 2024-05-08 16:34:53 +08:00
dijunkun
e0d2ab5a9f Fix blurred screen caused by yuv to nv12 error 2024-05-08 14:27:57 +08:00