原创 -L -Wl,-rpath-link -Wl,-rpath區別精講

目錄 前言 源碼準備 源碼內容 嘗試編譯,保證源碼沒有問題 編譯 首先編譯world.c 編譯並鏈接hello.c 調試編譯test.c 結論   前言 關於gcc這三個參數,參考了諸多文檔後,仍然理解上有偏差,仿照下面博客中的方法,

原创 解決git clone完成後提示error: RPC failed curl 56 GnuTLS recv error (-9)

錯誤提示 remote: Enumerating objects: 9817, done. error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unex

原创 C++關鍵字之using的的用法總結

1)配合命名空間,對命名空間權限進行管理 using namespace std;//釋放整個命名空間到當前作用域 using std::cout; //釋放某個變量到當前作用域 2)類型重命名 作用等同typedef,但是邏輯

原创 Linux平臺webrtc源碼下載和編譯

先安裝depot_tools,這裏略去。 1、mkdir webrtc && cd webrtc 2、fetch --nohooks webrtc 3、gclient sync 4、./build/install-build-deps.s

原创 webrtc中的AsyncResolver使用

連接遠程服務時,如果沒有直接提供ip,只有域名,就需要使用gethostbyname或者getaddrinfo來解析出ip地址,這一過程需要dns訪問,是阻塞的。在webrtc的例子peer_connection_client.cc代碼中

原创 linux中c++頭文件在哪

位於/usr/include/c++/目錄下,有幾個子目錄,代表不同的版本。

原创 How to install Janus Gateway in Ubuntu Server 18.04

On these days, i was hired as freelancer to configure a self hosted WebRTC server and between Jitsi, Janus and Kurento,

原创 How to use and build autotrace from source in Ubuntu 18.04

    AutoTrace is a utility for converting bitmap into vector graphics. AutoTrace can be compiled standalone, then it c

原创 linux幾種配置文件

1. /etc/profile 影響所有用戶,登錄時被執行一次。 2. ~/.bashrc 影響當前用戶,打開shell時被讀取。 3. ~/.bash_profile 影響當前用戶,登錄時被執行一次。 ubuntu和debian沒有這個

原创 How to prevent connections from closing after a while in PuTTY

  How to prevent connections from closing after a while in PuTTY As someone that has to code on a project, then update

原创 ‘struct lws_context_creation_info’ has no member named ‘ws_ping_pong_interval’

原文標題爲:How to solve Janus Gateway Build error: ‘struct lws_context_creation_info’ has no member named ‘ws_ping_pong_inte

原创 高級輪詢技術——/dev/poll接口與kqueue

寫在轉載之前的: 在nginx源碼src/event/ngx_event.h中涉及了好幾種網絡模型: windows select windows IOCP select poll epoll devpoll kqueue eventpo

原创 sigslot - WebRTC中的事件處理機制

寫在轉載之前的: webrtc的源碼中用到了sigslot機制,可以看看webrtc/examples/peerconnection/client/中的peer_connection_client.cc和peer_connection_c

原创 通信汽車領域的一些名詞術語的全稱

我們經常會看到聽到一些流行詞彙,也許並不清楚其全名是什麼。 GSM(Global system for mobile),2G UMTS(Universal mobile telecommunication system),3G LTE(L

原创 3GPP是個什麼組織 爲啥5G標準離不開它

3GPP一直以來在人們心中是一個神祕的組織,很多用戶對於它的理解和認知,說不清,道不明。最近關於5G網絡的諸多報道,都陳述了“5G網絡”的標準是由“3GPP”來規定的,那麼它到底是個怎樣的組織?我也不賣關子了,一同揭曉它神祕的面紗。