最近在验证tina对裸流音视频的支持,主要指h264视频裸流及pcm音频裸流。 在原始sdk中有针对很多video和audio类型的parser,但就是没有找到pcm和h264的parser,所以需要自己搞个parser,同时找到audio播放的的接口写个demo来验证。 所有支持解析类型的pars ...
分类:
其他好文 时间:
2019-05-15 16:08:27
阅读次数:
550
1 public function zpk_parser() { 2 3 $res_path = ROOT_PATH . "public/zpk/"; 4 $file_lists = glob($res_path . "*.zpk"); 5 foreach ($file_lists as $file... ...
分类:
其他好文 时间:
2019-05-12 22:27:31
阅读次数:
140
JWT是什么 JWT是json web token缩写。它将用户信息加密到token里,服务器不保存任何用户信息。服务器通过使用保存的密钥验证token的正确性,只要正确即通过验证。基于token的身份验证可以替代传统的cookie+session身份验证方法。 JWT作用 根据用户基本信息、过期时 ...
分类:
其他好文 时间:
2019-05-11 18:03:46
阅读次数:
131
官方文档地址:https://docs.python.org/3/library/urllib.html 什么是Urllib Urllib是python内置的HTTP请求库包括以下模块urllib.request 请求模块urllib.error 异常处理模块urllib.parse url解析模块 ...
分类:
编程语言 时间:
2019-04-30 19:53:57
阅读次数:
149
const si = require('systeminformation'); const express = require('express'); const bodyParser = require('body-parser'); const crypto = require('crypto... ...
分类:
其他好文 时间:
2019-04-28 00:00:59
阅读次数:
129
首先了解一下,什么是Druid. Druid是Java语言中最好的数据库连接池,它能够提供强大的监控和扩展功能。 Druid是一个JDBC组件,它包括三部分: 1)DruidDriver 代理Driver,能够提供基于Filter-Chain模式的插件体系。 2)DruidDataSource 高效 ...
分类:
编程语言 时间:
2019-04-27 09:32:59
阅读次数:
590
完整代码实现放在我的github上: "click me" 一、任务要求 实现一个基于简单英语语法的chart句法分析器。 二、技术路线 采用自底向上的句法分析方法,简单的自底向上句法分析效率不高,常常会 ...
分类:
其他好文 时间:
2019-04-24 23:39:30
阅读次数:
307
通过软件Log Parser方便的解析系统日志,方便回溯事攻击事件的入侵过程。 1. 安装Log Parser 2.2 https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=24659 https://gall ...
分类:
其他好文 时间:
2019-04-21 13:02:10
阅读次数:
137
■ The GOption interface: goption.c ■ 编译 ■ 运行结果 ■ 参考 https://developer.gnome.org/glib/stable/glib-Commandline-option-parser.html https://gstreamer.free ...
分类:
其他好文 时间:
2019-04-21 10:03:12
阅读次数:
168
有人可能会想,连2-1和2-2这样的题目都回答,够无聊的啊。因为现在处于并长期处于成为大师的第一阶段------守的阶段2-1>>>a=‘123‘>>>a‘123‘>>>print(a)123a是字符串123,如果格式化输出有问题报如下错误:>>>print(‘ais%d‘%a)Traceback(mostrecentcall
分类:
编程语言 时间:
2019-04-20 16:57:57
阅读次数:
147