logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

srs中 rtmp转rtc

pkt->header.set_timestamp(msg->timestamp*90);flv封装格式的time_base为{1,1000},ts封装格式的time_base为{1,90000}

C++中巧用#define访问类的私有成员

但是,这是一个非正规的手段,它将破坏类的所有封装性。而C++中的#define的存在也是为了跟C兼容。所以只有在非常特殊的情况下,才会用这种非正规方法访问类的私有或保护成员。我们知道,类的私有成员在类的外部是不能被访问的。但是,我们并不是没有办法来访问类的私有成员。

#c++#开发语言
基于 Linux 的网桥上的 ebtables/iptables 交互

ebtables/iptables interaction on a Linux-based bridge

#linux
89: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINV

在win10上使用vs2017编译之前的程序报错,解决方法如下:参考https://blog.csdn.net/ygzhong000/article/details/41750841请在stdafx.h头文件中添加以下行。#define WINVER 0x0602#define _WIN32_WINNT 0x0602...

error while loading shared libraries: libprotobuf.so.16: cannot open shared object file: No

./probe: error while loading shared libraries: libprotobuf.so.16: cannot open shared object file: No such file or directory报以上错误,vi /etc/ld.so.conf/usr/local/lib再执行ldconfig...

android使用iptables只允许某个package 网络访问

✅使用UID而不是包名:iptables基于UID过滤✅先设置严格默认策略:默认拒绝所有✅保障基本通信:回环接口和已建立连接✅允许系统必要服务:避免系统功能异常✅动态获取UID:避免应用更新后配置失效这种方法可以有效实现只允许特定应用访问网络的安全策略。

#android#网络
zookeeper etcd区别

‌ZooKeeper基于ZAB协议实现分布式协调,采用树形数据结构和临时节点特性,适合传统分布式系统;而etcd基于Raft协议,以高性能键值对存储为核心,专为云原生场景优化,是Kubernetes等容器编排系统的默认存储组件。

#zookeeper#etcd#分布式
powershell下载

Release v7.5.1 Release of PowerShell · PowerShell/PowerShell · GitHub

#服务器
    共 178 条
  • 1
  • 2
  • 3
  • 18
  • 请选择