begeekmyfriend / yasea

RTMP live streaming client for Android
MIT License
4.89k stars 1.32k forks source link

Stream Lag #670

Open get2abhi opened 6 years ago

get2abhi commented 6 years ago

When watching the stream, there seems to be a 5 second lag between android camera and stream on the url

begeekmyfriend commented 6 years ago

That might be the network problem. If you build a local RTMP server you can find that the lag less than 3 seconds.

get2abhi commented 6 years ago

Tried on a local LAN but still found considerable lag. With Apprtc there is hardly any lag but it has other limitations.

begeekmyfriend commented 6 years ago

Try using ffplay command line instead of VLC player.

aponcanos commented 5 years ago

I am using Wowza Streaming Server and lag is around 3-4 second. Has app a parameters to set lag time ?

begeekmyfriend commented 5 years ago

@aponcanos 3-4 second lag seems all right for RTMP streaming. I think the main issue is on Wowza server. You can switch to SRS.

aponcanos commented 5 years ago

Do you have RTSP Solution ?

Leo Ma notifications@github.com, 18 Kas 2018 Paz, 12:50 tarihinde şunu yazdı:

@aponcanos https://github.com/aponcanos 3-4 second lag seems all right for RTMP streaming. I think the main issue is on Wowza server. You can switch to SRS https://github.com/ossrs/srs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/begeekmyfriend/yasea/issues/670#issuecomment-439680294, or mute the thread https://github.com/notifications/unsubscribe-auth/AO57dw5L5T8iiFC28ujTBUaA-pfLalHTks5uwS2BgaJpZM4X-rbP .

begeekmyfriend commented 5 years ago

No, only for RTMP.

aponcanos commented 5 years ago

We are making an application to talk with two way audio and 1 way video. So lag should be less than 1 second. Could you please show me a way how to solve it ?

Leo Ma notifications@github.com, 19 Kas 2018 Pzt, 10:12 tarihinde şunu yazdı:

No, only for RTMP.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/begeekmyfriend/yasea/issues/670#issuecomment-439792896, or mute the thread https://github.com/notifications/unsubscribe-auth/AO57d11WUGg0EsnPkgt1bV-EmUOtLRRuks5uwlnlgaJpZM4X-rbP .

begeekmyfriend commented 5 years ago

You need WebRTC.

aponcanos commented 5 years ago

do you have WebRTCO Solution or can you auggest me please?

On 20 Nov 2018 Tue at 04:41 Leo Ma notifications@github.com wrote:

You need WebRTC.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/begeekmyfriend/yasea/issues/670#issuecomment-440105564, or mute the thread https://github.com/notifications/unsubscribe-auth/AO57d7eNxlTKxOSx5rFTLzDVUoonMMRTks5uw12tgaJpZM4X-rbP .

begeekmyfriend commented 5 years ago

Sorry, I am not familiar with WebRTC.