HTTP Streaming Example for ameba-rtos-pro2/Delay Time (Official FreeRTOS SDK)

Hi @TeschRenan

Both SDKs deliver the same performance, since the Arduino SDK is built on the FreeRTOS SDK code base. However, in FreeRTOS SDK, Streaming via HTTP is not supported.

In the Arduino SDK, the “HTTPDisplayJPEGContinuous” example works by:

  1. Capturing frames one by one.
  2. Compressing each frame individually as JPEG (using the MJPEG encoder).
  3. Sending those frames sequentially over an HTTP connection.

On the client side, because the browser receives a continuous sequence of JPEG images, it looks like a video stream.

Since the Arduino SDK is built on the FreeRTOS SDK code base, it is possible to create a similar example in FreeRTOS SDK.

If you would like to create your own example, you can create a new example in ameba-rtos-pro2/project/realtek_amebapro2_v0_example/src/mmfv2_video_example at main · Ameba-AIoT/ameba-rtos-pro2 · GitHub and add your function name in ameba-rtos-pro2/project/realtek_amebapro2_v0_example/src/mmfv2_video_example/video_example_media_framework.c at main · Ameba-AIoT/ameba-rtos-pro2 · GitHub .

Another option that you can consider exploring: [Sharing] Video Streaming from Ameba Pro2 to Browser via FFmpeg