AVReceive2 and AVTransmit2 not work the same...HELP
I am using AVReceive2 and AVTranmit2 in a programs I am developing. I have run the two programs as the standalones they are and I get the video or audio I send across. But in my program when the program calls up the routines it launches and only does a hand full of what it should do. It is also like the SessionListener, ControllerListener, and ReceiveStreamListener are missing. The program listens for a RTP connection to come in but it never completes the action when I know that there is a connection being attemped. The same istrue for the AVTransmit2 it does not create the RTP session that I know is supposed to go out. It is like skipping a large piece of code. Even though they are all contained correctly. If someone can give me an answer to why these two programs work out side of what I am doing and why they are not in what I am building it would be highly appreciated. ASAP I need this working by tomorrow morning. Thanks
public CommPt(String rcvr,String sender,String rcvr2) {
initComponents();
// System.out.println("start to receive signal");
// if (pick.equals("Receive")){
// at = new AVTransmit(new MediaLocator("vfw://0"),"192.168.1.101","22222",null,new MediaLocator("javasound://8000"));
// at.start();
// String argsv[]={"192.168.1.102/22222","192.168.1.102/22224"};
avReceive = new AVReceive(rcvr);
avReceive.start();
/* while((avReceive.getConnection()).equals("false")){//carlos
System.out.println("2");//carlos
if (!(avReceive.getConnection()).equals("failed")){//carlos
System.out.println("3");//carlos
avReceive =new AVReceive(rcvr2);//carlos
avReceive.start();//carlos
break;//carlos
}//carlos
}//carlos*/
/* if (!avReceive.initialize()) {
System.err.println("Failed to initialize the sessions.");
System.exit(-1);
// Check to see if AVReceive is done.
try {
while (!avReceive.isDone())
Thread.sleep(1000);
} catch (Exception e) {}
System.err.println("Exiting AVReceive");*/
// if (pick.equals("Transmit")){
Object stand=new Object();
// System.out.println("Start Time delay");
try{
Thread.sleep(5000);
catch(Exception ex){
System.err.println(ex);
// System.out.println("time delay ended");
String [] temp2;
temp2=sender.split("\\ ");
at = new AVTransmit(new MediaLocator(temp2[0]),temp2[1],temp2[2],null,new MediaLocator("javasound://8000"));
at.start();
}Edited by: Laughincrow on Nov 29, 2009 5:02 PM
Laughincrow wrote:
ASAP I need this working by tomorrow morning. ThanksI guess since it's tomrorow morning I shouldn't bother to comment on this thread...
P.S. If you don't want to take the time to remove your commented-out code that makes it nigh-on impossible to see what your code is actually doing, then why would anyone want to take the time to help you?
Similar Messages
-
Hi All,
Normally very quick to do so, I’ve been hesitant to upgrade to Mavericks based on so many issues being reported with Mail + Gmail.
Previously Apple released a fix for these issues and I still waited a while. This weekend I upgraded to Mavericks and Mail is definitely not working as I’d expect it.
Some of the things I notice include:
1) My saved mail folders, previously in alphabetical order, are now in reverse alphabetical order and dragging them to be in a different order has no effect
2) Previously when I clicked on a message and pressed Message > Remove Attachments the message would reappear in my inbox within a second or two, without the attachment. Now, the message simply disappears.
3) The little red icon no longer appears in the dock when a new message arrives
4) For my various accounts, signatures do not appear/disappear as I select a different From account (each of my accounts has different signatures).
Does anyone have thoughts on any of these items?
Thanks,Not an answer, but a repeat ...
I too have problem (2) -- Remove Attachment now makes the email in question disappear (in fact moving it to Archive).
Help would be appreciated.
(Have just moved from Lion to Mavericks.) -
I just got the iPhone 5 and noticed that the message alerts will only alert once . I have it set up as 3 times and its not working . Please help. I'm running 6.0.2 and I really starting to get ****** off with apple products
Instead of getting annoyed, read the User's Guide and try basic troubleshooting.
-
The nice man Joseph Shen helped me with my google problem on my iPhone and worked for 2 days and now not working again please help me solve this problem were I can retrieve my messages on the I phone when I am not at home on my wi Fi is the only time it works correct. Bill. [email protected] 708 752 3667
http://lifehacker.com/5852948/what-to-do-if-youve-forgotten-your-iphones-passcod e
-
i earsed my iphone frome icloud and it didn't never work it still loading for 3 hours and still not working ? please help me so fast
First man up and admit, that itunes does not suggest, but tells you that update is available and you made a
decision to download and update. Once you man up - think if you still under warranty. If that is not security
software according to the link provided, it is hardware. So second try another network, may be your network
has additional security or firewall. And third decide if it worth to you pay 149 for that phone or get it replaced.
Unless your 3gs under warranty. -
I keep pressing verify and it not working can you help me out , Thanks Please reply back .HELP!
Have you tried logging out of your account on the phone by tapping on your id in Settings > iTunes & App Stores and then logging back in and seeing if that 'refreshes' the account on it ?
If that doesn't work then you can contact iTunes support via this page (these are user-to-user forums, you are not talking to Apple here) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page -
Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)
Hi everyone,
I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
Thanksduplicate
Re: Oracle Forms 10G not working as Oracle Forms 6i -
Ive been following this and other forums since Yosemite came out few weeks back & i can see many other people are having this issue as well.
The issue is that I'm not able to make/receive calls on my MBP using my iPhone via continuity.
Ive tried all of the possible solutions made here and elsewhere on how to resolve this issue. [playing about with settings and iCloud]
When I'm at home all of the handoff and continuity features work apart from making and receiving calls. Tells me my mac and iPhone are not on the same wifi network, even though they are.
Now, the solution?
Now this is where tourbleshooting comes in. Ive taken my mac and to my homegirls house & all of the features worked including phonecalls, without changing anything, except?? THE ISP and the router at her house.
Personally i live in London, Uk. At home i have sky, and my girl has TalkTalk.
So im 99.9% sure this has nothing to do with the OS X, but rather its the ISP or the router.
Now I'm asking for help from anyone that understands the ISP's and routers, on what kind of issue there might be. Im no computer wiz kid, but I'm guessing it could be something that has to do with the NAT type. (Call of duty on ps3 haha) At my house its moderate and my homegirls - open? could that be the issue? if so are there any router settings i can play about to see if that solves the issue?
Thanks.
Please only post if you know what you're talking about because i don't want anyone giving me some next instructions for my router so i end up without internet what so ever haha And whoever is having the same problem, id appreciate if you'd post on this to keep the post aliveHey chrisfromdc,
If you are having an issue with your Mac being unregistered with iMessage and FaceTime, I would suggest that you troubleshoot using the steps in this article -
If you have difficulty activating FaceTime or iMessage - Apple Support
Thanks for using Apple Support Communities.
Be well,
Brett L -
I can sign in on the computer, but not on my ipad??? What's wrong? Help!
Thanks for your help. I had already done the "forget this device" but had forgotten about the part of entering the passcode with the keyboard in order to pair. I found my instruction sheet after I posted my cry for help and when I did the pairing procedure right, it worked. It's weird that it decided to unpair itself. Both my husband and our daughter have the same keyboard and neither of them have had this happen. At least now I know what to do if it happens in the future.
-
I have 2 sets of playlists in the sidebar of itunes. I have recently upgraded to 10.6.1.7 but this condition remains the same
The top list refers to greyed out listings and does not function
The list below works fine
How do I get rid of the "false" list?I think the greyed out playlists must be listed from your device which is set up to mirror your library. Because the device is synced you can't edit content directly on the device. From the top of the left-hand column do you have?
Library > Music, Movies...
Store > iTunes Store, iTunes Match...
Devices > <Your Device> > Music, Movies, and all the other "dummy" lists...
Genius > Genius, Genius Mixes...
Playlists > iTunes DJ, and then all your playlist folders and playlists...
If so then that is perfectly normal when your device is connected, either directly or over wi-fi and you have the lists expanded. Simply click the small triangle to the left of the device name to hide all the playlists.
tt2 -
My phone was working fine this am then I go to use it and there is a searching word in the left corner and I can not send a text or a call, i read what the online said to do and it did not work! Please help!
The searching is searching for your cell phone providor... without that being connect you will not be able to use your phone or text messages... try turning on Airplane mode for 30 seconds and turning it back off to see if it reboots the providor search.
-
Servlet jndi lookup to remote EJB, servlet and EJB not in the same application
Hi,
I think that the subject explain my problem.
I have Oracle IAS9i 9.0.2.0.0, and JDeveloper 9.0.2.829
I have deployed and EJB in IAS9i and i want to use from the developer machines, which have JDeveloper.
how can i to do remote calls from JDeveloper?.
I have modifed the orion-application.xml, and added remote=true.
I have modifed the rmi.xml and added the hosts where the Jdeveloper placed.
Any ideas?
Thanks and cheers
P.D The app server and jdeveloper are in the same net.
if it is posible replys me to [email protected] too.Steps to access a remote EJB from within OC4J
++++++++++++++++++++++++++++++++++++++++++++++
1) Deploy EJB application (ApplicationRemote) to remote container (REMOTE)
"java -jar admin.jar -deploy ormi://REMOTE.hostname:REMOTE.port REMOTE.username REMOTE.password -deploy -file ApplicationRemote.ear
-deploymentName ApplicationRemote"
2) Ensure that local application (ApplicationLocal) has ejb-ref tags for remote EJBs accessed (in web.xml or ejb-jar.xml)
3) Deploy to local container (LOCAL) an empty application (ApplicationEmpty) with the same name as the remote application (ApplicationRemote)
"java -jar admin.jar -deploy ormi://LOCAL.hostname:LOCAL.port LOCAL.username LOCAL.password -deploy -file ApplicationEmpty.ear -deploymentName
ApplicationRemote"
5) Deploy local application (ApplicationLocal) to local container (LOCAL)
"java -jar admin.jar -deploy ormi://LOCAL.hostname:LOCAL.port LOCAL.username LOCAL.password -deploy -file ApplicationLocal.ear -deploymentName
ApplicationLocal"
4)Restart local container
ApplicationEmpty should consist of just an application.xml file - no modules. The same file can be deployed with different application names for all the remote
applications that must be accessed.
ApplicationLocal should access the remote EJB by using the following JNDI properties
java.naming.factory.initial = "com.evermind.server.rmi.RMIInitialContextFactory"
java.naming.provider.url = "ormi://REMOTE.hostname:REMOTE.port/ApplicationRemote"
java.naming.security.principal = "REMOTE.username"
java.naming.security.credentials = "REMOTE.password"
regards
Debu Panda -
Help! Mac vs PC: Save As... dialog not working the same
Hi everyone need some quick help here please.
I have a friend on a Mac running CS2, trying to take a folder of TIFFs, and do a Save As to create JPGs.
1. For a single file, he opens the TIFF, hits File/Save As.
2. He selects JPG from the format dropdown
3. He sees that the predicted file size in the Size part of the dialog looks right
4. He actually saves the file
5. He goes to the folder where the JPG was created, and theres the JPG.
6. PROBLEM: The JPG file size is exactly the same as the original TIFF.
7. This happens no matter what JPG quality he selects. Different quality values change (appropriately) the predicted file size, but the end result is always the same.
8. On the PC, the dialogs the same, but you actually get a JPG thats far far smaller (so it really is compressed). And predicted file size matches the actual size of the JPG that gets created.
Any Mac gurus out there that know whats going on, and what the answer is?
We dont want to use Save For Web for huge number of reasons (including the loss of metadata, color profiles, resolution, etc.)
Thanks in advance for your quick help!
JerryIf you are accustomed to Windows, you know that the explorer view can sometimes give you incorrect information for a list of files. I've seen this a lot on Windows with thumbnail images that do not update properly.
The Mac Finder does the same thing, and i see the after effect the most with incorrect file size listings.
On Windows, you can refresh the view to bring everything up to date.
Mac has no refresh view, and it is an annoying omission on an otherwise very well designed user experience.
try selecting one of the individual images, type command-I (Get Info) and see what the size reported there is. If that is a more accurate size for a jpeg, then you are seeing the issue I describe.
the Mac OS, at least up til 10.4.11, lacks a refresh view feature, but you can get a free utility to do this for you, called Nudge. Check VersionTracker to find the download. -
Urgent - Things not working the same in server and local machine
Hi,
I have created an advanced table under advanced table as per the instructions in the dev guide. When the Add Row button is pressed in the parent table, I am inserting rows into the child VO and hence I should see rows in the child table in the UI. This is working fine in local machine. But when I deploy in the server it is not working. The child table is showing no search conducted. I have good OAF experience and have deployed things properly. But what could I be missing?Hi Sumit,
"If the Child VO is not getting executed, please check the code which is responsible to execute the child VO. Do pay attention to exit clauses (like if conditions which skips a clause) and pay attention. "
- If those things were a problem, it wouldn't have run in the local machine also right? Also, I ran diagnostics on the server and I can see the child VO is having the rows. It is something to do with the association of the child with the parent. But again: it's working fine on the local. That's what is bothering me and that's why I need some expert help. If you want, I can send you the page, controller and the AM ( 3 files)
Of course redeploying the entire code, importing pages and bouncing is an option that could be explored.
- Done that multiple times with a lot of care. Cleared Cache etc etc. -
Adobe Air ServerSocket not Working the same on XP/Vista/7
I'm having a strange problems with an air socket server i've written.
I have an Air application written using Flash Builder 4. It's basically a simple HTTP server. It's purpose it to open a server on a specific port and serve files (both html and swf) out to a web browser.
When i run the air application on my desktop (windows 7, firefox 4.0b11, ie8, flash builder 4 compiled with flex sck 4.1.0) everything works correctly. Whether i run the server through the Flash Builder debugger or actually do the full packaging and install as a standalone air app then run it using the Air Runtime like any user would. I load up the server, punch in the address from anywhere and the page loads, and the requested swf displays correctly. While the server is running on my desktop i've tested clients including Windows XP and Vista with IE8, HTC Evo4g Android phone, and the Playstation 3 browser. From any tested client with the server running on my desktop all requests are handled correctly and pages/swfs load and display correctly.
The problem comes when i run the air app on another computer. When i package it and install it on one of my two test systems (Windows XP and Windows Vista) things start to go wonky. The Air app loads on the two test systems but when a client tries to use their web browser to request a page things don't display correctly. The client can load the html file fine but the swf that it receives from the server does not display. I can check the log on the status server and see the HTTP GET being processed, and the file sent. However, the browser simply displays a blank box where the SWF should be. With the server running on either of my two test boxes (XP and Vista) the same clients who can connect and display html and swf's delivered from the server experience this problem.
I think i've eliminated browser request as the problem from testing different browsers on different OS's on each of the test installations. As best I can tell, the problem is with the server side of the app. The server uses the SocketServer class to listen for a connection and then writes out the HTML headers and content to the socket manually, i'm not using any external libraries for writing to the socket.
here's the code for writing to the socket when a swf is requested.
var content:ByteArray = new ByteArray();
var stream:FileStream = new FileStream();
stream.open(file, FileMode.READ);
stream.readBytes(content);
stream.close();
socket.writeUTFBytes("HTTP/1.1 200 OK\n");
socket.writeUTFBytes("Content-Type: application/x-shockwave-flash\r\n");
socket.writeUTFBytes("Content-Length: " + content.length + "\r\n\r\n");
socket.writeBytes(content);
I don't believe the problem is with the socket write since it works on my desktop but not when the server is running on another. I'm wondering if the problem is with an external system dependancy. Are there any external libraries, visual c++ runtimes, tcp/ip libraries that Air uses to fulfil requests to sockets on different operating systems/versions? I've been searching around the web and browsing through adobe live docs for a few hours on this but can't seem to find a resolution anywhere. If more detail is needed, please let me know. Any help would be much appreciated.I appreciate you taking the time to look at this. Good to know I'm not completely crazy, that makes me feel a little better.
The 178774 is bytesLoaded() and 1096810 is bytesTotal() as seen by the swf.
That's what i was experiencing. The issue you're seeing with it running on vista of the swf apparently only loading 180k of the 1 meg is what i'm experiencing. For me that happens when the server side of things is running on my XP or Vista machine. On Win 7 it works fine. Also, for mp3's it seems to only download the first couple seconds. When i stream an mp3 from the server it only plays a couple of seconds and stops.
Not sure if the index.html file that it serves out is small enough that it gets it in one cycle but for larger files it closes out the socket before sending all the data.
If i get some free time tomorrow i'll see about getting an Ubuntu virtual machine going and test it there as well. I don't have access to a mac to try it on OSX.
Maybe you are looking for
-
I Keep getting 'The file iTunes cannot be read because it was created by a newer version of iTunes' how do I fix this so iTunes will open on my computer. I am running Windows 7 and I think the last time I synced or tried to open iTunes I was running
-
The company I work for recently changed the email server to an exchange server with Outlook as the front end application. Before we had an Oracle conduit to interface our Outlook applicaton with the prior email server and I was able to sync my Treo 6
-
Upgrading windows 8.1 32 bit to 64 bit
I purchased windows 8.1 on the microsoft store and I selected the online download version, and it automatically installed as a 32 bit OS. I have looked for solutions on the forums and internet, but all of these solutions include a clean DVD reinstall
-
Datepicker mindate based on another item
Hi, Is it possible to change the mindate property of a date picker based on the value of another item? For example: P01_ITEM1 = datepicker P01_ITEM2 = datepicker I would like to set the mindate property of P01_ITEM2 as the selected date of P01_ITEM1.
-
Oracle Warehouse Builder Project Demo
Can the OWB Project demo run on Oracle 9i Release 2 and Oracle 9i Warehouse Builder? If yes, are all the steps in OWBDemoGuide.doc similar? Thanks.