/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_RANDOM_H_
#define MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_RANDOM_H_
// This file contains a set of packets masks for the FEC code. The masks in
// this table are specifically designed to favor recovery to random loss.
// These packet masks are defined to protect up to maximum of 48 media packets.
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace fec_private_tables {
const uint8_t kMaskRandom10_1[2] = {
0xff, 0xc0
};
const uint8_t kMaskRandom10_10[20] = {
0x4c, 0x00,
0x51, 0x00,
0xa0, 0x40,
0x04, 0xc0,
0x03, 0x80,
0x86, 0x00,
0x29, 0x00,
0x42, 0x40,
0x98, 0x00,
0x30, 0x80
};
const uint8_t kMaskRandom10_2[4] = {
0xaa, 0x80,
0xd5, 0x40
};
const uint8_t kMaskRandom10_3[6] = {
0xa4, 0x40,
0xc9, 0x00,
0x52, 0x80
};
const uint8_t kMaskRandom10_4[8] = {
0xca, 0x00,
0x32, 0x80,
0xa1, 0x40,
0x55, 0x00
};
const uint8_t kMaskRandom10_5[10] = {
0xca, 0x00,
0x32, 0x80,
0xa1, 0x40,
0x55, 0x00,
0x08, 0xc0
};
const uint8_t kMaskRandom10_6[12] = {
0x0e, 0x00,
0x33, 0x00,
0x10, 0xc0,
0x45, 0x40,
0x88, 0x80,
0xe0, 0x00
};
const uint8_t kMaskRandom10_7[14] = {
0x46, 0x00,
0x33, 0x00,
0x80, 0xc0,
0x0c, 0x40,
0x28, 0x80,
0x94, 0x00,
0xc1, 0x00
};
const uint8_t kMaskRandom10_8[16] = {
0x2c, 0x00,
0x81, 0x80,
0xa0, 0x40,
0x05, 0x40,
0x18, 0x80,
0xc2, 0x00,
0x22, 0x80,
0x50, 0x40
};
const uint8_t kMaskRandom10_9[18] = {
0x4c, 0x00,
0x23, 0x00,
0x88, 0xc0,
0x21, 0x40,
0x52, 0x80,
0x94, 0x00,
0x26, 0x00,
0x48, 0x40,
0x91, 0x80
};
const uint8_t kMaskRandom11_1[2] = {
0xff, 0xe0
};
const uint8_t kMaskRandom11_10[20] = {
0x64, 0x40,
0x51, 0x40,
0xa9, 0x00,
0x04, 0xc0,
0xd0, 0x00,
0x82, 0x40,
0x21, 0x20,
0x0c, 0x20,
0x4a, 0x00,
0x12, 0xa0
};
const uint8_t kMaskRandom11_11[22] = {
0x46, 0x40,
0x33, 0x20,
0x99, 0x00,
0x05, 0x80,
0x80, 0xa0,
0x84, 0x40,
0x40, 0x60,
0x0a, 0x80,
0x68, 0x00,
0x10, 0x20,
0x30, 0x40
};
const uint8_t kMaskRandom11_2[4] = {
0xec, 0xc0,
0x9b, 0xa0
};
const uint8_t kMaskRandom11_3[6] = {
0xca, 0xc0,
0xf1, 0x40,
0xb6, 0x20
};
const uint8_t kMaskRandom11_4[8] = {
0xc4, 0xc0,
0x31, 0x60,
0x4b, 0x20,
0x2c, 0xa0
};
const uint8_t kMaskRandom11_5[10] = {
0x86, 0x80,
0x23, 0x20,
0x16, 0x20,
0x4c, 0x20,
0x41, 0xc0
};
const uint8_t kMaskRandom11_6[12] = {
0x64, 0x40,
0x51, 0x40,
0x0c, 0xa0,
0xa1, 0x20,
0x12, 0xa0,
0x8a, 0x40
};
const uint8_t kMaskRandom11_7[14] = {
0x46, 0x40,
0x33, 0x20,
0x91, 0x80,
0xa4, 0x20,
0x50, 0xa0,
0x84, 0xc0,
0x09, 0x60
};
const uint8_t kMaskRandom11_8[16] = {
0x0c, 0x80,
0x80, 0x60,
0xa0, 0x80,
0x05, 0x40,
0x43, 0x00,
0x1a, 0x00,
0x60, 0x20,
0x14, 0x20
};
const uint8_t kMaskRandom11_9[18] = {
0x46, 0x40,
0x62, 0x60,
0x8c, 0x00,
0x01, 0x60,
0x07, 0x80,
0xa0, 0x80,
0x18, 0xa0,
0x91, 0x00,
0x78, 0x00
};
const uint8_t kMaskRandom12_1[2] = {
0xff, 0xf0
};
const uint8_t kMaskRandom12_10[20] = {
0x51, 0x40,
0x45, 0x10,
0x80, 0xd0,
0x24, 0x20,
0x0a, 0x20,
0x00, 0xe0,
0xb8, 0x00,
0x09, 0x10,
0x56, 0x00,
0xa2, 0x80
};
const uint8_t kMaskRandom12_11[22] = {
0x53, 0x60,
0x21, 0x30,
0x10, 0x90,
0x00, 0x70,
0x0c, 0x10,
0x40, 0xc0,
0x6a, 0x00,
0x86, 0x00,
0x24, 0x80,
0x89, 0x00,
0xc0, 0x20
};
const uint8_t kMaskRandom12_12[24] = {
0x10, 0x60,
0x02, 0x30,
0x40, 0x50,
0x21, 0x80,
0x81, 0x10,
0x14, 0x80,
0x98, 0x00,
0x08, 0x90,
0x62, 0x00,
0x24, 0x20,
0x8a, 0x00,
0x84, 0x40
};
const uint8_t kMaskRandom12_2[4] = {
0xec, 0xc0,
0x93, 0xb0
};
const uint8_t kMaskRandom12_3[6] = {
0x9b, 0x80,
0x4f, 0x10,
0x3c, 0x60
};
const uint8_t kMaskRandom12_4[8] = {
0x8b, 0x20,
0x14, 0xb0,
0x22, 0xd0,
0x45, 0x50
};
const uint8_t kMaskRandom12_5[10] = {
0x53, 0x60,
0x64, 0x20,
0x0c, 0xc0,
0x82, 0xa0,
0x09, 0x30
};
const uint8_t kMaskRandom12_6[12] = {
0x51, 0x40,
0xc5, 0x10,
0x21, 0x80,
0x12, 0x30,
0x08, 0xe0,
0x2e, 0x00
};
const uint8_t kMaskRandom12_7[14] = {
0x53, 0x60,
0x21, 0x30,
0x90, 0x90,
0x02, 0x50,
0x06, 0xa0,
0x2c, 0x00,
0x88, 0x60
};
const uint8_t kMaskRandom12_8[16] = {
0x20, 0x60,
0x80, 0x30,
0x42, 0x40,
0x01, 0x90,
0x14, 0x10,
0x0a, 0x80,
0x38, 0x00,
0xc5, 0x00
};
const uint8_t kMaskRandom12_9[18] = {
0x53, 0x60,
0xe4, 0x20,
0x24, 0x40,
0xa1, 0x10,
0x18, 0x30,
0x03, 0x90,
0x8a, 0x10,
0x04, 0x90,
0x00, 0xe0
};
const uint8_t kMaskRandom13_1[2] = {
0xff, 0xf8
};
const uint8_t kMaskRandom13_10[20] = {
0xd1, 0x00,
0x44, 0x50,
0x10, 0x98,
0xa0, 0x50,
0x4a, 0x08,
0x40, 0x30,
0x80, 0x28,
0x0c, 0x90,
0x05, 0x88,
0x62, 0x20
};
const uint8_t kMaskRandom13_11[22] = {
0x51, 0x20,
0x22, 0x10,
0x13, 0x40,
0x25, 0x00,
0x18, 0x18,
0x0a, 0x20,
0x88, 0x88,
0x06, 0x80,
0xe0, 0x20,
0x84, 0x40,
0x44, 0x18
};
const uint8_t kMaskRandom13_12[24] = {
0x28, 0x28,
0x84, 0x50,
0x60, 0x40,
0x05, 0x48,
0x02, 0x98,
0x01, 0x30,
0x48, 0x10,
0x24, 0x80,
0x94, 0x00,
0x8a, 0x00,
0x11, 0x80,
0x52, 0x20
};
const uint8_t kMaskRandom13_13[26] = {
0x51, 0x20,
0x66, 0x40,
0x05, 0x48,
0x81, 0x20,
0x94, 0x00,
0x30, 0x80,
0x21, 0x10,
0x03, 0xc0,
0xe8, 0x00,
0x0a, 0x10,
0x80, 0x18,
0x04, 0x90,
0x08, 0xa8
};
const uint8_t kMaskRandom13_2[4] = {
0xec, 0xc0,
0x1b, 0x38
};
const uint8_t kMaskRandom13_3[6] = {
0x99, 0xb0,
0x46, 0xd8,
0x37, 0x28
};
const uint8_t kMaskRandom13_4[8] = {
0x49, 0xb0,
0x26, 0xd0,
0x85, 0x68,
0x52, 0x58
};
const uint8_t kMaskRandom13_5[10] = {
0x51, 0x30,
0x66, 0x40,
0x0c, 0x68,
0xa1, 0xc0,
0x22, 0x98
};
const uint8_t kMaskRandom13_6[12] = {
0xd1, 0x20,
0x46, 0xd0,
0x15, 0x48,
0x21, 0x70,
0x28, 0xc8,
0xaa, 0x20
};
const uint8_t kMaskRandom13_7[14] = {
0x59, 0x20,
0x26, 0x50,
0xb1, 0x40,
0x2b, 0x08,
0x14, 0xc8,
0xc8, 0x88,
0x84, 0xb0
};
const uint8_t kMaskRandom13_8[16] = {
0x80, 0xa8,
0x30, 0x90,
0x16, 0x08,
0x03, 0x30,
0x44, 0x60,
0x08, 0x18,
0xd8, 0x00,
0xa1, 0x40
};
const uint8_t kMaskRandom13_9[18] = {
0x59, 0x20,
0x66, 0x40,
0x14, 0x40,
0x21, 0x48,
0x02, 0xc8,
0x94, 0x10,
0x80, 0xa8,
0x0a, 0x90,
0x40, 0x18
};
const uint8_t kMaskRandom14_1[2] = {
0xff, 0xfc
};
const uint8_t kMaskRandom14_10[20] = {
0xc0, 0xd4,
0x1d, 0x40,
0xd4, 0x08,
0x02, 0x60,
0x04, 0x28,
0x20, 0x98,
0x40, 0x44,
0x08, 0x84,
0x68, 0x00,
0x23, 0x10
};
const uint8_t kMaskRandom14_11[22] = {
0x62, 0xd0,
0x35, 0x20,
0x14, 0x14,
0xc5, 0x08,
0x22, 0x0c,
0x88, 0xb8,
0x42, 0x54,
0x28, 0xa4,
0x94, 0x20,
0x1b, 0x04,
0x22, 0xc0
};
const uint8_t kMaskRandom14_12[24] = {
0x81, 0x04,
0x40, 0x68,
0x90, 0x24,
0x28, 0x28,
0x52, 0x10,
0x41, 0x88,
0x09, 0x30,
0x48, 0x44,
0x04, 0x44,
0x0e, 0x80,
0xa5, 0x90,
0x12, 0x0c
};
const uint8_t kMaskRandom14_13[26] = {
0x62, 0x54,
0x34, 0x60,
0x48, 0x04,
0x00, 0xac,
0x28, 0x08,
0x81, 0x08,
0x23, 0x04,
0x06, 0x80,
0x80, 0x14,
0x30, 0x10,
0x8c, 0x20,
0x54, 0x00,
0x80, 0xc0
};
const uint8_t kMaskRandom14_14[28] = {
0x40, 0x54,
0x15, 0x40,
0xc0, 0x04,
0x28, 0x10,
0x05, 0x0c,
0x64, 0x80,
0x81, 0x80,
0x10, 0x98,
0x84, 0x20,
0x12, 0x30,
0x62, 0x00,
0x28, 0x60,
0x0e, 0x08,
0x10, 0x84
};
const uint8_t kMaskRandom14_2[4] = {
0xec, 0xe8,
0x3b, 0x9c
};
const uint8_t kMaskRa
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【项目资源】: 包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。 包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。 【项目质量】: 所有源码都经过严格测试,可以直接运行。 功能在确认正常工作后才上传。 【适用人群】: 适用于希望学习不同技术领域的小白或进阶学习者。 可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。 【附加价值】: 项目具有较高的学习借鉴价值,也可直接拿来修改复刻。 对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。 【沟通交流】: 有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。 鼓励下载和使用,并欢迎大家互相学习,共同进步。
资源推荐
资源详情
资源评论
收起资源包目录
毕设&课设&项目&实训-基于 WebRtc C++ API 开发学习.zip (2000个子文件)
TcpServer.cpp 3KB
UdpServer.cpp 2KB
client.cpp 2KB
main.cpp 162B
fec_private_tables_random.h 784KB
rtc_event_log2.pb.h 395KB
rtc_event_log2.pb.h 395KB
rtc_event_log2.pb.h 395KB
rtc_event_log2.pb.h 395KB
rtc_event_log.pb.h 226KB
rtc_event_log.pb.h 226KB
rtc_event_log.pb.h 226KB
rtc_event_log.pb.h 226KB
config.pb.h 115KB
config.pb.h 115KB
config.pb.h 115KB
config.pb.h 115KB
syscall_map.h 103KB
debug.pb.h 86KB
debug.pb.h 86KB
debug.pb.h 86KB
debug.pb.h 86KB
peerconnectioninterface.h 63KB
signal_processing_library.h 58KB
windows_private.h 50KB
benchmark.h 48KB
math.h 47KB
audio_processing.h 46KB
peerconnection.h 45KB
debug_dump.pb.h 39KB
debug_dump.pb.h 39KB
debug_dump.pb.h 39KB
debug_dump.pb.h 39KB
time.h 37KB
videoengine_unittest.h 35KB
simulcast_test_utility.h 34KB
chart.pb.h 34KB
chart.pb.h 34KB
chart.pb.h 34KB
chart.pb.h 34KB
fec_rate_table.h 34KB
fakemediaengine.h 31KB
audio_coding_module.h 30KB
mediachannel.h 30KB
color_space_data.h 27KB
channel.h 26KB
isac.h 25KB
isacfix.h 22KB
rtpparameters.h 22KB
string_util.h 21KB
proxy.h 21KB
webrtcvideoengine.h 21KB
libunwind.h 20KB
rtp_rtcp_defines.h 20KB
map_allocator_requirement_test_templates.h 20KB
audio_processing_impl.h 19KB
compact_unwind_encoding.h 19KB
functions.h 19KB
skia_image_filter_proto_converter.h 18KB
rtp_rtcp.h 18KB
neteq_impl.h 18KB
rtcstats_objects.h 17KB
parse_tree.h 17KB
sessiondescription.h 17KB
container_test_types.h 17KB
string_piece.h 17KB
forward_error_correction.h 17KB
test_iterators.h 17KB
video_coding.h 16KB
invoke_helpers.h 16KB
scope.h 16KB
statstypes.h 16KB
mockpeerconnectionobservers.h 15KB
aecm_core.h 15KB
opus_interface.h 15KB
bwe_test_logging.h 15KB
jitter_buffer.h 15KB
target.h 15KB
foundation_util.h 15KB
mediasession.h 14KB
channel.h 14KB
audio_device_template.h 14KB
entropy_coding.h 14KB
optional.h 14KB
assembler.h 14KB
xcode_object.h 14KB
bwe_test_framework.h 14KB
structs.h 13KB
transportcontroller.h 13KB
network_units.h 13KB
neteq.h 13KB
rtcstats.h 13KB
unwind.h 13KB
fakepeerconnectionforstats.h 13KB
test_allocator.h 13KB
audio_device_ios.h 13KB
byte_io.h 13KB
filesystem_utils.h 12KB
rtp_sender.h 12KB
audio_device_pulse_linux.h 12KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
妄北y
- 粉丝: 1w+
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功