Win a copy of Head First Android this week in the Android forum!

Sofia Brenes

Greenhorn
+ Follow
since Nov 30, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sofia Brenes

I couldn't figure out what the problem was with my browser, I solved it using the common solution to everything, uninstalling the SDK and installing it again, maybe this will work for you too.
18 years ago
Hi,
I'm trying to run applets on IE6, but even though both the Registry keys and the Internet Advanced Options have the Use Java 2 for <applet> option selected, and I have the j2sdk 1.4.2.01 installed on my machine, it will prompt for download of a JVM. It will then redirect me to the MS page where they say they're no longer supporting JVM etc etc
It's as if the web browser is not finding my Java installation at all. Anything I should check or any ideas?
Thanks
18 years ago
Hi,
I downloaded Apache 2.0 and installed it on a Red Hat machine (by the way, how do I check what Red Hat version?)
I followed the instructions and the only change I did to the httpd.conf file was to set the Listen line to the machine's IP address instead of 0.0.0.0 and I also changed the port to a higher one. The rest are the default values that come with the httpd.conf file.
When I try to do http://localhost from a web browser I get a 403 Permission error, and on the error logs, a new line is appended:
[Date] [error] [client IP] (13) Permission denied: access to / denied
What do I need to change in the config file? How do I enable permissions?
Remeber, this is when performing localhost I'm not on another machine. So far, I've just followed the installations instrucionts, including the last one for testing that installation was successful and that's when I get this problem.
Thanks!
18 years ago
I found the problem solution,
When you set a SourceDescription to a SendStream or to a Participant, this will not change the SourceDescription that comes with any event's SendStream or Participant, this will always remain as the value you set in the initialization method, or the default values if none were specified. A RemoteListener needs to be registered, and then listen for the SenderReportEvent, and on this event you will find the SourceDescription on the Report object. It might not always come on the first report, but rather in the 3rd or 4th sometimes. But eventually it'll be there.
End of thread.
Sofia
18 years ago
Just to add something to make things clearer, when I say I get the SourceDescriptions from the ReceiveStream in the server, I get them from the SenderReport that came on the ReceiveStream, which according to the documentation is where RTCP packets should be sent, but the information I added is not there either.
18 years ago
Hi,
I'm developing a voiceChat client using RTPManagers.
I'm trying to send some additional information with a sendStream once I've created it, information that may change dinamically so I can't set it on the SourceDescription list when initializing a session, so I'm trying to do the following:
try {
_sendStream = _rtpMgr.createSendStream (_dataOutput, 0);
SourceDescription[] sourceList = new SourceDescription[1];
sourceList[0] = new SourceDescription
(SourceDescription.SOURCE_DESC_NOTE, "myInfo", 1, false);
_sendStream.setSourceDescription (sourceList);
_sendStream.start();
}
catch (Exception xcp) {
xcp.printStackTrace();
}
Right after I call start() on the sendStream, I print out its sourceDescriptors and there is the additional information I put in it.
Now, on the server, I have the listener for the NewReceiveStreamEvent, and I get the ReceiveStream for that corresponding SendStream I just created, but when I get the SourceDescriptions from it, my information is gone.
I don't know if the problem is that I created this SourceDescription on a SendStream object and now this is a ReceiveStreamObject. Also I don't know if this information is being sent through the control port or control part of the RTP protocol which I'm not familiar with, so:
1. If anybody knows how to correctly set a sourceDescription on the SendStream and read these data on the ReceiveStream
or
2. If this data is being sent on the control part of RTP, which is the way to access it, or the listener?
Thanks all for your help.
Sofia
18 years ago
Hi,
I am having BIG problems with a JSplitPane and its setDividerLocation method, it is not working the way it should.
I have a JSplitPane with a Horizontal split. Once it is created, I try to dinamically change the size of the right component, but I need for the divider to stay at the location it was before I changed the size of the right component, so before I change the size I get the dividerLocation, store it, and at the end, tell the splitPane to place the divider again at that location by using its setDividerLocation method, and it just won't work, the split pane will move the divider to the right, making the left component bigger.
The resizeWeight shouldn't matter since I am telling the divider to be placed at a specific location, anybody know if this is common or if I am doing something wrong?
Thanks
18 years ago
Hello, I am trying to develop an application on Personal Java for Windows CE, but am having trouble if using packages, with the Manifest File. The program runs perfectly on my desktop PC, and I've checked the Manifest File often enough, to make sure it's okay, and everything is perfect. The only conclusion I can come to is that Personal Java doesn't support packages, or that there is another procedure to run programs with packages, does anybody know the definite answer?
Thank you.
19 years ago