Hello,
I’m testing wowza streaming engine.
Architecture detail :
I’m using two wowza server(local and cloud instance).
Local server receive frames coming from an IP camera(Axis M11.25) in RTSP protocol and forward them to cloud server.
Sometime, local server can lost network and I find the gaps.
My question is : can’i increase my local server buffer to keep data and upload them as soon as the network allows it ?
Thanks
The answer is yes, you can set up a jitter buffer @Mohamed Kara for RTP or RTSP camera sources:
https://www.wowza.com/docs/how-to-turn-on-an-rtp-jitter-buffer-and-packet-loss-logging-rtp-and-mpeg-ts
Things I would suggest checking in addition to doing that:
- Configure your workflow to test and protect packet loss and increase chances of maintaining the connection
https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming
- Consider using SRT in your workflow to reduce packet loss when the network fluctuates:
https://www.wowza.com/live-video-streaming
Thank you for your answer. I think that with jitter buffer, this should not exceed 8000 ms.
Let me present our use cases with wowza :
- Online mode(local server is connected to internet from beginning to end) :
we create stream target in wowza local towards wowza cloud. In this mode, our local server is connected to internet and no interruptions during streaming. We configure wowza cloud to create record in incoming stream and store mp4 file in s3 at the end of record. In this mode, local server is just using to forward live flux to cloud server.
- Offline mode(local server is disconnected to internet from beginning to end**) :**
we create and store record in wowza local. At any time if local server get access to internet we upload mp4 file in S3.
- Hybrid mode : we create stream target in wowza local towards wowza cloud.
-
first hybrid mode(local server is connected to internet at beginning and after lost network**) :**
If local server lost network, we need to store data in localbuffer and upload them to cloud server as batchas soon as network allows it without create record in local server.
-
second hybrid mode(local server is disconnected to internet at beginning and after get access to internet) :
we need to store data in localbuffer and upload them to cloud server as batchas soon as network allows it without create record in local server.
Note : In our use case we need more BufferTime because local server can disconnected to internet during long time and we must not lost data.
Thanks so much for the additional information! Let me check with the engineers on what may be a solution.
In checking directly with our Wowza engineers, we do not have a solution at this time for a hybrid mode. But, they will be happy to work with you @Mohamed Kara on a solution that may work for you in a support ticket.
https://www.wowza.com/support/open-ticket