AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://airensoft.com/ome.html
GNU Affero General Public License v3.0
2.61k stars 1.06k forks source link

Handling a single frame split into multiple messages in RTMP #1740

Open Keukhan opened 1 week ago

Keukhan commented 1 week ago

Discussed in https://github.com/AirenSoft/OvenMediaEngine/discussions/1730

Originally posted by **antonymarion** October 29, 2024 **Describe the bug** Using OvenMediaEngine and DJI mini 3 PRO drone. On LLHLS my stream is OK (the cursor is not very stable but the stream is smooth here) on WebRTC it's lagged on our OME server, and on OvenSpace Demo Sandbox it's lagged too **To Reproduce** Steps to reproduce the behavior: 1. Use a DJI Drone mini 3 Pro to send to RTMP url the stream 2. Observe the stream with OvenMediaEngine: it's Lagged 3. Do the same with SRS: it's OK **Expected behavior** WebRTC stream sent by DJI Mini 3 Pro should not cause trouble either on OvenSpace Demo neither on our Premise OvenMediaEngine server. I tested on Both FF and Chrome and had the issue. Changing the rtmp target stream from (our ome)/(the demo ome) to SRS did not show any pb **Logs** Look for the app/1581F4XFC23930078AQ5 if you have interesting logs **Server (please complete the following information):** [_ome_logs (9).txt](https://github.com/user-attachments/files/17556519/_ome_logs.9.txt) I don't think it come from the config since it is easy to reproduce on OvenSpace Demo sandbox here: https://space.ovenplayer.com/ **Player (please complete the following information):** I don't think it come from the config since it is easy to reproduce on OvenSpace Demo sandbox here: https://space.ovenplayer.com/ **Additional context** Does not produce if I stream directly from my phone for instance to OME, meaning there is sthing in the produced stream from DJI that OvenMediaEngine do not like; but that is OK for SRS