How send/receive differents cameras?

New product: VCL components for displaying and controlling IP cameras, webcams, video conferencing, video chats
Post Reply
friman
Posts: 25
Joined: Fri Jul 17, 2015 4:26 am

How send/receive differents cameras?

Post by friman » Wed Jan 11, 2017 2:53 pm

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

Sergey Tkachenko
Site Admin
Posts: 13584
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Thu Jan 12, 2017 7:36 am

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.

Post Reply