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:

    
  1. public static final int DEPTH16 = 1144402265;

  2. public static final int DEPTH_POINT_CLOUD = 257;

  3. public static final int FLEX_RGBA_8888 = 42;

  4. public static final int FLEX_RGB_888 = 41;

  5. public static final int JPEG = 256;

  6. public static final int NV16 = 16;

  7. public static final int NV21 = 17;

  8. public static final int PRIVATE = 34;

  9. public static final int RAW10 = 37;

  10. public static final int RAW12 = 38;

  11. public static final int RAW_PRIVATE = 36;

  12. public static final int RAW_SENSOR = 32;

  13. public static final int RGB_565 = 4;

  14. public static final int UNKNOWN = 0;

  15. public static final int YUV_420_888 = 35;

  16. public static final int YUV_422_888 = 39;

  17. public static final int YUV_444_888 = 40;

  18. public static final int YUY2 = 20;

  19. 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