[Learning posture] lab bricks moving + node Learning

Source: Internet
Author: User

I started to close my work this week. Of course, I did not develop core technologies. I am mainly responsible for the repair and supplement of Web terminals, it mainly includes adding VLC players, RTSP video streams, and some JS details.

1. VLC

The video LAN client supports various formats and is mainly used as a tool for playing real-time videos on the platform. First, find the Wiki of VLC. The webplugin section contains quick-start text to learn some playback control methods. For the Web End, add a player to the webpage through the html object tag, and write the real-time monitored video in the target attribute. Some other parameters are used to control playback. However, it is very difficult to implement the video on the project web end. The called API is only suitable for the VLC library installed locally, asking others for the solution. Solution: use C language to call libvlc APIs at the backend, encapsulate the APIS, and then use the APIs in PHP.

2. RTSP

It is called the real-time stream transmission protocol, and platform videos are transmitted through this protocol. Find some public video addresses on the Internet and put them on the platform for testing. The effect is good.

3. js Learning

Three methods are added to listen to mouse actions, and javascript can get content through the ID attribute of the tag, and CSS gets the target through class. Urgently need to fill in JS-related Ah O (> rewrite <) O

4. node Learning

I mainly learned some APIs of TCP and HTTP in node. First try TCP communication and use Telnet for session. Use the net module to implement the functions of a chat room. Step 1: Use Net. createserver () to create a server object. The HTTP module in the previous article can also create a server module. Net is used to create a TCP server. The parameters are also used to listen for different events. Net listens for Connection events, while HTTP listens for requests. Connection listens to the stream data block 'data' and processes it.

The HTTP section mainly deals with forms. We learned this week to make front-end modifications. Next week.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.