Commit Graph

348 Commits

Author SHA1 Message Date
dijunkun
aa1bc1a936 [fix] fix the issue where created video codec is different from the one negotiated 2024-09-23 14:31:07 +08:00
dijunkun
c7b934026b [feat] support getting codec name 2024-09-23 14:14:45 +08:00
dijunkun
5eb455b6c8 [feat] support using negotiated sdp to create media codecs 2024-09-23 11:13:53 +08:00
dijunkun
f48e5a7350 [fix] fix capabilities negotiation 2024-09-20 17:30:45 +08:00
dijunkun
8083d4b4c9 [fix] fix audio payload type parsing 2024-09-19 17:32:33 +08:00
dijunkun
9d2e122fcc [fix] fix the issue where the media payload type parsing failed 2024-09-19 16:41:06 +08:00
dijunkun
f4cf4d826b [feat] support multiple streams in sdp 2024-09-19 16:18:14 +08:00
dijunkun
e48b29a2c8 [feat] implentation for negotiation module 2024-09-18 17:29:30 +08:00
dijunkun
0e3da6daf8 [fix] reset openh264 target bitrate 2024-09-18 09:46:45 +08:00
dijunkun
a0bccfe53d [fix] increase the default size of the RingBuffer to 1280 to prevent handling overly large encoded video frame 2024-09-13 22:00:47 +08:00
dijunkun
c67ce332f6 [fix] add rtp header version checker 2024-09-13 00:33:07 +08:00
dijunkun
bbd05bcb8d [fix] fix crash due to accessing to invalid virtual function 2024-09-10 22:32:59 +08:00
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