Page 1 of 1

How send/receive differents cameras?

Posted: Wed Jan 11, 2017 2:53 pm
by friman
Hello Seguey

The last issue is:
I am trying to send 2 or more cams from "sender" (managing differents rooms) adding second RVCamSender and coding something like

RVCamSender2.GUIDFrom:=FMyGUID;
RVCamSender2.ReceiverPort:=FMain.RVCamSender1.ReceiverPort;
RVCamSender2.ReceiverHost:=FMain.RVCamSender1.ReceiverHost;
RVCamSender2.Active:=True;
RVCamSender2.GUIDGroup:=RoomGUID;
RVCamSender2.SendMediaAccessRequest(RoomGUID);


on "receiver side" I did

RVCamReceiver1.Senders[0].VideoSenders.AddGUID(RoomGUID);
RVCamSender1.SendMediaAccessRequest(RoomGUID);
RVCamSender1.JoinGroup(AnsiStringToGUID(RoomGUID), False);

RVCamView.GUIDFrom:=RoomGUID;
RVCamView.VideoSource:=RVCamReceiver1;

So, it work fine if I open on "receiver" one room, but when open 2 the cameras feeds start to mix each to others.
What I did wrong? Or what suggestion you have in this case?

Thanks on advance

Posted: Thu Jan 12, 2017 7:36 am
by Sergey Tkachenko
Unfortunately, it's quite difficult to implement multiple cameras working at the same time in the same mediaserver client.
We will solve this problem in the next update. A single TRVCamSender will be able to send video from multiple cameras, and the receiver will be able to distinguish them by indexes.