RTPManager don't release port

Hi!
I want to transmit a video over RTP to a multicast address and used the code from AVTransmit2.java:
1. Create a Datasource and a processor for that Datasource
2. Get the DataOutput from the processor and create a rtpmanager
3. Initialize the rtpmanager with my local address
4. Add target (multicast) address
5. Create a SendStream with the rtpmanager for the datasource and start it
6. Start Processor
Everything works fine for the first transmission.
On Media-End I disconnect the DataSource, stop and close the SendStream. Then I remove the targets from the rtpmanager and call dispose() and then stop and close the processor.
BUT if I want to retransmit, the 3rd Step fails with this exception:
javax.media.rtp.InvalidSessionAddressException: Can't open local data port: 16000
at com.sun.media.rtp.RTPSessionMgr.initialize(RTPSessionMgr.java:2576)
at com.sun.media.rtp.RTPSessionMgr.initialize(RTPSessionMgr.java:2415)
I know, that the problem is the opened port, but don't know why the port is not closed.... grml
Can anybody help my please?

HI klschoef
I'm doing almost same thing as you did, but i got a big problem ,when i start the sendstream"sendstream.start();", but it seems no UDP packet has been sent, so my client-side always wating on the receive , please tell me how to solve this problem

Similar Messages

  • MAX don't release LAN connction while communicating with Agilent 86122A

    Dear guys,
    Yesterday I met a communication issue while talking to Agilent 86122A via LAN.
    It showed I cannot run MAX before launching LabVIEW; otherwise I'd have trouble in send commands in LabVIEW.
    I doubt if MAX MAX don't release LAN connection while communicating with Agilent 86122A?
    Please advise,thanks.
    I debugged as below:
    1, Ping the IP of Agilent 86122A shows internet is OK.
    2, I restarted the instrument, LabVIEW reported the same error code.
    3, I restarted PC, launched LabVIEW first and run the code (*IDN?), everything is OK!!!
    4, Again, I send *IDN? With MAX, and it seemed to be OK.
    5, hit x to close MAX and then run the same and simple code (*IDN?) in LabVIEW, but it reports error code -1073807346.

    Caglar,
    The documents you mention ahould include the proper prcedure for using this hardware in LabVIEW. Here are my recommendations:
    The version of NI-VISA  you mentioned is not valid. The most recent version is 4.6.2. I would recommend ugrading if you do not have this version. After the upgrade,ensure that tulip is enabled as well as the other settings and see if this helps.
    When talking about the instrument, the biggest concern that usually is relevant with 488.1 is that it will not respond to *IDN?. In your case, it looks like it does, and should work as 488.2 is backwards compatible. It seems to me, the issue is still with the 82357A, and we have not yet reached the voltmeter.
    In order for NI-VISA to work with your device, NI-VISA must be the primary visa driver.
    Hope this helps, let us know how the upgrade turns out. If you continue to have issues, take some screenshots of the preferences in MAX and upload them on the forum.
    Regards,
    Peter Flores
    Applications Engineer

  • Command to release Port number

    Hi,
    Can anyone help me a command to release the Port Number from the command line.
    Bikash

    If don't want to (can't) wait for port to be freed up gracefully, you can use lsof and netstat to identify the process using the port. Then you can decide whether or not you want to kill the pid of the process using the port. Please note that this is a brute-force method of freeing up the port and it can result in unstable system operation. Be sure it is safe to kill the process using the port you want to free up. You can get lsof at sunfreeware.com

  • Don't release Production Order for negative stock.

    Actually i don't want Production Order to be released, if component (child) items falls into negative stock. Is there any solution for that. If yes, please help me out.
    Thanks

    HI!
    you can write a SP to block Release a production order from planned state.
    Check the onHand stock of all child items w.r.t the warehouse and block updating the status to release

  • Problem releasing ports

    I've tried executing Rx.java and Tx.java from the JMF Solutions (UI based RTP Transmitter and Receiver)... I disconnect and reconnect the Transmitter without exiting the application... The second time I reconnect, the error "Can't open local data port:4444" is displayed... But if I used other ports it will work fine... But each port could be only used once... How can i release the port? Please help me on this... Thanks a billion...

    Hi, maybe you can try this:
    synchronized (this){
         if (playerVideo!=null)
              playerVideo.stop();
              playerVideo.close();
              playerVideo=null;
    I had your same problem, and I solved it in this way. Hope it can help.... Bye

  • Since Firefox 36 Release Port 1935 traffic is blocked. Why?

    Our streaming audio service has been using Adobe Flash Player since 2007. With the February 2015 release of Firefox 36 many of our customers (Windows and Mac) are seeing our Flash player hang indefinitely at "Trying connection on port 1935". In somecases reinstalling Adobe Flash Player will fix this; in other cases reinstalling Firefox will fix this; in several cases only allowing incoming connections on port 1935 (new firewall rule) will fix this.
    What happened? A lot of our customers use Firefox and suddenly no joy.
    Thank you!
    Joseph Jacobs
    Webmaster
    Hearts of Space Inc
    [email protected]

    ''HeartsOfSpace [[#question-1056668|said]]''
    <blockquote>
    Our streaming audio service has been using Adobe Flash Player since 2007. With the February 2015 release of Firefox 36 many of our customers (Windows and Mac) are seeing our Flash player hang indefinitely at "Trying connection on port 1935". In somecases reinstalling Adobe Flash Player will fix this; in other cases reinstalling Firefox will fix this; in several cases only allowing incoming connections on port 1935 (new firewall rule) will fix this.
    What happened? A lot of our customers use Firefox and suddenly no joy.
    Thank you!
    Joseph Jacobs
    Webmaster
    Hearts of Space Inc
    [email protected]
    </blockquote>
    OK, this turned out to be a problem with the new, more strict security rules implemented in Firefox 36> and newer: TLS is implemented now. One of our streaming servers had an outdated SSL bundle causing the Adobe Flash Player in Firefox to hang. The problem has nothing to do with port 1935. The problems is that Firefox cannot display an alert identifying the problem, yet FF is preventing the Flash player from connecting to the streaming server because it wants to see the valid SSL bundle.
    Cheers,
    HoS

  • Aquisition des données via port COM ; LABVIEW

    Bonjour,
    Je suis entrain de réalisé un projet de groupe et je me suis chargé de la partie aquisition sur labview et il me reste seulement 3 semaine pour la soutenance. Projet controle d'accées: transpondeur
    J'ai réalisé les VI suivant
    Au début, on veut lire tous les codes des cartes à disposition et  les enregistrer .
    Mon problème c'est que je n'arrive pas à enregistrer  les données reçus dans un fichier tableur qui va contenir la liste des utilisateurs ( Noms +  codes des cartes ) autorisé à entrer . ( à partir de ce fichier tableur ,une fois établi, on va comparer  le code du badge présent  au niveau de l'unité de lecture avec les codes existants , et renvoyer la réponse ).
    Je veux donc lire les données sur le port COM puis , dans une seconde etape ajouter ces données dans un fichier tableur .
    Comment dois je faire ?
    Attachments:
    ajouter les données dans un tableur + date + heure.vi ‏80 KB
    aquisition_enregistrement.vi ‏77 KB

    bonjour,
    j'arrive à m'en sortie mnt pour la programmation du VI ; j'ai passé au test , mais là je rencontre des problèmes , j'effectue une communication serie avec un microcontroleur 16F877 , et lorssque je lance le VI , je recois cette trame \F0\F0\00\00\00, et directement ensuite l'erreur : L'erreur -1073807298 s'est produite à : VISA Read dans Controle d'acces.vi (  Raisons possibles :VISA:  (Hex 0xBFFF003E) Impossible d'effectuer l'opération à cause d'une erreur d'E/S.) . Est-ce que cela peut provenir de mon Vi  ? le voici en piece jointe
    Attachments:
    Controle d'acces.vi ‏25 KB

  • Applications hang and don't release when changing to another program.

    We run three very similar configurations on three computers running Adobe CS3 suite (illus, ind, photoshp, bridge, golive). Very often, every day, when we switch from one application to another, the previous program will not release from the memory and allow the second program to completely take over the screen. So, if I was in Illustrator to begin with, and then I switch to Indesign, the Indesign panels may appear, but the menu bar will still say Illustrator, and it will have Illustrators menu selections.
    This can easily happen going from Photoshop to Safari, or between the Apple programs. About the only exit strategy is to click directly on the Finder icon in the dock. Many times that will release the program, but very often we have to restart the program that won't let go (in my example that would be Illustrator).
    This has really become an annoyance and productivity killer.
    10.4.10 on Power Mac G5, on Power Mac G4, and sometimes on Intel iMac.
    The two PM computers have dual monitors.
    Any help would be appreciated.
    Thanks.
    Craig

    Rainer,
    The FieldPoint IAK File is used in application programs (e.g. LabVIEW, LabWindows/CVI, OPC) for channel names, handle information and scaling information. FP Open.vi launches the FieldPoint Server with the specified IAK file, and uses the information in the specified IAK file for scaling (serial modules require scaling on the computer, ethernet modules scale the data in the network module) but does not re-configure the IO modules according to the IAK file. Likewise, opening an IAK file in FieldPoint Explorer does not reconfigure the IO modules to match the IAK file. The only times that settings are synchronized between the IAK and the modules are when a)the Find Devices command is issued (config from modules loaded), b) the Channel Configuration wi
    ndow is opened (file or module config can be choosen) or c) a Snapshot command is issued (current settings of modules are stored).
    Currently, the FieldPoint Server VI's do not allow dynamic re-configuration of ranges. If you wish to dynamically reconfigure your module ranges, you will need to use the FieldPoint Optomux VI's, which are located under the RT sub-palette of FieldPoint. They are installed by default only if you have LabVIEW RT, so you may need to re-install FieldPoint Explorer (custom install) to get them. For more information on the Optomux commands, please see the FP-1000/1001 Programmers Reference Manual.
    Regards,
    Aaron

  • CachedRowSetImpl.acceptchanges(con) don't release the connection

    Hi all,
    i've have this problem using the CachedRowSetImpl tecnology.
    this is my code:
    CachedRowSet TargetTableCursor= new CachedRowSetImpl();
    ...I populate the cursor...
    ...I update the cursor
    ...I retrieve the connection con accros a poolconnection object
    ...I update to the Database with the following istructions
    TargetTableCursor.acceptChanges(con);
    con.close();
    at this point, the object con (the connection) it does not come destroyed.
    someone has an idea about this?
    thanks
    Emiliano

    Hi,
    It looks like you have some "wrong" concepts.
    First you say that:
    <b>Now in WS1, there is no schema</b>
    later on you are telling
    <b>have then check the command
    select * from SAPBOS.SVERS and it worked.</b>
    So, do you have a schema or don't you?
    Let me try to understand what you have done, for your description
    1) you have a system called BOS. On this system you have a schema called SAPBOS.
    2) you did a system copy from BOS to W1S. Guessing -> You did a restore from a BOS
    Now your SAPW1S has "dissapeared"
    am I understandin it properly?
    If so, you should think a little.
    You have restored a backup from BOS ( DB name BOS, SCHEMA BOS, tablespace names PSAPBOS ) into W1S
    Restoring a backup will not change the schema name ( AFAIK, there is no simple way of doing so )
    Restoring a backup will not change the tablespaces names ( in Oracle 10g you can do this, but has to be done manually )
    Restoring the backup will not change the DB name. The System copy procedure ask you to create a script that will perform this last change.
    So, at the end of the process you have a DB called W1S, with a schema called SAPBOS and tablespaces called PSAPBOS.
    As mentioned before there is no simple way of changing the schema name.
    If you <b>need/want/desire</b> to do so then you cannot use BACKUP/RESTORE for system copies. You must use the R3Load method ( take all data out of the DB and then take all the data in on the new system )

  • Récupérer les données du port de communication série

    Bonjour,
    Je pilote des moteurs pas à pas par Labview via des modules de commande moteurs.
    Je communique avec eux par la liaison série du PC.
    Ces modules de commandes me renvoie des informations en retour mais je ne sais pas comment les récupérer via Labview. J'ai essayé le "visa read" mais sans succès...
    Quelle méthode dois-je utiliser?
    Merci d'avance de vos réponses.
    Cordialement.

    Bonjour,
    Et merci d'avoir posté sur nos forums.
    Il nous manque quelques informations pour répondre à votre problème :
    - Est-ce que votre moteur est visible sous MAX ou sous le VISA Interactive Control ? Quel est le driver que voit votre instrument sous le gestionnaire de périphériques de Windows ?
    - Avez-vous cherché si des drivers existaient déjà pour votre instrument (fournis par le constructeur, ou téléchargeables ici )
    Par ailleurs, je vous suggère, avant d'essayer des VIs tout faits, d'essayer d'envoyer une commande simple et la lire. Pour cela, vous trouverez un ou deux exemples dans l'aide de LabVIEW (Aide-> Recherche d'exemples -> E/S Matérielles -> Série)
    Pour ce qui est de la réponse de Tinnitus, il se peut effectivement qu'un instrument ne marche pas très bien via VISA, mais mieux avec l'hyperterminal. Cela est dû aux caractères de terminaison employés, ou à la vitesse d'écriture vers l'instrument.
    Par ailleurs, quel est le type de commandes que vos moteurs accepte ?
    Cordialement,
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer

  • PO Release (Revoke PO Release after GR done )

    Scenario : PO is released.   GR is done and delivery is completed.
    Even after the GR being completely done, the release of the PO can be revoked !
    What is the business logic behind this? Once the GR is done completely with the tick Delivery completed indicator, SAP must not allow anyone to revoke the release of the PO.
    Can anyone give me a business scenario where it is required to revoke the release of the PO after the complete GR is done.
    Thanks..

    Hi,
    Scenario-1:
    1. Vendor sends the material with complete qunatity (=PO quantity) and GR is done for that -
    1st shipment
    2. Vendor sends material more qantity than ordered qunatity under the same PO number and business accepts that quntity, then the PO has to be modified to receive the extra qunatity.
    To do the modifications in the PO the release strategy has to be revoked.
    Such scenarios exists when business reuires the material continuosly and the material is to be in the stock.
    Scenario-2:
    Vendor is a manufacturer and is continuosly supplying the material as soon as he manufactures a consignment.
    In such cases also the above scenario is applicable if business is not willing to maintain a contract with the vendor (may be because contract is a legal document).
    Scenario-3:
    If vendor delivers the material on the date which is different than the PO delivery date and it is required for further reporting that the PO should have correct delivery date then the PO madifications are reuired.In this case also PO release strategy has to be revoked.
    It means there can be N number of scenarios where PO modification is required ( but the modification should be controled) after GR is done and hence PO release revoke is required.
    Cheers,
    Satish Purandare

  • Relevance Condition for released P.O. Don´t create the EH in EM

    Hello Experts,
    I have the following issue, I create a Relevance condition For an Application Object Type, in this case acording to ZPCM10_ITEM. The condition works like this:
    &UEKPO-Purchasing Doc&                >         1999999               and
    &UEKPO-Purchasing Doc&                <         3000000              
    )                                                                                and
    &UEKPO-Plant&                                  =          BPXX
    The condition works well, only create the PO into the range of numbers and with the plant. My problem is when i include into the condition the "Release indicator: Purchasing Document" according this:
    &UEKPO-Purchasing Doc&                >         1999999               and
    &UEKPO-Purchasing Doc&                <         3000000              
    )                                                                                and
    &UEKPO-Plant&                                  =          BPXX                   and
    &/SAPTRX/MM_PO_HDR-Re&            =          1
    I include the condition of the indicator = 1 (Released). In theory in EM we can only see the Purchase orders in Released Status, but when i execute ME28 Transaction, nothing happen and the P.O. don´t work in Event Management.
    Do i forget other step to reach the objective?
    I appreciate a lot your help and support.
    Thanks a lot and best regards.
    Julián.

    Hello Berthold,
    Thanks a lot by the function module, i really don´t knew it, was very helpful to identify my problem. As you explain, yes the condition result was F (false), so the EH was not created.
    We must to modify the condition, because our scenario is procurement visibility process and it works at P.O. Item level, so we cannot get this validation in the condition, we decide to create an expected event and registered this with the help of the User Exit EXIT_SAPMM06E_007.
    We decide this, because when we create the P.O. but don´t release this, ok, the EH was not created, but later when we release the P.O., the expected event extractor, don´t trigger, so the expected events extractor was not generated and this option was not useful for us, because we have an empty EH.
    So we use the Exit EXIT_SAPMM06E_007, to check the Event Release P.O. and send it to the Event Manager via calling the functions 'TRFC_SET_QUEUE_NAME' and '/SAPTRX/BAPI_EH_ADDEVENTMSG_02'.
    Thanks by your help Berthold and i appreciated a lot your opinion about this solution.
    Best regards,
    Julián.

  • Port for uTorrent - WRT54GC

    Hi,
    I need one  more help.
    I want to release ports for uTorrent.
    I have a WRT54GC router.
    I successfully logged in, and clicked on Applications and gaming, and I think there I should typed ports in the tab Port range forwarding.
    Since I'm not good at that stuff, and it's my first time doing it. I want to know what numbers are for Start and End port for uTorrent, or where can I find it. I have uTorrent 2.0.3 and I only found the current port (for incoming connections) in Setup guide. In Preferences and elsewhere I didn't find anything with 'port' in it.
    As for the Protocol I would go both (TCP and UDP), IP address is the same, and will check Enabled. I only don't know the Start and End port.
    Thanks in further and I appreciate the help! 
    Thanks,
    Aleks
    Solved!
    Go to Solution.

    Or should go on the tab Port range triggering. If so, what are the numbers of Triggered range and Forwarded range?

  • IOS Zone firewall (ZFW) & changing SSH listening port

    I'll have to check into the deetails again but I recall there being a way to change the listening port for SSH.  Not only do you have to configure SSH itself to listen on a new port but I think there was something about making the inbound interface part of a rotary group or something. 
    Anyway, my question is more about how the zone firewall reacts to this.  If I have inspect set for SSH, (or pass) and yet change the default port for it, does the IOS still know to take the configured action on the protocol?  I'll try to test this myself once I have an opportunity but may not be able to for several days, plus if anybody has anything further to add regarding any other implications this port change mgiht have, please share
    Thanks! 

    Hi Julio,
    You are ever helpful sir Howver, things are not making sense.
    Ok so to take it from the top. So far I have done the following:
    Router(config)#ip ssh port 2340 rotary 1
    Then:
    Router(config)#line vty 0 123 (123 = max # of vty lines, my actual # is different)
    Router(config-line)#rotary 1
    This of course does not make SSH on port 2340 work from the Internet zone to Self as I have not yet modified the firewall nor done the ip port-map command. It does work from the LAN side to Self since that zone-pair is more forgiving, however, it works on both 22 and 2340 which I thought odd since I thought the ip ssh command changes the SSH server listening port.
    I have not yet permanently set the ip port-map command. However I ran it once and then did a sh ip port-map ssh
    This showed system defined ssh port maps for tcp and udp on 22, and then my user defined one for tcp port 2340. Interesting that the system-defined ones are both UDP and TCP - I thought SSH was TCP only.
    According to the IOS command referendces (for release 15.2), I should not be able to remove the system-defined port map entries as it would give an error. However, I did no ip port-map ssh port tcp 22 and the same for the UDP entry and they disappeared - so now for sh ip port-map ssh I get no results returned. Yet, SSH still works on 22 and 2340.
    Be that as it may, after some further testing I've concluded that with or without use of the ip port-map ssh port tcp 2340 entry, SSH works (from LAN to Self) on either port 22 or 2340. It seems ip port-map has no effect on the SSH server itself (?). Or perhaps PAM is overridden by the ip ssh commands?
    So at that point I decided to stop testing, not doing anything with firewall yet, until I understand things better. So far, the IOS is very confusing in it's behavior.
    Changing the SSH server's listening port via ip ssh command to something other than 22 seems to not actually change anything, it just adds that port in addition to 22.
    Port-application mapping appears to have no effect on the SSH server (I have not tested whether ip ssh overrides PAM or vice versa)
    So far there seems to be no way to actually change port 22 usage - even "deleting" the PAM entry for ssh via 22 has no effect.
    Confusing!

  • I/O error with COM port

    I have a RS485 line going into COM5 of my PC. Using HyperTerminal, I can talk to my serial device. However, there are problems with LabVIEW VISA functions. I can open the connection. I/O errors were given when I try to read or write. Is this because LabVIEW does not support RS485? What can cause the I/O error? Thanks.

    Some tips,
    First off, computer com ports are only RS-232. Make sure you are using the RS-232 port on the
    ADAM-4570. Do you have to configure this port as RS-232 with Advantech software? If the ADAM is
    configured as RS-485, you won't be able to talk to it without an RS-232 to RS-485 converter. Stick
    with RS-232.
    Secondly, make sure you have shut down all other software that is using COM5. Only one application
    can use the port at a time and sometimes other applications don't release the port properly.
    If HyperTerminal can talk to the ADAM, then everything is configured properly for a LabVIEW app. Be
    sure to put a carriage return at the end of the command to the ADAM. HyperTerm does this
    automatically, LabVIEW doesn't. Start with the basi
    c commands you used with HyperTerminal.
    "sy" wrote in message news:[email protected]..
    > Good question. In fact, I think the problem stems from how COM5 is
    > mapped to my PC. As for the second question, I got the same I/O error
    > when using MAX. I believe that there is a conflict between NI
    > software and the software I use to map the RS485 line to COM5.
    >
    > I am using Advantech's ADAM 4570 module to convert a RS485 line to
    > ethernet. The ethernet cable goes into the PC. A software utility is
    > used to map the ethernet connection to COM5. It is conflict between
    > this utility and NI. Any idea on how to resolve the conflict? Thank
    > you.

Maybe you are looking for

  • How Does One Perform Initial Installation of T5 S/W on an Intel-based Apple MacBook Pro?

    Hello People, My old Palm Tungsten T5 died suddenly. I managed to secure an open box T5 from Amazon, and I tried to install on my new Apple MacBook Pro. The Palm software did not complete the install apparently due to the lack of a PowerPC processor.

  • Folders into pages

    How do I drag multiple folders from a drive onto pages from iWork so that it shows up as multiple documents in their correct folders?

  • Nokia 5800 unsigned driver in Vista x64

    Hi, i just brought the new Nokia 5800 touch screen phone.  When i try to plug the phone into my PC i am met with an error telling me that the drivers are not signed. I've installed the PC Suite software that came with my phone. Im running Windows Vis

  • Condition record deletion

    Gurus Please can some can explain me how to delete pricing condition record(permanently from the system). Not from the vk12T .code. can we or we can not? Thanks Kris

  • Request: UEFI BIOS for GTX660 TF 2GD5/OC

    My graphics card doesn't boot in Win 8.1 Secure Boot mode with current vbios. Bios version: 80.06.28.00.39 (P2030-0000) Bios rom: wikisend.com/download/394812/GK106.rom S/N: 602-V287-050B1305078760