Graph: Bangkok
Live app implementation process
-
1. The collection
-
2. Filter processing
-
3. The coding
-
4. Push the flow
-
5. The CDN distribution
-
6. Pull flow
-
7. The decoding
-
Play 8.
-
9. Chat and interact
Image format:
public static final int DEPTH16 = 1144402265;
public static final int DEPTH_POINT_CLOUD = 257;
public static final int FLEX_RGBA_8888 = 42;
public static final int FLEX_RGB_888 = 41;
public static final int JPEG = 256;
public static final int NV16 = 16;
public static final int NV21 = 17;
public static final int PRIVATE = 34;
public static final int RAW10 = 37;
public static final int RAW12 = 38;
public static final int RAW_PRIVATE = 36;
public static final int RAW_SENSOR = 32;
public static final int RGB_565 = 4;
public static final int UNKNOWN = 0;
public static final int YUV_420_888 = 35;
public static final int YUV_422_888 = 39;
public static final int YUV_444_888 = 40;
public static final int YUY2 = 20;
public static final int YV12 = 842094169;
Live broadcast APP architecture:
Project Structure:
Mobile phone push stream live:
Other clients pull stream play: here VLC and ijkPlayer are used to pull stream, and the effect is as follows:
Generate header file:
YuiopLiveFFmpeg, why add yuiopLive, because my net id is called: upstream fish Yuiop)
Genymotion first tests access to nginx server:
Why 192.168.56.1, not 10.0.2.2 (Android comes with an emulator), because GenyMotion runs on VirtualBox. Its host is VirtualBox.
The first time to get [not only personal original Android/audio and video technology drygoods, problem depth summary, FrameWork source code analysis, plug-in research, FFmpeg research, live technology, the latest open source project recommendation, and more workplace thinking], welcome to follow my wechat public number, Scan the qr code below or long press to identify the QR code