[Sumover-dev] Reg: Help with vic

Piers O'Hanlon p.ohanlon at cs.ucl.ac.uk
Tue Jul 21 22:21:56 BST 2009


2009/7/21 Akhila <akhila844 at gmail.com>:
> Hello everyone,
>
> Thanks Piers. I am working on it right now. I do have some things on my
> to-do list. Can you/someone give me some directions as how to proceed.
>
> indicate incoming traffic is to be copied to  master client
>
I'm not sure what you mean? Indicate it where - in the GUI or in the packets?

> change socket on which data forwarding is done
> change socket on which control forwarding is done
> change socket on which VIC sends data
> change socket on which VIC receives data
>
The sockets are set up in the file I mentioned net/net-ip.cpp
Whilst their configuration is controlled in tcl/cf-network.tcl - you
probably want to look there if you want to alter the ports. If you
want to do something when data (RTP) or control (RTCP) is received
then you're better off looking at rtp/session.cpp at the recv()
functions respectively:
void SessionManager::recv(DataHandler* dh)
void SessionManager::recv(CtrlHandler* ch)

Piers.

> I understand that it's not easy for me because I just started using VIC and
> that's the reason I'm hoping you could give me some directions.
>
> Thanks a lot
>
> Akhila
>
>
> On Tue, Jul 21, 2009 at 5:07 AM, P O'Hanlon <p.ohanlon at gmail.com> wrote:
>>
>> 2009/7/21 Akhila <akhila844 at gmail.com>:
>> > Helllo everyone,
>> >
>> > I successfully compiled vic for mac osx with the help of Douglas
>> > Kosovic. I
>> >
>> Great.
>>
>> > am trying to modify the code to suit my needs. I need to make
>> >
>> > "make send port 2 higher than receive "
>> >
>> Look at IPNetwork::open() (you can modify the code to increase the
>> port number) in net/net-ip.cpp
>>
>> > How do I do that ? When in a video conference, if a person does not have
>> > a
>> > webcam, he should be able to watch and not transmit. Any advice would be
>> > great.
>> >
>> That is the normal mode of operation - a user does not need a webcam
>> to receive video.
>>
>> You don't need to alter the sending/receiving ports to allow one to
>> only receive - if you're using multicast you can send and not receive
>> by setting the vic attribute (which can be set in ~/.vic.tcl file or
>> more permanently in tcl/ui-resources.tcl) "noMulticastBind".
>>
>> Piers
>>
>> > Thanks
>> >
>> > Akhila
>> >
>> >
>> >
>> > _______________________________________________
>> > Sumover-dev mailing list
>> > Sumover-dev at cs.ucl.ac.uk
>> > http://oakham.cs.ucl.ac.uk/mailman/listinfo/sumover-dev
>> >
>> >
>
>



More information about the Sumover-dev mailing list