vzhn / bstreamer

RTSP/h264 ip camera emulator
60 stars 12 forks source link

Multiple camera support #13

Closed KarthikaKumar closed 1 year ago

KarthikaKumar commented 1 year ago

How do we achieve multiple camera support ? do we increase the thread count in the yaml? if done so, will the same IP + Port stream for multiple cameras ? Will all the clients connect to the same URL ?

Or can we do code changes to listen to different ports? Will there be any performance issue if done so ?

vzhn commented 1 year ago

Hi! No, we don't need to increase thread count because bstreamer uses non-blocking I/O. So all connections are served with small number of threads. Yes, same IP and port. Yes, all clients are connecting to the same URL.

KarthikaKumar commented 1 year ago

Thanks for your reply. But in that case it would be the same camera server streaming to different clients.

Is it possible to have them stream from different ports. Right now I did a small change to start the server on different ports. And when we use it for around 64 connections, we see latency and connection drops. Want to confirm with you if any other alternative is there to achieve this ?

Thank you in advance Karthika

On Tue, 8 Nov 2022 at 1:08 PM, Vladimir Zhilin @.***> wrote:

Hi! No, we don't need to increase thread count because bstreamer uses non-blocking I/O. So all connections are served with small number of threads. Yes, same IP and port. Yes, all clients are connecting to the same URL.

— Reply to this email directly, view it on GitHub https://github.com/vzhn/bstreamer/issues/13#issuecomment-1306758534, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGSVKU3NFVJGAULPPUBZBLWHH7PPANCNFSM6AAAAAARZ7QO5Y . You are receiving this because you authored the thread.Message ID: @.***>

vzhn commented 1 year ago

Oh, sorry, I don't know. I made this project in the past and forgot everything.

KarthikaKumar commented 1 year ago

Ok no problem thanks for your support

On Wed, 9 Nov 2022 at 1:16 PM, Vladimir Zhilin @.***> wrote:

Oh, sorry, I don't know. I made this project in the past and forgot everything.

— Reply to this email directly, view it on GitHub https://github.com/vzhn/bstreamer/issues/13#issuecomment-1308343023, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGSVKVGAMVW7VXRT3JKTO3WHNJFBANCNFSM6AAAAAARZ7QO5Y . You are receiving this because you authored the thread.Message ID: @.***>