R
Rachel
Hi,
I understand that if I establish multiple rtp connections from the same
local port, i.e.:
MediaLocator inputLocator = new MediaLocator("rtp://hostname1:8000/video");
MediaLocator inputLocator = new MediaLocator("rtp://hostname2:8000/video");
I will get this "print-out error" on my cmd terminal:
Cannot create the RTP Session: Can't open local data port: 8000
Is there anyway that I can catch this print-out? I want my program to throw
an exception if the program is trying to connect to multiple host via the
same port.
Cheers,
Rach
I understand that if I establish multiple rtp connections from the same
local port, i.e.:
MediaLocator inputLocator = new MediaLocator("rtp://hostname1:8000/video");
MediaLocator inputLocator = new MediaLocator("rtp://hostname2:8000/video");
I will get this "print-out error" on my cmd terminal:
Cannot create the RTP Session: Can't open local data port: 8000
Is there anyway that I can catch this print-out? I want my program to throw
an exception if the program is trying to connect to multiple host via the
same port.
Cheers,
Rach