前言 经过前面两篇文章的讲解,大家已经了解了audio的基本使用方法,下面我们就根据我们了解的api做一个直播。web音频流转发之AudioNode web音频流转发之音频源 原理 视频直播:采集一帧一帧的视频,转换为base64转发,接收到base64后,设置为img的src,然后不停的修改img ...
分类:
Web程序 时间:
2020-01-17 20:39:19
阅读次数:
120
引言 我在练手的时候发现后端返回的数据可以通过两种方式渲染 (自己遇到的 可能你都会 哈哈哈) 后端传过来的数据函数 from django.http import JsonResponse def record_detailed(request): all_record = models.Reco ...
分类:
其他好文 时间:
2020-01-17 18:48:55
阅读次数:
77
Allowance As a reward for record milk production, Farmer John has decided to start paying Bessie the cow a small weekly allowance. FJ has a set of coi ...
分类:
其他好文 时间:
2020-01-16 23:42:36
阅读次数:
117
# 学习记录 || Coding_Record # # LRU 比较常见的页面置换算法。*leetcode 146 # 个人简易实现(Java) 1 import java.util.HashMap; 2 3 4 class LRUCache { 5 6 public static class No ...
分类:
其他好文 时间:
2020-01-15 19:14:35
阅读次数:
101
初始化SQL DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) DEFAULT NULL, `password` varchar(32 ...
分类:
编程语言 时间:
2020-01-15 15:32:34
阅读次数:
92
包含两个类:Employee及Dataset //employee.h #pragma once #include<string> namespace Record { const int kDefaultstartingSalary = 30000; class Employee { public ...
分类:
编程语言 时间:
2020-01-15 09:51:11
阅读次数:
95
jQuery 事件 - change() 方法 当输入域发生变化时改变其颜色: $(".field").change(function(){ $(this).css("background-color","#FFFFCC"); }); 定义和用法 当元素的值发生改变时,会发生 change 事件。 ...
分类:
Web程序 时间:
2020-01-14 19:03:59
阅读次数:
304
The table does not comply with the requirements by an external plugin.
分类:
其他好文 时间:
2020-01-14 11:37:48
阅读次数:
177
http://www.hostbuf.com/downloads/finalshell_install.pkg 参考: http://www.hostbuf.com/t/988.html ...
分类:
系统相关 时间:
2020-01-14 09:44:18
阅读次数:
76