Commit Graph
100 Commits
Author SHA1 Message Date
dijunkun bacf62c6b8 [feat] add rtcp packet module 2024-12-11 17:34:51 +08:00
dijunkun b29f3de868 [feat] SSRC supported for RTP packets 2024-12-09 17:08:22 +08:00
dijunkun 2cb92ddd72 [feat] add rtcp thread in rtp video receiver 2024-12-06 17:26:52 +08:00
dijunkun 348df6a4bf [fix] fix loss rate calculation 2024-12-04 23:33:11 +08:00
dijunkun 6e3c8c488d [feat] add user id in NetStatusReport 2024-12-03 17:20:31 +08:00
dijunkun 49d6307154 [fix] fix loss rate calculation 2024-12-01 17:00:20 +08:00
dijunkun b0fdcd9193 [fix] fix loss rate calculation 2024-11-29 18:20:26 +08:00
dijunkun daef6f19dc [feat] use the io statistics module to collect network information 2024-11-29 17:53:30 +08:00
dijunkun 11d84068a4 [fix] start to send data only when ice status turns to READY 2024-11-28 18:26:00 +08:00
dijunkun 21737c354a [fix] fix crash: ice worker still has IceWorkMsg::Type::Destroy msg which has not been processed when try to stop ice worker 2024-11-27 22:15:45 +08:00
dijunkun 1b7c8905b7 [fix] fix all unused variables and type conversions on MacOSX 2024-11-27 10:56:43 +08:00
dijunkun 826fc2d312 [fix] fix all unused variables and type conversions 2024-11-26 23:30:38 +08:00
dijunkun 7e3856a68d [fix] fix unused variables and type conversions 2024-11-26 17:31:16 +08:00
dijunkun 8d56a76844 [feat] rewrite log module 2024-11-26 16:03:08 +08:00
dijunkun 09c0ab9235 [fix] move codecs from pc into transmission module 2024-11-26 15:06:05 +08:00
dijunkun 98c6501846 [feat] enable to save ice io stream into local files 2024-11-26 00:57:07 +08:00
dijunkun 38fabc9741 [fix] fix the user id of net traffic stats 2024-11-19 20:04:27 +08:00
dijunkun c5c85f0785 [feat] net traffic stats supported 2024-11-18 17:32:42 +08:00
dijunkun 9d2e6f0c2a [fix] fix ice status error during closing ice connection 2024-10-30 17:11:35 +08:00
dijunkun 35d4f522c5 [fix] stop threads when DestroyIceTransmission() called 2024-10-18 17:15:33 +08:00
dijunkun 30c167e6cc [fix] use reliable ice by default 2024-10-16 15:27:21 +08:00
dijunkun b10e41ccab [fix] fix the function which converts yuv420p into nv12 2024-10-16 09:48:33 +08:00
dijunkun 6e622b4ab2 [fix] find out dav1d decode error 2024-10-15 17:36:18 +08:00
dijunkun 9a6def32fd [fix] fix av1 rtp packetizer 2024-10-15 10:29:18 +08:00
dijunkun c13cffb58e [fix] fix OBU_TEMPORAL_DELIMITER and OBU_SEQUENCE_HEADER obu data building 2024-10-14 17:31:08 +08:00
dijunkun 6bda59b1a7 [fix] obu data corrupted after transmission 2024-10-12 17:30:29 +08:00
dijunkun 1407f67d3c [fix] try to fix av1 packets parsering 2024-09-29 17:23:59 +08:00
dijunkun 7388a2c288 [fix] update obu parser 2024-09-27 17:30:24 +08:00
dijunkun 2740f31642 [feat] add aom av1 decoder implementation 2024-09-27 17:29:47 +08:00
dijunkun bbd60570a1 [fix] packetize kObuTypeTemporalDelimiter obu into rtp packets 2024-09-24 16:45:26 +08:00
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
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