Commit Graph

236 Commits

Author SHA1 Message Date
dijunkun
a8333c622b [fix] fix nvidia encoder crash during reconfigure the resolution 2024-09-10 17:32:43 +08:00
dijunkun
2f16d22ab7 [fix] fix openh264 encoder resolution change failed 2024-09-06 16:57:23 +08:00
dijunkun
255ef0edec [feat] openh264 encoder and dav1d decoder support dynamic resolution 2024-09-06 13:05:57 +08:00
dijunkun
c477643aed [feat] support dynamic resolution codec 2024-09-05 17:28:58 +08:00
dijunkun
c0c2b18b8b [feat] add statistics module 2024-09-04 17:31:08 +08:00
dijunkun
d285d7971a [fix] fix crash when signal server close the connection actively 2024-09-04 17:03:09 +08:00
dijunkun
d78dc4585f [feat] enable TURN for answer peer by default 2024-09-03 10:43:13 +08:00
dijunkun
fd392922d7 [fix] only offer peer use use id list to create ice agent 2024-09-02 16:54:29 +08:00
dijunkun
98bd477af5 [fix] solve deadlock caused by destroy ice agent 2024-09-02 16:31:33 +08:00
dijunkun
0b11646619 [feat] put ice agent into ice worker thread and use message queue to handle events 2024-08-28 17:30:34 +08:00
dijunkun
0b0e61cdc4 [feat] add config param to control use TURN or not 2024-08-27 17:05:41 +08:00
dijunkun
35f26283de [fix] change video receiver check compelete frame frequency 2024-08-21 17:10:18 +08:00
dijunkun
6ae12771c2 [fix] check the return value is DAV1D_ERR(EAGAIN) or not for method dav1d_get_picture() and dav1d_send_data() 2024-08-20 17:09:55 +08:00
dijunkun
949aa804e7 [fix] set g_threads = 8 and AOME_SET_CPUUSED = 10 for av1 encoder 2024-08-20 16:46:40 +08:00
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