WebRTC: A simple example of video chat

Introduction to related API s In the previous section, we have introduced some important knowledge points related to WebRTC, including the network protocols involved, session description protocols, how to make network penetration, and so on. The rest is the API of WebRTC. There are many API s related to WebRTC communication, which mainly accomp ...

Posted on Sun, 17 Nov 2019 02:33:03 -0500 by gacon

Use of react native Baidu map

Use components: react-native-baidu-map Get Baidu map API Address: http://lbsyun.baidu.com, after the console successfully creates the application, you can see the api of the application key. install yarn add react-native-baidu-map Native part Android configuration react-native link react-native-baidu-map Configure the Android manifest.xml fi ...

Posted on Sat, 16 Nov 2019 15:54:04 -0500 by bubblocity

python Foundation (32): process

1. multiprocess module In detail, multiprocess is not a module, but a package for operating and managing processes in python The reason why it's called multi is the multi-functional meaning from multiple. In this package, almost all the sub modules related to the process are included. Because there are many submodules provided, in order to faci ...

Posted on Sat, 16 Nov 2019 15:52:19 -0500 by feidakila

20190421-Leetcode-127. Word Jielong

Leetcode-127 Given two words (beginWord and endWord) and a dictionary, find the length of the shortest conversion sequence from beginWord to endWord. The conversion should follow the following rules: Only one letter can be changed at a time. The middle word in the conversion process must be a word in the dictionary. Explain: I ...

Posted on Sat, 16 Nov 2019 15:50:51 -0500 by Orkan

Android opens the album and uploads pictures to the server

Android image open upload Open Album Most Android apps need to upload their avatars or some pictures to give you some experience of the problems I have encountered in uploading pictures these days. First of all, this is my personal center page Click the picture above, the option of our album will appear. Click to enter to se ...

Posted on Sat, 16 Nov 2019 15:15:09 -0500 by czambran

008.Kubernetes binary deployment Nginx to achieve high availability

A Nginx agent to realize high availability of Kube API server 1.1 high availability of Nginx Kube API server high availability scheme based on nginx agent. The Kube controller manager and Kube scheduler of the control node are multi instance deployment, so as long as one instance is normal, high availability can be guaranteed; The Pod in th ...

Posted on Sat, 16 Nov 2019 13:00:09 -0500 by sergeidave

The first positive number missing from leetcode

Given an array of unsorted integers, find the smallest positive integer that does not appear. Example 1: Input: [1,2,0]Output: 3Example 2: Input: [3,4, - 1,1]Output: 2Example 3: Input: [7,8,9,11,12]Output: 1Explain: The time complexity of your algorithm should be O(n), and only constant level space can be used. Source: LeetCodeLink: https ...

Posted on Sat, 16 Nov 2019 10:01:41 -0500 by electrix

Illustration WeChat web page authorizes automatic login (with ThinkPHP5.1 code)

Zero. Preface At the beginning of WeChat development, due to inexperience and unclear official documents of WeChat, only "fool" was left after reading the document. We didn't know what process WeChat development was or how to start, so we had to consult the third-party blog.Finally, the docking between the WeChat Public Number and the ...

Posted on Sat, 16 Nov 2019 05:16:16 -0500 by sirstrumalot

Qt Write 8-Curve Monitoring for Gas Safety Management System

1. Preface Curve monitoring module is rarely used, mainly to observe the real-time data collected by a device and the data collected by history, you can play back the data, you can select the corresponding communication port and controller on the right side, then select the specified detector to observe, from the time of selection to start timi ...

Posted on Sat, 16 Nov 2019 00:54:47 -0500 by punky79

Android Network Programming Details

1. Basic concepts of networks and Http protocol IP address and port number IP Address: All flattering computers in the network must have a unique IP address as their identity, consisting of a set of decimal digits separated by'. ' Port number: An IP address only guarantees that key data will be sent to the specified computer, but it is not kno ...

Posted on Fri, 15 Nov 2019 22:51:11 -0500 by Vorotaev