Is it possible to send and receive RTP streams on the same computer?

Hi all

I tried sending an RTP stream and receive it on the same computer, but it did not work. I use the AVTransmit2 and AVReceive2 classes, I assumed that these classes are popular, so I have not included the code for them) for this.

It works perfectly fine when a computer sends using AVTransmit2 and another receiver using AVReceive2. However, when, on the same computer, I get the following error in AVReceive2:
 Cannot create the RTP Session: Unrecognized Windows Sockets error: 0: Cannot bind 
The address I used for transmission and reception is: 224.144.251.104/22200

And I also discovered that it IS possible to send and receive streams on the same computer using JMStudio, but I found it very hard to dissect its code.
How can this be achieved using these two classes, that is, the AVTransmit2 and the AVReceive2?

Any suggestions will be greatly appreciated.
private String createTransmitter() {
...
localAddr = new SessionAddress( InetAddress.getLocalHost(), port);
destAddr = new SessionAddress( ipAddr, port);

You can do this instead:

localAddr = new SessionAddress( InetAddress.getLocalHost(), SessionAddress.ANY_PORT);

Tags: Java

Similar Questions

  • My 5s possible remote jailbroken and hacked so I share the same ID Apple and the person knows my passwords?

    My 5s possible remote jailbroken and hacked so I share the same ID Apple and the person knows my passwords?

    N °

    What makes you think that this could happen? If you share an Apple ID with someone and they know a lot of your passwords, they have access to a lot of your information. Change your passwords.

  • Is it possible to set up for multiple users on the same computer to avoid entering the e-mail and the password

    Original title: Multi users

    Is it possible to set up for multiple users on the same computer to avoid entering the email and password every time that a new user want to check emails?

    Hello

    Welcome to the community forums of Microsoft and thanks for posting the question. According to the description, you need help in the creation of multiple user accounts. I've surely you will help find a solution on the issue.

    What is the operating system installed on the computer?

    User accounts, several people can easily share a single computer. Each person can have a separate user account with unique settings and preferences, such as a screen saver or desktop background. User accounts control files and programs users can access and what types of changes users can make to the computer. As a general rule, you'll want to create standard accounts for most computer users.

    If you use Windows Vista or Windows 7, see the article below:

    Create a user account

    http://Windows.Microsoft.com/en-in/Windows7/create-a-user-account

    http://Windows.Microsoft.com/en-in/Windows-Vista/create-a-user-account

    For Windows XP users:

    How to create and configure user accounts in Windows XP

    http://support.Microsoft.com/kb/279783?WA=wsignin1.0

    Hope this information helps. Answer please if you have more queries about Windows.

  • CC of Photoshop and Photoshop CS3 coexist on the same computer?

    When I buy soon Photoshop CC, she and my earlier, entirely legal, version (Photoshop CS3) to coexist on the same computer without conflict? I have to continue using PS CS3 to work daily and gradually learn Photoshop CC. Also: My Custom Actions in CS3 can be imported and used by PS CC? Or do need to be recreated from scratch? Thank you.

    Yes, multiple versions can coexist. Re-use of your actions is not possible, because too many items have changed from bene, but you won't know until you try.

    Mylenium

  • Send and receive data packets on the network

    Hi all.

    Let's say I have a GPRS Modem that sends a data packet to an IP address of a server.

    How can I receive and read the packet data using Labview?

    In other words, how can I send a packet of data to the server using Labview?

    Thank you.

    Dear UOI,

    First of all, in my opinion, you must decide which protocol you we will use to connect both sides of the application.

    Is that UDP or TCP, for example?

    Reading of the package depends on the Protocol, according to me. But it is possible.

    About these two examples of Protocol that I quoted, that's two white papers for you to analyze.

    LabVIEW basic TCP/IP communication

    Communication UDP in LabVIEW

    Kind regards

  • If I uninstall Windows 7 and then reinstall it on the same computer, using the same key/copy register?

    Need a quick answer here! I'm selling my older HP laptop that has Windows 7 above. I intend to uninstall the operating system, and then reinstall it to wipe all my data. The copy is just a simple upgrade from Home Premium (the laptop came with Vista). When I reinstall, can I still register by using the same key? I have heard that it is installed on a computer at any time then you can, but I'm not completely sure.

    Enable is the right term, Yes. Now what happens if I simply select "Custom" when I try to install the upgrade of Windows 7 since I don't have a Vista disk?

    If your Windows 7 is an upgrade license any system move to must have a previous operating system eligible before you can use it elsewhere. You may also need to reactivate by phone:

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

  • Having problems logging into my account of cloud. Was under a previous account and changed your e-mail and password but still on the same computer. Have re Manager app intalled but still keeps asking me to log in. Any help out there?

    I had to change the email and the password on an account for a mac like someone left the company. When I try to connect back with new account details the log guard page asking me to connect, when I do the account manager disappears but re appears when I try to

    Open the first pro or illustrator and demand the same details. Has anyone else had similar problems?

    Hello

    Please write to us you get the exact error message.

    Also, please see a loop "Sign in required"

    You can also visit Adobe Creative Cloud connection errors in the case where to get 'you signed a mistake. "

    Kind regards

    Shelly

  • May DW CS6 and CC are running on the same computer (was: Dreamweaver?)

    I teach using 6 CS in my class, if my students download Dreamweaver CC can work in both versions, or that will cause a problem.

    Perpetual license of DWCS6 version is now 5.5 versions removed the 'current' and in each new release, there has been significant changes to menu and features. If you try to 'teach Dreamweaver' they will have a pretty hard time after the example of DWCS6 the latest version of CBWMS 20141 x (I did later and cannot remember the exact version number)

    That being said, Creative Cloud subscriptions allow users to install all the way back to DWCS6 cloud. Currently, you can have DWCS6 DW CC and the ACPE 20141 clouds x all installed at the same time. So, if your students were to become cloud subscribers, or if the school is install software to use, the old version can be added to the title of the standard subscription using the creative Cloud Desktop application.

  • How can you have Windows XP and Vista operating system on the same computer?

    I am new to the community.

    I just ordered a XPS420.  The guy who took my order said he had heard of having two operating systems (XP and Vista) on a single computer and be able to choose the one that you want to use the start.  Someone at - he heard of this being done or done. I have a legal version of Windows XP home edition disk.

    I ask this because the computer that my children no longer have work and they have a lot of older games for XP, they still love to play. My only alternative is to use XP only if I can reformat the system.

    Thank you


  • URGENT! get the same message "serial number not valid for this product" and I RE install on the same computer that crashed last week...

    I'm trying to RE install PSElements 11 on a computer where it WAS last week but has had a hard disk crash. The message is wrong and the serial number is correct. URGENT because I'm on the apple store, trying to get help from apple people and they don't want install me a new version of Yosemite by making computer more slow...

    Error "serial number is not valid for this product". Creative Suite

    http://helpx.Adobe.com/Creative-Suite/KB/error-serial-number-valid-product.html

  • Acrobat 8 Pro and Acrobat 9 Standard on the same computer.

    I work for a library and we recently found out that one of our computers have both Acrobat 9 Standard and Acrobat 8 Pro on it. She also downloaded Acrobat XI trial. Now we have to decide which ones should be deleted. We are a network of small libraries as well as the person who knows the more computers (things like how to turn it on and outside, for example) it's for me to decide that it should be deleted. Ideally we just all remove them and install the latest version, but this isn't an option for us right now. I think that the professional version would be a better choice, even if it is older.  It seems to me to have these two programs out there is a little redundant. Does anyone have insight into this?

    Thank you!

    In addition to the response of the Bill, you can also watch blog for the difference between the versions of Acrobat 8, 9 and 10:

    http://blogs.Adobe.com/acrolaw/2011/04/whats-the-difference-between-Acrobat-8-9-and-x/

    Kind regards

    Anoop

  • When you use Outlook Express from home I can send and receive emails, but when I'm away from my connection at home I can only receive emails.

    Problems using Outlook Express offline at home

    I get an error message when I try to send e-mails, would it be possible to send and receive e-mails via Outlook Express from another connection. I hope someone can help, thank you.

    Jack

    Always display the complete text and correct all errors when you ask about a problem.

    ISPS don't like people using their networks to forward mail from other networks.  The symptoms you describe are usually the result of not properly is authenticating with the outgoing server or the use of a non encrypted SMTP connection (that is, port 25 instead of 587 or 465 or whatever your email port provider requires for encryption).

  • Cannot send and receive UDP

    I'm doing a code to send and receive of UDP. The code works fine on the simulator of 4.2.

    But the same code doen't work on the device.

    String u = "udp://" + server_addr + ":" + server_port + ";" + client_port + "/internet.beeline.ru|UDP;tunnelauthusername=beeline;tunnelauthpassword=beeline";
    
    socket = (DatagramConnection)Connector.open(u);
    
    Datagram dt = socket.newDatagram( socket.getMaximumLength() );
    dt.setData( data, 0, length );
    
    socket.send( dt );
    
    socket.close();
    
    u = "udp://:" + client_port + "/internet.beeline.ru|UDP;tunnelauthusername=beeline;tunnelauthpassword=beeline";
    
    socket = (DatagramConnection)Connector.open(u);
    
    Datagram packet = socket.newDatagram(fullPkt, length);
    
    socket.receive(packet);
    

    BB 8300 with OS throws IOException in an attempt to send UDP in the line of 4.2.2.166

    socket.send( dt );
    

    BB 8100 with 4.5.0.110 resembles could not send UDP no exception thrown

    but never receive any UDP server.

    Such a code should work on 4.5 OS, at least I'm able to see rtsp video to youtube which use UDP.

    The cause is the firewall carrier that bloks incoming UDP for the phone.

    Also firewall change source port of the datagram received by the server.

    The solution I see is to protocols rtsp/rtp simuilate to bypass the firewall of carrier.

  • Yesterday, I could send and receive emails, today I can't. Webmail works fine. Help!

    I checked with my ISP. All settings OK and I can send and receive e-mails on the webmail and a windows mail IMAP account OK. ISP tech support said the problem is certainly in Thunderbird. Beginning yesterday it worked fine, but the night last and this morning I can't send or receive e-mails. I have not modified parameters.

    Check your firewall and make sure Thunderbird is not blocked. Sometimes an upgrade to a new version will appear in the firewall as a new program and it blocks.

    The webmail and client e-mail use server completely different so all it proves is that you know your user name and password.

    With regard to the correct settings, confirmed by the help desk, my more personal experience of the help desk cannot be a correct configuration if she got hit in the face. You can post your info troubleshooting here and maybe someone will be able to spot a problem. The title of the Help menu is troubleshooting Info. Then clear the check box to include personal information. Click on copy to C! ipboard then that stick to a window of response here.

    Given that you can't send or receive the prime suspect is the firewall.

  • Is it possible to have the 64-Bit and 32-bit operating system installed on the same computer?

    * Original title: installation of window OS

    Hi all

    In my system, it's already installed 64-bit Windows 7 Ultimate. I want to install 32-bit Windows 7 Home Premium. Is it possible to have two operating system installed on the same computer? Can I do it?

    PL, guide me positively.

    Best regards

    Kapil Kumar.

    The amount of RAM is okay as long as you have a minimum of 2 GB installed. Even if you have more than 4 GB, it would not matter, Windows 7 Home Premium just won't recognize it.

    In respect with the both, you can set up a dual-boot configuration. Please note that you must have a unique product key to activate Windows 7 Home Premium.

    See the instructions how to set up a partition:

    http://www.groovypost.com/HOWTO/dual-boot-Windows-10-other-versions-Windows/

    References Windows 10, but the same instructions for Windows 7 also work.

    Click Start, right-click computer, click on manage

    Click on disk management

    Select the system partition in which Windows 10 is installed. Right-click, and then click on cut.

    Enter the amount of space you want to allocate to Windows 7 or Windows 8.1, then click on cut. The more, the better.

    An unallocated partition will now be available. Right-click, and then click New Simple Volume

    This will start the wizard new Simple Volume, which will allow you to format, assign a drive letter and volume label.

    Once your partition is ready, you are now ready to install Windows 7

    Boot from the Windows 7 Home Premium disc, then

    Click Custom (advanced option)

    Select the partition we created earlier, and then click Next.

    Wait for the copy of the Windows installation files.

Maybe you are looking for

  • Impossible to reinstall Windows XP on S3000-601

    Hi mates, Toshiba Satellite 3000 601, model PS302E-019R5-FE, in original form and Windows XP Edition family. I installed an XP update directly via the internet, does not download first (stupid me). The connection was suddenly interrupted. Once that t

  • HP Deskjet F2210 printer will not print my documents with the exception of my e-mail highlighted

    HP Deskjet F2210 printer will not print my documents with the exception of my e-mail address highlighted who is on the document, it is not cartrages, as it will print one page black and multicolor of the internet. Help, please.

  • signature successfully; still get the warnings

    I use eclipse. I right click on my project, clicked on 'BlackBerry', then 'Sign with Signature tool'. everything seems to work very well; I even had confirmation emails. However, java still gives me the "Signature required" warnings even when I reset

  • You don't have permission to open this file - but... I am Admin and permanent air well

    HelloI have a folder on my desktop, and inside this folder, I have two additional folders and two files JPG (cover). In the main folder, I got 3gbish with a value of MP3s and small amounts of MP3s inside two subfolders. I was able to remove all the f

  • Cannot open the 3rd level of links

    I am opening recipes in this document:http://www.quartermaster.Army.mil/jccoe/publications/recipes/cover.PDFOpens the initial page, complete Index opens, open Sections, individual recipes do not open.  Even on my phone.  Works fine for others.  What