What address i should i give to transmit and receive  web cam image

hi
I want to Know what address and port i have to give send and receive the web cam

The IP address should be the IP address of the computer that should receive your transmission. If you want all the computers on your subnet to receive the transmission, then use 255 as the last number in your IP address. For example, "192.168.1.40" can be used for a point to point transmission and "192.168.1.255" can be used for all computers that are on your subnet. .
The base Port number can be any port number that is not in use by any other service on your computer. For example, you can use "22222". Make sure that it is an even number. The first media track will be transmitted from the base port number. The next track will go to base port number plus 2 and so on.
Regards
Praveen.

Similar Messages

  • Hello guys I have a question,or rather a problem. how can I detach yourself iPhone operator Verizon USA? I mean as to call and what to say? I live in Ukraine, and the opportunity came up for to buy cheap 4S 16GB. but on Verizon. when I insert the original

    Hello guys I have a question,or rather a problem. how can I detach yourself iPhone operator Verizon USA? I mean as to call and what to say? I live in Ukraine, and the opportunity came up for to buy cheap 4S 16GB. but on Verizon. when I insert the original SIM card Verizon and I try to activate, says: (error occurred activation, if this problem happen again please call at +1................). this is the hour to use it through the R-SIM 9 pro. everything works нормальнои calls and Internet and SMS, but I want to officially unlock. beforehand thank you

    Well, you managed to find this support forum didn't you and you have an internet connection don't you?  Then if you have all these things, go and find the number by going to the Verizon website and it should not be hard to find the number.
    As for speaking English, this is not really our problem and it is surely something that you should have thought about before buying the phone in the first place.
    You also need to know that Verizon in the US is a cdma operator and if you purchased an iPhone 4s, then it should not be locked.  The Verizon 4s comes with a sim card tray that should be unlocked out of the box for use internatinoally on gsm networks, so all you should need to do is open the sim card tray and insert a sim card and you should pick up the local gsm network.
    A cdma phone does not actually use a sim card, so there would be no original sim card with the phone because when it is used in the US it will pick up the Verizon cdma network without a sim card.  The sim card is only for use on a gsm network which will not work in the US, but is designed to work outside the US.  Open the sim card tray and insert your own local sim card and the phone should work and should not be locked.
    Other than this, if you purchased the phone in the first place, it is the responsibility of the previous owner to cancel the Verizon contract.  This is nothing to do with you, so contact the seller and ask them.
    Other wise, go to the Verizon website and look up the number and call them.  As they are the phone company, ultimately, they are the only ones who can help you.

  • How can I transmit and receive messages using Vector CANTech CancardXL with LabVIEW?

    I'm a new LabVIEW user and I need transmit and receive CAN messages using a CancardXL from Vector CANTech with LabVIEW.
    Could somebody have any vi or suggestion?

    I made a set a LabVIEW VIs to work with Vector/Softing CANCards starting from an example program I downloaded from Softing. These use the Call Library Node to interface with the cards .dll.
    I can't give these out because they were developed for a customer. I would contact Vector and see if they have an example program for your card. Might be the same one I started with.
    [caution, salesman hat going]
    Of course if you need help developing the VIs, we'd more than happy to assist you.
    [remove saleman hat]
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Monitoring Transmit and Receive Error

    We have an monitoring system to monitor all the access points transmit and receive errors.
    There are four column name "Receive Error", "Receive Discard", "Transmit Error" and "Transmit Discards".
    I have notice that there are a lot of transmit discards packets than the rest of the columns for one of the AP.
    Is it normal for the packets of the AP to have transmit discards high?

    I notice that this AP the Dot11 driver runtime (1331728) is very high than normal Access point (78157)
    The rest of the process runtime looks equal.
    Is this indicate that the Dot11 driver is going to be faulty?
    Transmit Discards AP
    CPU utilization for five seconds: 0%/0%; one minute: 0%; five minutes: 0%
    PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
    22 127 10867611 0 0.00% 0.00% 0.00% 0 Per-Second Jobs
    23 218 2173540 0 0.00% 0.00% 0.00% 0 Compute load avg
    24 1134632 181178 6262 0.00% 0.00% 0.00% 0 Per-minute Jobs
    25 1331728 317947128 4 0.08% 0.02% 0.00% 0 Dot11 driver
    Normal AP
    CPU utilization for five seconds: 0%/0%; one minute: 0%; five minutes: 0%
    PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
    21 238 10867159 0 0.00% 0.00% 0.00% 0 TTY Background
    22 101 10867206 0 0.00% 0.00% 0.00% 0 Per-Second Jobs
    23 170 2173453 0 0.00% 0.00% 0.00% 0 Compute load avg
    24 1125336 181172 6211 0.00% 0.00% 0.00% 0 Per-minute Jobs
    25 78157 318443069 0 0.00% 0.00% 0.00% 0 Dot11 driver

  • Not able to Transmit and receive RTP in Linux

    Friends,
    I am not able to receive the RTP stream transmitted from another Linux machine though I was trying doing it with JMStudio. The transmit shows as if it is working properly and JMStudio in the receiver machine keeps waiting. Tranmission and receiving between the two same machines when in windows is fine.
    Can anyone tell me what the problem is, do I have to add any feature to make this work in Linux.
    Sreekant

    I too am unable to transmit OR recieve RTP from Linux (RedHat 8.0). I am using JMF-2.1.1e and J2SDK 1.4.2.
    I can play files on Linux and I can transmit and recieve between Win boxes (98 and 2K) but my RedHat (8.0 and/or 7.3) can not send or recieve to anyone or anything. I have tried JMStudio and RTPPlayerApplet.
    TCPDUMP says udp port 22224 unreachable [tos 0xc0]
    JMStudio says that no data has arrived.
    I have all firewalling turned off and have tested on two different networks without success. All other networking functions are operational.
    My problem is identicle to the problem decribed in the following linked post.
    http://forum.java.sun.com/thread.jsp?thread=154947&forum=28&message=966551
    I also found another discussion that referenced big/little endian problems in the JMF implementation. (scary stuff)
    http://www.vovida.org/pipermail/rtp/2001-April/000112.html
    Any help or tips on resolving this issue are welcome. I will be happy to supply more info if needed. Also, if anyone has managed to get RTP working on Linux then what versions Linux/JDK/JMF, what program?
    Thanks in advance.

  • Transmit and Receive different FlexRay frames

    I have a simple FlexRay transceiver step type written in CVI.  I'm using the FrameOutSinglePoint mode.  Currently it only transmits and receives specific frames.  The examples I used show defining these frames in the CreateSession.    I found in the documentation that you can pass in a list of possible frames as csv.  At that point the documentation gets vague. 
    It seems that only the first frame in the list is actually configured when executed.  I started my project based on the example Flexray Frame Single Point Out with DB.
    Is there an example of how to transmit different FlexRay frames without having to do another CreateSession?
    Thanks,
    Mick

    Hey Mick,
    What documentation are you talking about?
    Have you seen the example FlexRay Frame Output Queued?  I think that kinda sounds like what you're looking for.
    Best,
    Jeff S.
    National Instruments

  • Want to Transmit and Receive image file. Help??

    I m implementing OFDM transceiver using NI 5640 cards and data to process is an image file. Both transmitter and receiver are separete. Problem is that at receiver side i m not getting the image while transmitter is working properly according to my approach. Please help me......

    Hi Zaib,
    to convert arrays is pretty basic, maybe you should also attend here!
    1d to 2d: use a "build array" node (or use auto-indexing on the output of a FOR loop)
    2d to 1d: this depends on your goal. you may use "index array" to get a row or column from the 2d array. you can use "reshape array" to do reshaping. you may use auto-indexing on the input of a FOR loop. As said above, this depends on your goals...
    For your vis:
    Sorry, I can't access them from home as I only have LV7.1 available at the moment...
    Message Edited by GerdW on 05-18-2009 07:10 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Callback for transmit and receive

    NCTYPE_STATE _NCFUNC_ MyCallback (
                                        NCTYPE_OBJH       ObjHandle,
                                        NCTYPE_STATE      State,
                                        NCTYPE_STATUS     status,
                                        NCTYPE_ANY_P      RefData)
         if ( (State & NC_ST_WRITE_MULT  ) || (status == CanErrFunctionTimeout) )
              status = ncWrite(ObjHandle, sizeof(Transmit), &Transmit);
         else if  (State & NC_ST_READ_MULT)
          status = ncReadMult(ObjHandle,  sizeof(ReceiveBuf), (void *)ReceiveBuf, &ActualDataSize);
         ..... some other codes....
    my calls to callback:
    Transmit :      Status = ncCreateNotification (TxRx, NC_ST_WRITE_MULT, 100, NULL, MyCallback);
    Receive:        Status = ncCreateNotification (TxRx, NC_ST_READ_MULT, NC_DURATION_INFINITE, NULL, MyCallback);
    I provide two buttons to call either transmit or receive and when I run my program and call either one of these functions ONCE, the ncCreateNotification run continuously till my whole debugger hangs. I am using borland Cand USB-CAN. Can someone help me on this?

    Seems like I cannot create two objects at the same time. I am trying to create objects: TxObj and RxObj.
    Both values are the same. 0xA601A0.
    The flow of my program goes like this:
    - configure object through ncConfig and ncOpenObject
    - transmit by calling ncCreateNotification and I will call this from time to time if I wish to transmit any data. This function returns a 0.
    - receive by calling ncCreateNotification and this will return NC_ST_READ_AVAIL. I will only call this function once and it will return me data if there's any message sent.

  • What file format should my 16 x 16 and 32 x 32 icons been in when I choose custon icon option in applications builder?

    Hi
    I am having a problem uploading my icons in appliaction builder.
    I check the custom icon box and it asks me for a file.  My icons are two seperate files one the 16 x 16 icon and the other the 32 x 32 icon as icon (.icn) files
    I can only seem to upload one of these and I get a pop-up telling me the file I have uploaded does not contain all the necessary information, i.e. I can only upload either the 16 x 16 or the 32 x 32 icon.
    Does anybody know what I should do to get round this.
    Hope someone can help.
    Many thanks
    Ash

    I think that if you saved them as .ico instead of .icn, it would work.  Give it a try and let us know.
    Hope that this helps,
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Should I Give it Up and Go Back To Tiger?

    That's the decision I'm wrestling with right now. My issues are not legion. Mostly they revolve around three things: Stability, Usability and Speed.
    STABILITY:
    I get odd freezes and random program crashes that have now twice resulted in having to push the power button to reboot. The mouse moves, but nothing works, no menus, can't even bring up the Force Quit window to quit an offending app.
    In one day Mail crashed over-and-over until I could no longer use the computer and shut down and pulled out my PowerBook to send an email! After rebooting and fsck'ing and repairing Permissions the problem seemed to go away, but I have way too many crashes of even Apple programs that ought to be playing nicer with Leopard.
    I also get a LOT more bouncing beachballs with Leopard in almost every app than with Tiger. Although my main Mac is not Intel or even G5, I should still be well within the system requirements for Leopard with a dual 1.25GHz G4 with 1.75 GB of RAM. My system drive has over 100GB open (I have four internal drives equaling 1.3TB) and I keep all of my software updated.
    I do have one 2nd party PCI USB 2.0 card that doesn't require drivers and it works, but I haven't tested Leopard without that card, but I do have USB 2.0 devices that I need to run, so that alone would require a step backward if I couldn't run the USB 2.0 card because of some odd compatibility issue.
    USABILITY:
    Two things just irritate the heck out of me and one is a minor irritant that I probably just need to learn more about
    One is the lack of hierarchical menus in the dock. Unlike a lot of people I like Stacks, but I'd like to have the option to go seamlessly from a Stack to a hierarchical menu.
    The other is the inability to put a custom icon on a dock drive or folder. I have to create a dummy folder, put a blank space at the front of the name and use it as the icon for the item, but even then, all those icons behind it clutter up the look of the folder/drive and thus, the dock as a whole. There should be an option for having a SINGLE clean icon without going through odd gymnastic to get one!
    I have a very small issue with the behavior of Spotlight. In Tiger, a Spotlight search's results were displayed in a more quick and orderly way, at least that how it seems to me. In Leopard when you click "show all" although it categorizes them as I have it set up in Spotlight's preferences, there isn't a clear delineation between classifications and there is no "info" button to quickly see the path and general info for the file. To see info you have to right click and choose "Show Info" unless I am missing something.
    However, the addition of Boolean logic categories by option-clicking the plus sign or clicking to add categories to the search rules negates a lot of my gripe about Spotlight. I'd like to see it be as responsive as Tiger, but it's hard to argue with the ability to drill-down to exactly what you're looking for.
    But, Spotlight is also MUCH slower than Tiger's Spotlight which leads me to:
    SPEED:
    As mentioned, I have one of the fastest G4s and a dual processor to boot and I'm nearly maxed on RAM, so you'd think Leopard would run faster, but there is a general lag in usability across the board. Not a killer lag, but noticeable and the aforementioned beachballs pop up enough to add even MORE of an irritating lag to the process. I find myself hitting "Force Quit" a LOT more often and seeing "'program x has stopped responding" in the Force Quit menu.
    I like Leopard. There are some nice features that truly do improve the overall utility of the OS, so I think it's a good release, but there are just too many issues for me now, maybe because of my G4 PowerMac, it seems to have fewer issues (except for the speed thing) on my FW 800 Powerbook, but for now I want fast and logical and Tiger is all that.
    I will return to Leopard if I step back because it's just too good an update to ignore and it is after all, the future of Macs, but right now Leopard is killing my productivity. On more than one occasion I've lost data before saving when a crash happened and that was a VERY rare occurrence with Tiger.
    JoeL
    Message was edited by: joeldm

    Thanks for the responses!
    I always do a clean install, backing up, formatting the drive, etc. I find it reduces the number of issues overall.
    I was going to do a dual-boot setup with Tiger originally, but I've had such good luck with OS X updates that I wasn't concerned. But since I've had these problems, I hadn't revisited that option so, since I eventually will return to Leopard that may be a good solution.
    However, I just read elsewhere after writing this as one of you mentioned, that the 10.5.2 update is slated to be a big release with a lot of fixes, so that may be worth the wait before doing anything precipitous.
    There is one very odd thing, though . . . I have an iPhone and while I could sync without a problem initially, recently I've had some issues syncing until now I can't sync at all. I took the iPhone in and they swapped it out for a new phone, but I came home and had the same issues, so before returning to the Apple store I tried it on my PowerBook (running Leopard) and sure enough, it synced with no issues!
    So I'm wondering if there isn't some problem that may be hardware-related that is causing me to have more issues on the PowerMac side than on the PowerBook side? I think I need to strip the PowerMac down to its original components, basically unplug everything but the keyboard and mouse, remove that USB card and see what happens.
    It ran fine under Tiger so I'm not happy about having to do this, but hey, it's the price of progress and at least it's not that "other" OS!
    BTW, I think it's funny how some tech writers are trying, straining to compare the issues that some of us are having with Leopard with the Vista release which was an unmitigated disaster!
    I'm content to work through it until I find the same stability I had under Tiger with this new cat . . . let's hope the new update does the trick. Anyone heard a release date for 10.5.2?
    Thanks for the suggestions!
    JoeL

  • Transmit and receive from the same ip address?

    Helpers:
    We 've been using transmit/Receive for a while, I read all the discussions. No one seem really know does the transmit send to a destination IP address and the destination receive from the same IP or the IP address the sender send from?
    like sender send from: java Transmitter 123.4.3.162 5000
    receiver receive from: java Receive 123.4.3.162 5000
    or sender send from: java Transmitter 123.4.3.162 5000
    receiver receive from: java Receive 10.118.5.162 5000
    I think the frist one is correct, does anyone has clear idea and experience about it.
    Desperate coder!

    Receiver code is as follows
    import java.io.*;
    import java.awt.*;
    import java.net.*;
    import java.awt.event.*;
    import java.util.Vector;
    import javax.media.*;
    import javax.media.rtp.*;
    import javax.media.rtp.event.*;
    import javax.media.rtp.rtcp.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.format.AudioFormat;
    import javax.media.format.VideoFormat;
    import javax.media.Format;
    import javax.media.format.FormatChangeEvent;
    import javax.media.control.BufferControl;
    public class AVReceive2 implements ReceiveStreamListener, SessionListener,ControllerListener
    String sessions[] = null;
    RTPManager mgrs[] = null;
    Vector playerWindows = null;
    boolean dataReceived = false;
    Object dataSync = new Object();
    public AVReceive2(String sessions[])
              this.sessions = sessions;
    protected boolean initialize()
    try
              InetAddress ipAddr;
         SessionAddress localAddr = new SessionAddress();
              SessionAddress destAddr;
              mgrs = new RTPManager[sessions.length];
              playerWindows = new Vector();
              SessionLabel session;
              for (int i = 0; i < sessions.length; i++)
                   try
         session = new SessionLabel(sessions);
              catch (IllegalArgumentException e)
         System.err.println("Failed to parse the session address given: " + sessions[i]);
                        return false;
    System.err.println(" - Open RTP session for: addr: " + session.addr + " port: " + session.port + " ttl: " + session.ttl);
         mgrs[i] = (RTPManager) RTPManager.newInstance();
         mgrs[i].addSessionListener(this);
         mgrs[i].addReceiveStreamListener(this);
         ipAddr = InetAddress.getByName(session.addr);
              if( ipAddr.isMulticastAddress())
    // local and remote address pairs are identical:
    localAddr= new SessionAddress( ipAddr,session.port,session.ttl);
    destAddr = new SessionAddress( ipAddr,session.port,session.ttl);
                        else
    localAddr= new SessionAddress( InetAddress.getLocalHost(),session.port);
    destAddr = new SessionAddress( ipAddr, session.port);
              mgrs[i].initialize( localAddr);
    BufferControl bc = (BufferControl)mgrs[i].getControl("javax.media.control.BufferControl");
                        if (bc != null)
              bc.setBufferLength(350);
                   mgrs[i].addTarget(destAddr);
              catch (Exception e)
    System.err.println("Cannot create the RTP Session: " + e.getMessage());
    return false;
         long then = System.currentTimeMillis();
    long waitingPeriod = 30000; // wait for a maximum of 30 secs.
              try
              synchronized (dataSync)
    while (!dataReceived && System.currentTimeMillis() - then < waitingPeriod)
                        if (!dataReceived)
                                  System.err.println(" - Waiting for RTP data to arrive...");
                        dataSync.wait(1000);
              catch (Exception e) {}
              if (!dataReceived)
    System.err.println("No RTP data was received.");
              close();
              return false;
    return true;
    public boolean isDone()
              return playerWindows.size() == 0;
    protected void close()
              for (int i = 0; i < playerWindows.size(); i++)
              try
         ((PlayerWindow)playerWindows.elementAt(i)).close();
              catch (Exception e) {}
              playerWindows.removeAllElements();
         // close the RTP session.
              for (int i = 0; i < mgrs.length; i++)
              if (mgrs[i] != null)
    mgrs[i].removeTargets( "Closing session from AVReceive2");
    mgrs[i].dispose();
                        mgrs[i] = null;
    PlayerWindow find(Player p)
              for (int i = 0; i < playerWindows.size(); i++)
              PlayerWindow pw = (PlayerWindow)playerWindows.elementAt(i);
              if (pw.player == p)
                        return pw;
              return null;
    PlayerWindow find(ReceiveStream strm)
              for (int i = 0; i < playerWindows.size(); i++)
              PlayerWindow pw = (PlayerWindow)playerWindows.elementAt(i);
              if (pw.stream == strm)
                        return pw;
              return null;
    public synchronized void update(SessionEvent evt)
              if (evt instanceof NewParticipantEvent)
         Participant p = ((NewParticipantEvent)evt).getParticipant();
    System.err.println(" - A new participant had just joined: " + p.getCNAME());
    public synchronized void update( ReceiveStreamEvent evt)
         RTPManager mgr = (RTPManager)evt.getSource();
    Participant participant = evt.getParticipant();     // could be null.
    ReceiveStream stream = evt.getReceiveStream(); // could be null.
              if (evt instanceof RemotePayloadChangeEvent)
    System.err.println(" - Received an RTP PayloadChangeEvent.");
    System.err.println("Sorry, cannot handle payload change.");
              System.exit(0);
              else
              if (evt instanceof NewReceiveStreamEvent)
              try {
    stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
    DataSource ds = stream.getDataSource();
              // Find out the formats.
    RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
                        if (ctl != null)
    System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
                        else
    System.err.println(" - Recevied new RTP stream");
                        if (participant == null)
    System.err.println(" The sender of this stream had yet to be identified.");
                        else
    System.err.println(" The stream comes from: " + participant.getCNAME());
    // create a player by passing datasource to the Media Manager
    Player p = javax.media.Manager.createPlayer(ds);
                        if (p == null)
                        return;
                   p.addControllerListener(this);
                        p.realize();
         PlayerWindow pw = new PlayerWindow(p, stream);
         playerWindows.addElement(pw);
                   synchronized (dataSync)
                        dataReceived = true;
                        dataSync.notifyAll();
              catch (Exception e)
         System.err.println("NewReceiveStreamEvent exception " + e.getMessage());
                        return;
              else
              if (evt instanceof StreamMappedEvent)
                   if (stream != null && stream.getDataSource() != null)
                        DataSource ds = stream.getDataSource();
              // Find out the formats.
    RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
         System.err.println(" - The previously unidentified stream ");
                        if (ctl != null)
         System.err.println(" " + ctl.getFormat());
         System.err.println(" had now been identified as sent by: " + participant.getCNAME());
              else
              if (evt instanceof ByeEvent)
    System.err.println(" - Got \"bye\" from: " + participant.getCNAME());
              PlayerWindow pw = find(stream);
              if (pw != null)
                        pw.close();
              playerWindows.removeElement(pw);
    public synchronized void controllerUpdate(ControllerEvent ce)
              Player p = (Player)ce.getSourceController();
              if (p == null)
              return;
         // Get this when the internal players are realized.
              if (ce instanceof RealizeCompleteEvent)
              PlayerWindow pw = find(p);
              if (pw == null)
              // Some strange happened.
              System.err.println("Internal error!");
                        System.exit(-1);
              pw.initialize();
              pw.setVisible(true);
              p.start();
              if (ce instanceof ControllerErrorEvent)
              p.removeControllerListener(this);
              PlayerWindow pw = find(p);
              if (pw != null)
                        pw.close();
              playerWindows.removeElement(pw);
         System.err.println("AVReceive2 internal error: " + ce);
    class SessionLabel
              public String addr = null;
              public int port;
              public int ttl = 1;
    SessionLabel(String session) throws IllegalArgumentException
              int off;
              String portStr = null, ttlStr = null;
              if (session != null && session.length() > 0)
         while (session.length() > 1 && session.charAt(0) == '/')
              session = session.substring(1);
              // Now see if there's a addr specified.
                        off = session.indexOf('/');
                        if (off == -1)
                        if (!session.equals(""))
                   addr = session;
                        else
              addr = session.substring(0, off);
              session = session.substring(off + 1);
              // Now see if there's a port specified
              off = session.indexOf('/');
                        if (off == -1)
                        if (!session.equals(""))
                        portStr = session;
                             else
              portStr = session.substring(0, off);
              session = session.substring(off + 1);
              // Now see if there's a ttl specified
                                  off = session.indexOf('/');
                                  if (off == -1)
                                  if (!session.equals(""))
                                            ttlStr = session;
                   else
              ttlStr = session.substring(0, off);
              if (addr == null)
         throw new IllegalArgumentException();
              if (portStr != null)
                        try {
              Integer integer = Integer.valueOf(portStr);
                        if (integer != null)
                                  port = integer.intValue();
              catch (Throwable t)
              throw new IllegalArgumentException();
              else
              throw new IllegalArgumentException();
              if (ttlStr != null)
                        try {
              Integer integer = Integer.valueOf(ttlStr);
                        if (integer != null)
                   ttl = integer.intValue();
                        catch (Throwable t)
              throw new IllegalArgumentException();
    class PlayerWindow extends Frame {
         Player player;
         ReceiveStream stream;
         PlayerWindow(Player p, ReceiveStream strm) {
         player = p;
         stream = strm;
         public void initialize() {
         add(new PlayerPanel(player));
         public void close() {
         player.close();
         setVisible(false);
         dispose();
         public void addNotify() {
         super.addNotify();
         pack();
    class PlayerPanel extends Panel {
         Component vc, cc;
         PlayerPanel(Player p) {
         setLayout(new BorderLayout());
         if ((vc = p.getVisualComponent()) != null)
              add("Center", vc);
         if ((cc = p.getControlPanelComponent()) != null)
              add("South", cc);
         public Dimension getPreferredSize() {
         int w = 0, h = 0;
         if (vc != null) {
              Dimension size = vc.getPreferredSize();
              w = size.width;
              h = size.height;
         if (cc != null) {
              Dimension size = cc.getPreferredSize();
              if (w == 0)
              w = size.width;
              h += size.height;
         if (w < 160)
              w = 160;
         return new Dimension(w, h);
    public static void main(String args[])
              String[] argv = new String[2];
              argv[0] = "100.210.0.220/42050";
              argv[1] = "100.210.0.220/4002";
              AVReceive2 avReceive = new AVReceive2(argv);
              if (!avReceive.initialize())
         System.err.println("Failed to initialize the sessions.");
              System.exit(-1);
              try {
              while (!avReceive.isDone())
                        Thread.sleep(1000);
              } catch (Exception e) {}
              System.err.println("Exiting AVReceive2");

  • My new printer is apple AirPrint compatible .  All devices on on one remote.  How do I print from iPad.  What print app should I download.  Any and all help appreciated

    I do not know how to sync my iPad with my new canon airplay compatible printer.  They are both on the same remote server.  What app is best to download?  What do I do after that?

    If your printer is AirPrint compatible and you printer and iPad are on the same WiFi network, all that you have to do is to tap on the arrow icon in any app that you can print from and select Print from the window that pops up and this will pop up.
    You do not need additional software.

  • HT204411 What app store should be used for Aruba and the US virgin islands?

    When submiting an App to be listed, I don't see an obvious country for these islands?   

    There is no iTunes Store for Aruba. For the US Virgin Islands you would list the US iTunes Store, I believe, though I'd suggest confirming that residents of the USVI can indeed use the US Store.
    Regards.
    Message was edited by: varjak paw

  • Better WiFi transmit and receive on built-in SR520W antenna...

    All,
    We are using a SR520 with the latest IOS in an home office and also using the built-in WiFi.  What can we do to natively boost the antenna performance so we can walk more than 25 feet away from the SR520?
    Below is the section from the show run for what we have tried for better antenna TX/RX.
    interface Dot11Radio0
    no ip address
    ssid sr520
    speed basic-1.0 2.0 5.5 6.0 9.0 11.0 12.0 18.0 24.0 36.0 48.0 54.0
    station-role root
    antenna receive right
    antenna transmit right
    antenna gain 128
    Please advise.
    Thank you, John

    Hmmmm.  That doesn't seem right at all.
    The wifi analyzer isn't a perfect tool, but it sure helps.  For instance, channels 1, 6, and 11 are the only non-overlapping channels.  We make it a point to always set our APs for clients in one of these 3 channels.  The UC540W installations that we do often have a standard setting of channel 4 for some reason. . .
    In the event that don't have access to a wifi analyzer, you can use your 7921.  Open the toolbox, scroll down to "status", then select "site survey".  It will show you broadcasting SSIDs, channels, and RSSI (signal strength).  You should be seeing somewhere in the neighborhood of -45dB right in front of the SR520W, but it will degrade as you get further away.  Everything should work well until approximately -80dB.  At that point, I think you'll have some problems.  If you click on a specific SSID/channel, you can see more specific info, including a better view of the signal strength.  In this new page you will be able to see something like this:
    RSSI: -30(-43,-26)
    The -30 is the current RSSI, -43 is the lowest that the devices has seen, and the -26 is the highest that the device has seen.  This can be very helpful.
    Best practices include:
    1. Line of Sight works best.  Some materials scatter or absorb 2.4 GHz including wood, metal, etc.  You may notice that as you enter an office where you may be trying to communicate through a huge wooden cupboard that your coverage gets much worse.
    2. Other devices in the 2.4 GHz range can interfere with the signal.  This includes microwaves, cordless phones that operate in the 2.4GHz spectrum, and other devices
    3. Ensure that your antenna is tightly screwed onto the antenna port on the SR520
    Hopefully this helps.  Let me know what you find out.
    Seth

  • Need information for how to capture, transmit and receive a DTMF tone

    Hello every body
    I would like to implements the DTMF where i need some information that hoe i can
    1) Capture the tone mean when i press button 'one' it has to capture and generate a vaoice file.
    2) And i need to transmit the same thing to a remote system.
    3) At the remote system how i can reveive and identify that the tone is for 'one'.
    Thanks to ............. advance
    Sreenath Kulkarni

    JMF isn't the right tool - it's about handling media streams
    You could use it to capture the audio source, then obtain the audio samples,
    But you would then have to perfom some signal processing on it to interpret/decode for tone detection
    This is what should already be available via the JTAPI API (haven't checked but should do this sort of thing)
    ie you should be able to code up an application that receives 'DTMF Tone' events & does whatever you need to do in response
    This is what IVR systems do

Maybe you are looking for

  • Mid 2010 iMac - 10.6.6 is UTD?

    One of my iMacs won't update to 10.6.7 - it's running 10.6.6 right now and says that is UTD. It's not a concern at this very moment - but when Lion comes out next month - it will be. There is no anti-virus. Great internet connection. HW profile is Mo

  • Exit or Badi for controlling the change of user status in notification

    Hi, I want to check the current user status of notification while saving the notificaton. If the current user status satisifies particular situation, then the notification should be save else not. Is there any user exit or Badi which can be used to c

  • Move to another computer?

    I want to purchase the Student Edition of the Creative Suite Standard on bahalf of our children (whom we homeschool).  We are starting with an older iMac (~2008) and I need to be sure that if I purchase a newer, more powerful, Mac in the future that

  • Migration Assistant in Lion OS not working

    Installed Lion OS on both my iMac I7 and my Mac NoteBookPro with I7 processor. Tried to connect the two computers with Firewire but no luck. The remote HD pops up on the desktop but Migration Assistant cannot find the other computer, irrespective of

  • Using template template in CC 5.8

    I am trying to compile threadpool in CC 5.8 and am getting an eror Error: A class template name was expected instead of boost::threadpool::detail::SizePolicy<boost::threadpool::Pool>. -- corresponding to the friend declarations I suspect that the fri