Does anybody have a solution for the NAT problem?

Is somebody's application or Applet able to play any RTP stream behind a NAT Router? Can anybody establish any kind of connection / broadcasting between two subnets? I've got my RTP-Transmitter@public IP (using RTPManager...SendStream.start()), and I try to receive the stream from my local network which is behind a router (DHCP: 192.168....).
I read forums, newsgroups, looked for any solution for days all over the web but I've found nothing. Zero.
What's the secret? Any hints?
Best regards from Munich / Germany,
r.v.

Hi
I have the same problem.
I have one appletTransmitter that capture video from webcam and transmit it to other client on internet.
I try to transmit medialocator from appletTransmitter to servlet1 and then save MedialLocator as servlet attribute, then other client can connect to servlet2 that send saved MediaLocator to appletClient.
APPLETTRANSMITTER:
URL url=null;
MediaLocator media=new MediaLocator("vfw://0");
try{
url = new URL("http://localhost:8080/servlet1");
catch(MalformedURLException mue){mue.printStackTrace();}
URLConnection conn=null;
try{
conn = url.openConnection();
catch(IOException ioe){ioe.printStackTrace();}
conn.setDoOutput(true);
OutputStream os=null;
ObjectOutputStream oos=null;
InputStream in=null;
ObjectInputStream iin=null;
MediaLocator mResp=null;
String r=null;
try{
os=conn.getOutputStream();
oos=new ObjectOutputStream(os);
oos.writeObject(media);
//oos.writeObject("Prova Servlet");
oos.flush();
catch(IOException io){io.printStackTrace();}
catch(ClassNotFoundException cn){cn.printStackTrace();}
SERVLET1
ObjectInputStream objin = new ObjectInputStream(request.getInputStream());
MediaLocator ml =null;
try{
ml = (MediaLocator) objin.readObject();
context.setAttribute("media",ml);
catch(ClassNotFoundException e)
{e.printStackTrace()}
But on servlet1 there is a ClassNotFoundException: MediaLocator
What do we think about the solution and exception problem?
Best Regards,
Nico from Italy

Similar Messages

  • Does anybody have a solution for the following?

    A couple days ago I had a white screen on my ipod nano and now I have white lines going up and down the screen. I tried reseting it and it still did not work.

    it probably is the screen, did anything happen to it? did you drop it? get water?

  • Does anybody have a solution to such a problem?

    i want to put a jsp code inside a new window created by the javascript method( window.open())does anybody have a solution to such a problem?*

    the first page is:+*
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@ page import="java.sql.*" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <script>
    function test()
    frm=document.forms.form1;
    frm.action="homevisteDetails.jsp";
    window.open (&rdquo;homevisiteDetails.jsp");
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>homevisit Page</title>
    <%!
    private Connection con;
    private Statement state;
    private int i=0;
    private String fb;
    private ResultSet res;
    private ResultSet res1;
    private char selection;
    private ServletContext context;
    private HttpSession session;
    private void connect()
    throws ClassNotFoundException,SQLException
    context=this.getServletContext();
    con=(Connection)context.getAttribute("con");
    if(con==null)
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("jdbc:odbc:data","root","root");
    context.setAttribute("con",con);
    state=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
    }%>
    </head>
    <body>
    <%
    try
    connect();
    out.println(con);
    %>
    <form name="form1" method="post" action="homevisiteDetails.jsp" target="_blank">
    <%
    res=state.executeQuery("select * from homevisit join patient_data on homevisit.homevisit_patient_id=patient_data.patient_id");
    while(res.next())
    %>
    <label>
    <input type="radio" name="patient" value="<%=res.getShort("patient_id")%>">
    <%=res.getString("patient_name")%> : </label>
    <%}%>
    <label>
    <input type="submit" name="Submit" value="view visite details" onClick="test();">
    </label>
    </form>
    <%
    } catch( Exception ex)
    ex.printStackTrace();
    } %>
    </body>
    </html>
    *+_then i'd like to put this page in a new window:_+*
    <</strong><%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@ page import="java.sql.*" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <script>
    function test()
    frm=document.forms.form1;
    frm.action="homevisteDetails.jsp";
    window.open (&rdquo;homevisiteDetails.jsp");
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>homevisit Page</title>
    <%!
    private Connection con;
    private Statement state;
    private int i=0;
    private String fb;
    private ResultSet res;
    private ResultSet res1;
    private char selection;
    private ServletContext context;
    private HttpSession session;
    private void connect()
    throws ClassNotFoundException,SQLException
    context=this.getServletContext();
    con=(Connection)context.getAttribute("con");
    if(con==null)
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("jdbc:odbc:data","root","root");
    context.setAttribute("con",con);
    state=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
    }%>
    </head>
    <body>
    <%
    try
    connect();
    out.println(con);
    %>
    <form name="form1" method="post" action="homevisiteDetails.jsp" target="_blank">
    <%
    res=state.executeQuery("select * from homevisit join patient_data on homevisit.homevisit_patient_id=patient_data.patient_id");
    while(res.next())
    %>
    <label>
    <input type="radio" name="patient" value="<%=res.getShort("patient_id")%>">
    <%=res.getString("patient_name")%> : </label>
    <%}%>
    <label>
    <input type="submit" name="Submit" value="view visite details" onClick="test();">
    </label>
    </form>
    <%
    } catch( Exception ex)
    ex.printStackTrace();
    } %>
    </body>
    </html>

  • Does anyone have a solution for the unstability on ios6

    Hi, i have recently downloaded and installed the latest software, ios6.
       I really like the updated theme (i.e. I like the music player screen and the app store layout) However, i am sorely disappointed with the performance. The software is very unstable. Apps and games constantly crash. It isn't certain applications though, all the applications installed on my ipod constantly crash. App store is virtually impossible to use also as it crashes literally after every few seconds of use. It is also very slow. I was wondering if anybody knows of a solution or if there is a coming update to resolve the problem"s".

    Hi,
    Some of what you are describing is commun to a lot of user, some other not.
    For specific third party apps crashing, I guess you will have to wait until an update for iOS6 from the developpers.  As for the App Store crashing, some research in forums that this is to be spreaded to many users.  For this one, no options seems to efficienly handle the issue and therefore, we will have to wait until an Apple update.
    The fact that all your apps are crashing and that you got slow performances seems to be a more specific issue.  I think that performing a restore on your iPod should worth your time.  I personally got a few crashing apps as well as the AppStore but other than this, performaces are quite as with iOS5.

  • Does anybody have a solution for com.aladdin.hasplmd crashing continuously?

    HI everyone,
    Does anyone know which program is causing this continuous error?
    I found this discussion thread but I do not have a folder called HASP in Library/Application Support/
    Help needed with Lion Console message
    I also do not have the Hauptwerk Virtual Pipe Organ software as somebody in that discussion had eluded to.
    I do however have the x-rite i1 display pro installed but this issue started way before that device and software were installed
    Any advice/guidance on this issue would be greatly appreciated it.  Thanks in advance.
    Dec 31 05:03:43 My-iMaccom.apple.xpc.launchd[1] (com.aladdin.hasplmd[3859]): Service exited due to signal: Trace/BPT trap: 5
    Dec 31 05:03:43 My-iMac com.apple.xpc.launchd[1] (com.aladdin.hasplmd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    Dec 31 05:03:43 My-iMac ReportCrash[3857]: Saved crash report for hasplmd[3859] version ??? to /Library/Logs/DiagnosticReports/hasplmd_2014-12-31-050343_My-iMac.crash
    Dec 31 05:03:43 My-iMac ReportCrash[3857]: Removing excessive log: file:///Library/Logs/DiagnosticReports/hasplmd_2014-12-31-050021_My-iMac.crash
    Dec 31 05:03:53 My-iMac com.apple.xpc.launchd[1] (com.aladdin.hasplmd[3860]): Service exited due to signal: Trace/BPT trap: 5
    Dec 31 05:03:53 My-iMac com.apple.xpc.launchd[1] (com.aladdin.hasplmd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    Dec 31 05:03:53 My-iMac ReportCrash[3857]: Saved crash report for hasplmd[3860] version ??? to /Library/Logs/DiagnosticReports/hasplmd_2014-12-31-050353_My-iMac.crash
    Thanks for the help!

    Your problem is described here: http://www.xrite.com/product_overview.aspx?ID=1469&Action=support&SupportID=5526
    1) You can install an updated driver e.g. Sentinel HASP/LDK Mac OS X Run-time GUI Installation as stated in the article
    or
    2) Disable the hasplmd completely in terminal as admin:
    sudo launchctl unload -w /Library/LaunchDaemons/com.aladdin.hasplmd.plist
    Hope this helps

  • Does anyone have a solution for the I phone 4 acting as though it is sideways under most applications?  Is there a simple solution?

    My daughters I phone 4 acts as though it is sideways when being used for the camera, messaging, and music,  Shutting the phone off seemed to fix it the first time, but it has acted up again and that remedy no longer works.  Am I missing something in the settings ?  Is there a simple solution ?  Thanks

    Hi,
    Some of what you are describing is commun to a lot of user, some other not.
    For specific third party apps crashing, I guess you will have to wait until an update for iOS6 from the developpers.  As for the App Store crashing, some research in forums that this is to be spreaded to many users.  For this one, no options seems to efficienly handle the issue and therefore, we will have to wait until an Apple update.
    The fact that all your apps are crashing and that you got slow performances seems to be a more specific issue.  I think that performing a restore on your iPod should worth your time.  I personally got a few crashing apps as well as the AppStore but other than this, performaces are quite as with iOS5.

  • Does anybody have any solution for a non-functioning key on a macbook pro

    Product Name: Macbook Pro 13", 5,5, Mid 2009
    OSX:  10.6.8
    Description of problem:  The right arrow key will not work or function.
    Other details:  At startup, when a button either the Apple, Finder, File, etc are pressed the highlighter moves to the right and repeats moving to the right as if the right arrow key is stuck.  When another key (any) is pressed it stops and all other keys function properly.  The right arrow key will not work.
    Steps I have tried to resolve the issue.  Rebooting, SMC reset, removing key tab and cleaning.
    Any ideas????

    Hi JamilMereck,
    first of: you can edit previous posts in a time-frame of some minutes (haven't measured it ...).
    After that they become non-editable.
    I admit I have used microphones some years back with and without PCs (have switched to Macs 2.5 years ago).
    But I always had the mics connected to a mixing desk, which provided Phantom Power.
    Since I gave up my 'Singing Career' (wasn't good enough) I also abandoned the use of microphones.
    To your questions:
    It might be that PCs with specified Microphone-In ports are also providing power to them or the microphones themselves do not need any power.
    And the 'compatible with...' refers to the usage on computers in general.
    The iMic from Griffin works with OSX 10.5 (scroll down on the webpage to 'Product Compatibility' the left icon symbolizes OSX 10.5).
    As said above, I am no longer up-to-date in usage of microphones, but when you want to use a microphone with the standard connector you have to get either a microphone preamp or a mixer.
    If you use the mic only (really only) with your Mac Pro, you might wanna look for USB-connected mics from Samson or Audio Technica for example.
    And don't get upset, I understand you fully and any kind of 'insult' is for the manufacturers and not for me
    Stefan

  • Anyone have a solution for the ubiquitous problem of the printer not recognizing a new HP cartridge?

    I have seen other posts about the HP printers not recognizing that a new HP cartridge has been put in.  At the price of the cartridges, this is a most irritating problem, and apparently a weak spot with the HP printers.  Mine is not heavily used at all and this is the 2nd time it would not recognize.  Thanks.

    Please read this post then provide some details.  What printer model? What operating system?  Are there any error messages on the printer or computer screen?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • My display has quit working.  Does anyone have a solution for this problem?

    I have had my Verizon Jetpack MiFi 5510L for a couple of months now.  It has worked fine until a few days ago the display on it started looking strange and now has finally gone blank.  Does anyone have a solution for the problem?

    You can do both, whatever is more convenient to you.  As long as VZW gets its hands on the old device you will be good to go.  Replacements under the warranrty require the user to turn in the old device to VZW.  If your old device is not returned then you will be charged a fee for an entirely new device.  Purchasing a tracking number for a shipment of this kind would be a good idea if you choose to send it in.  Otherwise dropping it off at a store is the safest route you can take. 
    I would suggest contacting VZW phone support on this one and running through your options.  The VZW phone rep can coordinate a delivery to your local VZW store if they do not already have one in stock.  You can also turn in the old device in person to rule out any non-returned device fees.

  • I have installed the new iOS 5 on my Iphone 3GS and my bluetooth connection doesn't work anymore. Does anybody have a solution?

    I have installed the new iOS 5 on my Iphone 3GS and my bluetooth connection for my Philips bluetooth headset doesn't work anymore. Does anybody have a solution?
    I have checked the headset on another Iphone with iOS 4 and it works well.
    Thanks for your help!
    Pierre (from Paris - France)

    Bonjour Pierre,
    there seems to be a bug in iOS5 with regards to Bluetooth. THere are a lot of threads in here on this. We're all waiting for Apple to fix this...

  • I just received a new macbook pro. I am looking for a usb3 external storage 500 GB drive.  Some manufacturers of drives aren't for sure their drive will work with the new lion system. Does anybody have any suggestions for drives that will workw

    I just received a new macbook pro. I am looking for a usb3 external storage 500 GB drive.  Some manufacturers of drives aren't for sure their drive will work with the new  system. Does anybody have any suggestions for drives that will workw

    There seems to be a problem, just now, with the USB 3 ports on the new MBP's supporting eternal USB 3 drives. Some people have no luck at all - can't even recognize the drive - and some are reporting USB 2 speeds (those who drives are recognized). I'd call a dealer such as LaCie or OWC to see if they have USB 3 drives that actually work with MBP's with USB 3 ports. You may have to wait for a software/firmware update.
    Clinton

  • Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    I'm not sure I understand the connection between iCloud and this problem.  Is it simply a problem of coincidental timing (ie, the problem happened after you set up iCloud)?  If so, there's almost certainly no connection between these two events.
    Where are you getting the files you're trying to open, and what specifically happens when you try to open them?

  • Does anybody know any software for the Mac that I can run round robin, single and double elimination tournaments?

    Does anybody know any software for the Mac that I can run round robin, single and double elimination tournaments?  I help run tournaments but using excel for pool play and the web for bracket play, but if wifi is not available I have no way of running brackets for prize play.  Can some one help point me in the direction of software that I can use locally on my Mac Pro. 
    Thanks,
    Chris
    <E-mail Edited by Host>

    Splendid City Team Sports Scheduler, and Sports Scheduling Software System

  • Does EchoSign have a solution for forms that require more than 1 signature?

    We have a form that requires the employee to sign and the supervisor.  The employee and the supervisor are often at 2 different locations.  We want to use formscentral for the form.  We would like the form to go to the supervisor for their signature before it comes to our department.  Does echosign have a solution for form and signature process flow?

    If you are sending a document to be signed by multiple signers you will want to define the Role for the various fields. The Role is who is allowed  to interact with that field. By default the signers will sign in the order that their email addresses were entered into the To: field. It is important to keep this workflow in mind when setting up the signature fields.
    When a signature field is placed you can set the Role for that field (who can click to sign). Right click on the signature field for the 1st signer and select edit. This will open a window where you can define the options for that field. Select the 1st signers email address in the drop down list for the Role: field.
    Repeat this step to associate all the other signature fields for the other signers.
    Please watch this short tutorial video to see how to author a multi-signer document:
    https://www.echosign.adobe.com/en/misc/echosign-how-to-series-sending-to-multiple-signers. html

  • HT4335 Does Itunes have a solution for playing music in a business setting?

    Does Itunes have a solutions for playing music in a business setting?  Can you play your downloaded music in a business-overhead speakers?

    Presuming you are referring to the iTunes Store, tracks purchased from that service are for personal use only and are not licensed for use in any commercial setting. You will need to either find a commercial service to provide music (easiest by far, though perhaps not the cheapest), or buy the appropriate CDs and then obtain a license from the various rights clearinghouses for playback in commercial use.
    Regards.

Maybe you are looking for

  • MAJOR PROBLEMS WITH IPHONE 3G AND MICROSOFT EXCHANGE!!!! PLEASE HELP!!!!

    Ok, My exchange server at work was synced to my iphone and has worked with no issues. I then exchanged my phone because there were issues with my bluetooth not syncing properly. So with this new phone, it prompts me to enter in my exchange server pas

  • Slow Shutdown (added log-file)

    Hello Support Community, my 10.8.2 mpb is shutting down really slow. I already repaired the disk perimissions and the dis itself via disk utility, cleared my chaches, booted in safe-mode and tried to close all programmes and dismount all devices bevo

  • Mp3 version not appearing in library

    Hello I am using iTunes 11 and I am trying to use the "create mp3 version" option. The process runs and the file is created and saved on my Mac, but it does not appear in the library as it used to in previous versions of iTunes. Has anyone else exper

  • H1 footage & premiere deinterlace encoder questions.

    Hi all, I recorded some footage on a H1 in 60i HD (HDV). Used Premiere CS3 preset HDV 1080i 30 (60i) to capture it. Capture question... 1. Should i buy cineform aspect or prospect HD to convert it before editing in premiere CS3? Adobe media encoder q

  • Final cut express-photo??

    Does anyone know if you can capture a frame and make it into a photo??