TV APP development technology sharing principle

APP's fiery live, so live APP technology also continues to develop towards a faster, better direction, the principle of live APP development techniques are also being understood by the masses. So live APP development technology in achieving a live platform specifically how to build it? Xiaobian bring you a closer look. First of all have to live the principles of the talk in terms of: (1) Live principle: the video recording of the anchor, pushed to the server, the server distributed to viewers. (2) Air links: end plug flow (acquisition, beauty treatment, coding, push streaming) server process (transcoding, recording, theme, Kam yellow) player (pull stream, decoding, rendering) interaction system (Chat gift system, praise) and is broadcast APP development technology playing time. 1) capture video, audio coding framework AVFoundation: AVFoundation frame is used to create and play real-time audio-visual media data, while providing Objective-C interfaces to operate these audiovisual data, such as editing, rotating, re-encoding 2) video, audio hardware the CCD device: an image sensor: for image acquisition and treatment process, to convert the image into an electrical signal. Pickup: sound sensor: for sound collection and treatment processes, converts sound into an electrical signal. The audio sample data: usually sampled PCM format video data are generally :: YUV, or RGB format, the original volume of the collected audio and video is very large, it is necessary after compression processing to improve the transmission efficiency 3) streaming media data RTMP is a real-time transport protocol messaging protocol, Adobe Systems company between Flash player and server audio, video and data transmission developed an open protocol, because it is an open protocol can be used. RTMP protocol for the object, video, audio transmissions. This protocol built on top of TCP or HTTP protocol polling. RTMP protocol like container used to hold a data packet, which data may be video and audio data in FLV. A single network connection can transmit multiple streams via different channels, these channels are packets transmitted in a packet of a fixed size. chunk is a message packet.

Reproduced in: https: //juejin.im/post/5cff06926fb9a07f0a2dd5e9

Guess you like

Origin blog.csdn.net/weixin_34357962/article/details/91472329