Red5 / red5-server

Red5 Server core
Apache License 2.0
3.33k stars 982 forks source link

Video display with huge delay #352

Open apofis1969 opened 3 months ago

apofis1969 commented 3 months ago

I am using right now version 1.0.6 for live video streaming in my app between 2 devices. Starting with 1.0.8 there is a problem which I do not know how to fix:

I get on the server the messages: org.red5.server.adapter.ApplicationAdapter - W3C x-category:stream x-event:play c-ip:95.90.20.44 x-sname:147885d9-9c0f-4602-ab54-3fa988560528 x-name:38468233_95org.red5.server.stream.ClientBroadcastStream - Stream start: 38468233_95 Jun 09 07:26:04 ip-172-26-13-79 red5.sh[451]: [INFO] [RTMPConnectionExecutor-2] org.red5.server.adapter.ApplicationAdapter - W3C x-category:stream x-event:publish c-ip:95.90.20.44 x-sname:63d44a47-81e7-42d7-875d-3be00267abe9 x-name:38468233_95

All this is fine and correct.

But it takes more than 10 seconds until the video is displayed on the device. This delay does not exist with 1.0.6

How can I fix this? Where can I adapt the settings to reduce the delay.

The messages I get in my app are:

NetStream.Publish.Reset, NetStream.Publish.Start - these two are fast But then it takes 10 seconds and more until I get the message "NetStream.Video.DimensionChange"

This problem started with the integration of the org.red5.server.tomcat.WarDeployer - Deploy wars with app start

The app is developed with Adobe Air.

Thanks for your help in advance.