Is there any example or demo project on how to build an application capable to send the same video to multiple recievers?
Similar to SendAndReceive\TwoApps, but not limited to a single reciever.
Thanks in advance!
One sender > multiple recievers demo project
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: One sender > multiple recievers demo project
It's not supported. You need to create separate TRVCamSender for each receiver. Or consider using TRVMediaServer.
Re: One sender > multiple recievers demo project
Ok, is there any example using TRVMediaServer that can send the same video to multiple recievers?
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: One sender > multiple recievers demo project
Normally, TRVMediaServer is placed in a separate application.
You can find demos in Demos\Delphi\ClientServer\VideoChats\
For example, see Chat and Server application. One chat send video to a server, and several other chat clients can receive it.
You can place TRVMediaServer and TRVCamSender in the same application, but they still should be connected via the network.
However, it looks like an overkill for your task.
Why cannot you simply use several TRVCamSender components connected to the same TRVCamera?
You can find demos in Demos\Delphi\ClientServer\VideoChats\
For example, see Chat and Server application. One chat send video to a server, and several other chat clients can receive it.
You can place TRVMediaServer and TRVCamSender in the same application, but they still should be connected via the network.
However, it looks like an overkill for your task.
Why cannot you simply use several TRVCamSender components connected to the same TRVCamera?
Re: One sender > multiple recievers demo project
I don't know the number of clients that will need to recieve video from sender.
Theoretically I can create new TRVCamSender instance each time a client is connected to the server.
Do you think this way is more optimal than using TRVMediaServer?
Why do you consider placing TRVMediaServer and TRVCamSender in the same application like an overkill?
Theoretically I can create new TRVCamSender instance each time a client is connected to the server.
Do you think this way is more optimal than using TRVMediaServer?
Why do you consider placing TRVMediaServer and TRVCamSender in the same application like an overkill?
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: One sender > multiple recievers demo project
I think that using TRVMediaSender is not optimal because TRVCamSender connects to it using tcp connection, while TRVCamera transfers images to TRVCamSender directly.
However, maybe this is a reasonable solution if you have many receivers.
However, maybe this is a reasonable solution if you have many receivers.