This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.

Shailaja Murty

Greenhorn
+ Follow
since Mar 22, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Shailaja Murty

Hi
So for a streaming media server is the AVTransmit2.java alone needed or sufficient ?
My requirement is only to stream some mpeg files which I guess AVTransmit2.java does !!
Pls help .....
21 years ago
Hi
I have to develop a streaming media server in JMF . Does anyoen have any idea how to go about doing it ?
I guess AVTransmit2.java in the JMF samples is a good strating point... but I was wondering if i could use a genric player like the Real Player to play the media file instead of using AVReceive on teh client side !!!
Thanks
21 years ago
> Problem in detail:
> I have a Struct* to be passed from C++ to java.
> I have got a C++ library that uses a structure, say myStruct*
> Let us say there are 2 C++ functions with the following signatures:
> struct myStruct*structInit();
> void doSomething(myStruct*);
> I want to write a java program that calls structInit(), gets myStruct*and
> passes this struct*to doSomething. How do I go about it?
> I tried making it global in the JNI code and instead of passing it back to
> java, tried calling functions that modify/access Struct* in JNI code
> itself.... using functions like
> struct myStruct* somevar;
> void structInit() { ...}
> void doSomething() {..}
> Though this works in a java application. It does not work on the
> browser(using JSP and javaBeans)...when multiple requests are being
> served.
> The path the code follows is
> HTML file takes some input and makes a call to JSP which stores the input
> data in a java bean and makes JNI calls to C++ code above and displays the
> data in the browser. While debugging the entire code, I found the problem
> lies in the struct * pointer variable being accessed globally. The system
> crashes saying it references a wrong memory location.
> I would really appreciate if you could suggest me with some
> solution...some tips or some sample programs... I have been going through
> lot of JNI documentation but that does not seem to help me much.
> Email address for communication: [email protected]
> <mailto:[email protected]>
> -Shailaja
Reply Reply All Forward Delete Previous Next Close

------------------
23 years ago
I am currently looking out for Java jobs. I have degree in science and an experience of 1.4 yr as a software developer. How can I apply for job?
shailaja ([email protected])
24 years ago