1、ORTP库概览
(1)库本身没有main,提供一堆功能函数,都在src目录下
(2)库的使用给了案例,有main,在src/tests目录下
(3)相关数据结构和头文件在include/ortp目录下
(4)ortp实现了rtp和rtcp协议,前者负责传输,后者负责控制和同步协调
2、ORTP库的使用案例
(1)src/tests/rtpsend.c
(2)ortp_init及av_profile_init
(3)ortp_scheduler_init和ORTP调度器:一个任务中完成多个会话的发送和接收,类似于select
(4)rtp_session_new...
Ortp, 开源阅读全文
PROJECT(usocket)
cmake_minimum_required(VERSION 2.6)
set(CMAKE_CXX_COMPILER "g++")
SET(LIB_SRC
./src/socket.c
./src/eventing/libuv.c
./src/eventing/epoll_kqueue.c
./src/eventing/gcd.c
./src/crypto/wolfssl.c
./src/crypto/openssl.c
&...
uSockets, uWebSockets阅读全文
void *us_loop_ext(struct us_loop_t *loop) {
return loop + 1;
}
void *us_socket_ext(int ssl, struct us_socket_t *s) {
#ifndef LIBUS_NO_SSL
if (ssl) {
return us_internal_ssl_socket_ext((struct us_internal_ssl_socket_t *) s);
}
#endif
return s + 1;
}
void *us_i...
uSockets, uWebSockets, 网络编程阅读全文
uSockets主要数据结构:
struct us_poll_t {
uv_poll_t uv_p;
LIBUS_SOCKET_DESCRIPTOR fd;//这个其实就是把平台摸平了的fd
unsigned char poll_type;
};
/* Internal callback types are polls just like sockets */
struct us_internal_callback_t {
alignas(LIBUS_EXT_ALIGNMENT) struct us_poll_t p;
struct us...
uSockets, uWebSockets, 网络编程阅读全文
最近在学习websockets的库,cpp主要有三个,websocketpp/libwebsockets/uwebsockets.看了一下简单明了的就是uWebSockets了,但是这个代码写的确实有点抽象。。。不太像我的风格。websocketpp要boost,有点巨大,不想用,libwebsockets虽然是c的,但是它的samples写的太磋,不太想用。纠结来纠结去还是用uWebSockets了,网址:https://github.com/uNetworking/uWebSockets uWebSockets依赖uSockets: https://github...
uSockets, uWebSockets, 网络编程阅读全文
Intel 4004 (1971)
Intel 8008 (1972)
Intel 8080 (1974)
Intel 8085 (1976)
Intel 8086 (1978)
Intel 8088 (1979)
Intel 80286 (1982)
Intel i80386 (1985)
Intel i80486 (1989)
Intel Pentium (1993)
Intel Pentium MMX (1997)
Intel Pentium Pro (1995)
Intel Pentium Ⅱ (1997)
Intel Celeron (1998)
Intel Xeon (1998)
Intel Pentium Ⅲ (1...
历程, 处理器阅读全文