JMF Applet without client side installation

Hello everybody,
is it possible that a client (applet in browser) receives a video-stream (from a server) without having jmf installed on its local disk?
Thanks for any advice
Chris

Yeah, if you make your applet link to the JMF.jar file and use a video format supported by the cross-platform pack.

Similar Messages

  • JMF Applet without JMF installed

    How can I run the JMF Applet without installing JMF on very client before?
    I already tried to archive the jmf.jar and sound.jar and I found a code:
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="100%" height="100%" codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0"></p>
         <param name="java_code" value="javamediaplayer.SimplePlayerApplet">
         <param name="java_codebase" value="browser/applet/">
         <param name="java_archive" value="javamediaplayer.jar,jmf.jar">
         <param name="type" value="application/x-java-applet;version=1.3">
         <param name="FILE" value="myAudioFile.wav">
    but I don't know how to use it!!!
    PLEASE help me!!!!
    THX!

    Hi
    I wrote this code to play my JMF applet:
    <applet
    code=simpleplayerapplet.SimplePlayerApplet
    ARCHIVE="jmf.jar,customizer.jar,mediaplayer.jar,multiplayer.jar,sound.jar"
    width=320 height=300>
    <param name=file value="musica.mp3">
    </applet>
    It works fine, and the applet starts normally. I have another kind of problem: what I want to play is an mp3. So I downloaded the Sun mp3 plg-in and installed it in my test machine, wich have JMF installed. The applet runs ok. But when I try to test in a machine without JMF (but with the Sun mp3 plug-in installed) i get the Unable to handle format: mpeglayer3 exception. I won't print the stack trace because is a common exception related with the plug-in. What am I doing wrong? I thought that the plug-in was necessary and sufficient for a client to play my test applet.

  • Running JMF applet without JMF?

    How can I get my JMF applets to run on a users machine without JMF installed on their machine?
    Can I emded a JMF plugin in the HTML code (just enough to let them run the applet!) ?
    thanks

    please dont cry.....
    one thing is u need to send all the class files required for the applet to run on the client side.
    below is the code to detect for the plug in for ie and netscape:
    out.println("<body bgColor=\"#EEEEE0\">");
                        out.println("<h1 align=center>Aspire Chat</h1>");
                        out.println("<table border=1 align=\"center\"><tr><td>");
    //                    out.println("<OBJECT classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" width=\"400\" height=\"400\" align=\"centre\" codebase=\"http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0\">");
                        out.println("<OBJECT classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" width=\"400\" height=\"400\" align=\"centre\" codebase=\"http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win.cab\">");
                        out.println("<PARAM NAME=\"code\" VALUE=\"Vapp.class\">");
                        out.println("<PARAM NAME=\"codebase\" VALUE=\"http://"+host+":8080/aspire\">");
    // out.println("<PARAM NAME=\"archive\" VALUE=\"AspireChat.jar\">");//, sound.jar, jmf.jar
    out.println("<PARAM NAME=\"archive\" VALUE=\"Aspire.jar, jmf.jar\">");//, sound.jar, jmf.jar
         out.println("<PARAM NAME=\"type\" VALUE=\"application/x-java-applet;version=1.4\">");
    out.println("<PARAM NAME=\"scriptable\" VALUE=\"true\">");

  • Webservice without client side interface

    Is there a way to call a webservice from the client side with out having any jar or interface used in the client side?
    Can you recommend me some good links on this?
    Thanks

    The most flexible client invocation method is DII (Dynamic Invocation Interface). With this approach your client needs just the standard JAX-RPC JARs from the JWSDP, but it doesn't need any runtime classes generated by WSDL to Java mapping tools.
    The following link has some DII examples as well as comparisons with the other types of client invocations:
    http://www-128.ibm.com/developerworks/webservices/library/ws-javaclient/

  • JMF Applet without JMF installed on clients ? A solution ?

    Hi all. I have compiled RTPPlayerApplet sample downloaded from Sun's web. After comment some "error" lines, I got it working on my client machine with JMF installed.
    I have searched for this solution on forums, but didnt find how to solve this:
    I want that clients only need to have installed JRE, and not JMF. I have read that it can be possible telling in the HTML of the applet that "loads" jmf.jar file, and some others...
    I have tried it, and the applet loads without any error on my client machine without JMF installed, but it doesnt start to play...
    Any suggestion ?
    Does anyone got RTPPlayerApplet working on client machine without JMF installed ?
    Thanks for your help
    John

    I want that ... HTML code is placed).
    I can understand your reasons for not wanting to bother clients with installing the JMF. However, please understand the negative side effect of this approach. If nine other organisations supply your client a JMF-based applet in the same way, the client would be downloading the same JMF jar ten times. Don't even think about patches and upgrades that would require JMF jar updates. If you rely on framework components, don't be shy with distributing the framework where needed.
    And i think that also could be possible ... decrease the size of the file...
    If you compile only the source code of the JMF classes you use or perhaps create a new jar file in which you copy only the JMF classes you've used, this should work. However, for reasons mentioned earlier, this is not quite as user-friendly as it may seem at first glance.
    Think of the JMF as something like Microsoft DirectX. When you install a game that needs DirectX, it checks and -if necessary- installs a complete, new version of DirectX.

  • Jmf applets without jmf installed?

    i completed an application in which i can receive and broadcast audio and video over the lan/internet.
    but i have a restriction now. this only works if the target computer has jmf installed in it.
    I am actually developing an application which works like a live tv on the internet. but as i said, it is restricted only to the computer with jmf installed.
    can others who dont have the jmf installed get the applets running? i heard that i can compress the class files in .jar format and send it. but i dont know the method. and i also dont know if its going to workout.
    once again: if u go to my website, an applet loads and you have to watch my broadcast. i did the part but i am not able to integrate it into the pc's which dont have jmf installed.
    any kind of idea would be greatly appreciated.
    thanks

    As I remember there were some topics exactly matches your (even a name).
    You can just read them - they were answered.
    RTFM.
    Read forum below.
    You cant run JMF without installing.
    You can make a part of JMF to be "installed".
    Search forum.

  • Is it possible to run applet without JRE

    hello friends,
    Presently I hava developed chating application. Now I want to download my applet on client side and run ther wether client's computer has JRE or not.
    so is it possible to run applet on computer which doesnt have JRE?
    Thanks in advance

    Not unless you create an executable file and jam the whole JRE into it.

  • Client side caching

    Hi all,
    I wonder how client side caching (in memory) would work with BlazeDS.
    There was a project called FAST that would support client side caching for Remoting:
    http://www.adobe.com/devnet/flex/articles/fast_userguide.html, but this doesn't seem to work for Flex 3.
    Do I have to invent my own caching mechanism?
    Without client side caching support I don't see how an application build on BlazeDS remoting would ever scale to many users.
    Regards,
    Markus

    Hi Markus. I took a look at that FAST project. There isn't anything like that in BlazeDS currently. It probably wouldn't be too hard to port that code to make it work with Flex 3 but it's usefulness looks somewhat limited. There doesn't look to be any way to timeout a request that has been cached for example which I think most people would want. If you think this is something that would be useful you can log an enhancement request in Jira.
    http://bugs.adobe.com/jira/browse/BLZ
    As to your point about not seeing how an application built on BlazeDS remoting would scale, I think it's a fairly common practice to not expose functions to the end user that directly call backend services. It's pretty straightforward, for example, to request some data when the application loads and then refresh the data at some interval. You don't need a caching API to do this.
    -Alex

  • Applet without JMF installation at client side

    hello,
    I am trying developing an applet SIP phone based on Jain Sip Applet Phone( which originally can only deal with audio signal). But I found a big problem that I have to make every client install the JMF, however the clients hope there is no software to be installed locally.
    In application, I can run it without JMF installation by copying all the dlls to system32 directory and add some related JMF source code into my own project. Or just simply put the jmf.property to the "lib" directory, which also works.
    However, as for the applet, it dosen't that simple for the security thing. Here is the output in cosole:
    @mediaManager.detectSupportedCodes- number of capture devices: 2
    - name of the capture device: JavaSound audio capture
    - format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - name of the capture device: vfw:Microsoft WDM Image Capture (Win32):0
    - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=352,height=288] MaxDataLength = 202752 DataType = class [B yuvType = 32 StrideY = 704 StrideUV = 704 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 38400 DataType = class [B yuvType = 32 StrideY = 320 StrideUV = 320 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 50688 DataType = class [B yuvType = 32 StrideY = 352 StrideUV = 352 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 153600 DataType = class [B yuvType = 32 StrideY = 640 StrideUV = 640 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=640,height=480] MaxDataLength = 614400 DataType = class [B yuvType = 32 StrideY = 1280 StrideUV = 1280 OffsetY = 0 OffsetU = 1 OffsetV = 3
    java.lang.RuntimeException: No permission to capture from applets
    -> Couldn't connect to audio capture device
    java.lang.RuntimeException: No permission to capture from applets
    -> Couldn't connect to video capture device
          I found that my applet can detect two device which is correct but has "no permission to capture from applets".
          In the progress of installation the JMF, and option is "permit recording from an applet". I read the source code, and found it dose the following works:
          if I choose "permit recording from an applet",  then "allowCapture=1", and in "settingPanel.java" it dose:
         "boolean allowCapture = checkAllowCapture.getState();
          Registry.set("secure.allowCaptureFromApplets", new Boolean(allowCapture));"
          I want to do what the installation progress did to give permition to applet, however, when I do the following:
           private static final String PROP_ALLOW_CAPTURE_FROM_APPLETS
            = "secure.allowCaptureFromApplets";
           Registry.set(PROP_ALLOW_CAPTURE_FROM_APPLETS, new Boolean(true));
           Registry.commit();
          in my project , it throws exception like this: "Failed to initially commit JMFRegistry. Ignoring err.java.lang.SecurityException: commit: Permission denied"
          The code which i thought could give applet the rights is denied.
          Till now, I have also read some similar questions in different forums, but there is no good answer.
          Can you help me? Is there any possibility to run the applet without installation on the client side ? Is my method right? If not, how should I do?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    xljiayuan wrote:
    ..I am trying developing an applet SIP phone based on Jain Sip Applet Phone( which originally can only deal with audio signal). If this is pure audio, can it be done using JavaSound?
    ..But I found a big problem that I have to make every client install the JMF, however the clients hope there is no software to be installed locally.To run an applet, the applet needs to be 'installed' on the user machine. Same with anything else.
    BTW - have you investigated JavaFX? It is effectively the replacement for JMF, and possibly has a better end-user experience than trying to install JMF.
    However, as for the applet, it dosen't that simple for the security thing. Here is the output in cosole:
    in my project , it throws exception like this: "Failed to initially commit JMFRegistry. Ignoring err.java.lang.SecurityException: commit: Permission denied"Is your applet digitally signed? If not, it has no hope of intercepting sound on the client. It is that simple.
    Imagine if you visited a web page with a 1px x 1px applet (effectively invisible) that could hear everything you say, and transmit it back to the server. Sun is not about to allow that, unless the end-user has granted the applet extended permissions.

  • How to run JMF Applet on a machine without JMF installed

    Hi
    I have found many question about that but I don't undertand reply.
    I want display a JMF Applet on a machine without JMF installed. This PCs browser is the Netscape navigator 4.78
    I have restrictions, I can't install anything on a client machine. What can I make ?
    Is there solutions ?
    Is it possible to install few components to run the JMF Applet and desinstall it properly ?
    Thanks.
    Sorry I don't speak well english.

    private void detectDevices(Label la) {
    // Check if VFWAuto or SunVideoAuto is available
    Class directAudio = null;
    Class autoAudio = null;
    Class autoVideo = null;
    Class autoVideoPlus = null;
    Object instanceAudio;
    Object instanceVideo;
    Object instanceVideoPlus;
    try {
    directAudio = Class.forName("DirectSoundAuto");
    } catch (Exception e) {
    try {
    autoAudio = Class.forName("JavaSoundAuto");
    } catch (Exception e) {
    try {
    autoVideo = Class.forName("VFWAuto");
    } catch (Exception e) {
    if (autoVideo == null) {
    try {
    autoVideo = Class.forName("SunVideoAuto");
    } catch (Exception ee) {
    try {
    autoVideoPlus = Class.forName("SunVideoPlusAuto");
    } catch (Exception ee) {
    if (autoVideo == null) {
    try {
    autoVideo = Class.forName("V4LAuto");
    } catch (Exception eee) {
    if (directAudio == null && autoAudio == null &&
    autoVideo == null && autoVideoPlus == null) {
    return;
    try {
    if (directAudio != null) {
    instanceAudio = directAudio.newInstance();
    la.setText("loading....dirver:"+directAudio.getName());
    if (autoAudio != null) {
    instanceAudio = autoAudio.newInstance();
    la.setText("loading....dirver:"+autoAudio.getName());
    if (autoVideo != null) {
    instanceVideo = autoVideo.newInstance();
    la.setText("loading....dirver:"+autoVideo.getName());
    if (autoVideoPlus != null) {
    instanceVideoPlus = autoVideoPlus.newInstance();
    la.setText("loading....dirver:"+autoVideoPlus.getName());
    } catch (ThreadDeath td) {
    throw td;
    } catch (Throwable t) {
    call this function for init

  • Headstart 6i installation - HTTP client side servers?

    We are performing the headstart 6i client side install and are confused as to the client software requirements.
    Is it necessary to install a HTTP listener on each client that is to be used for development. Or can we use the server based listener(Apache).
    The installation document specifies the installation of WEB DB as an option and indicates that this is shipped with Designer 6i, however this does not appear to be contained within the Designer 6i CD's
    Rgds, Pierre

    It is not necessary to install and configure a HTTP Listener/Forms Server installation on each (developer)client. Yet it can be useful in a number of cases, for instance when your application server is Unix based.
    WebDB itself is not shipped with Designer 6i, but when you install Des6i it will also install a Forms 6i runtime environment, and this will prompt you with a question whether you want to install a 'trial' version of Forms Server. The WebDB Listener service is a part of this Forms Server installation.
    Kind Regards,
    Peter
    null

  • Register dll on client side through applet

    hi
    can any on e tell how to register a dll on client side from a signed applet.
    thanx

    I am not very sure. But you can try this:
    public class Dialup {
    public static void main(String[] args) throws Exception {
    Process p = Runtime.getRuntime().exec("register_dll.bat");
    p.waitFor();
    System.out.println("Done.");
    where register_dll.bat is your dll registration (regsvr x.dll)
    Let me know if this works
    Adina

  • Generate PDF from VC without using BI-JAVA or PDF convertor on client side

    Hi there
    I need to generate a PDF from Visual Composer
    a pdf final result,  generated by several BAPIS, several tables , logo, static text, etc
    but I do not want to use the two solutions below described.
    I want to use a component or something installed on the server, to facilitate user's life.
    Is there any PDF convertor in R3? I have to install an Adobe Component?  other idea?
    a. In this thread ilustrates how to generate a PDF in a very simple way using a print function
    and a PDF convertor previously installed.
    Re: How to export from VC a bapi output table to a PDF file
    b. I have read another solution that uses the PCD location of the Web Analizar (BI-Java).
    Thanks, Alex Market

    Again, NO BI-JAVA. NO PDF convertor on client side.
    My idea is to create a Flex component with the PDF convert library.
    Something like this,
    http://lucamezzalira.com/2009/02/28/create-pdf-in-runtime-with-actionscript-3-alivepdf-zinc-or-air-flex-or-flash/
    Then embed it to the Visual Composer
    like Amir Mimran show us in this  "How to guide"
    Re: NEW: Flash Component Consumption in Visual Composer 7.01 SP5
    The problem that I see is
    our installation is 7.0 SP18, we have to upgrade to 7.01 SP5 at least,
    the Flash Components feature is available on 7.01 SP5 (NetWeaver 2004s Enhancement Pack 1, SP5)
    and more important, currently, this functionaily is only available in Windows Platform.
    Unix flatform will be supported from ehp1 sp6, according to this post
    VC model including flash component is not visible in run-time.
    regards, Alex

  • Client Side applet connection

    I have a server-side applet (ThreadedLoanCalcServer) and want my applet (LoanCalcClient) connects on the same port from the client side. All CLASSes are in the same location.
    java ThreadedLoanCalcServer 8080
    8080 is port number I chose.
    How do you make the connection?
    tia

    I think I got a majority of them.
    public void init(){
    try {
    socket = new Socket("myhostxyz",8765);
    catch (UnknownHostException e){
    MPLabel.setText("Unknown Host");
    catch (IOException e){
    MPLabel.setText("IO Exception: socket connection");
    return;
    bla ...
    public void actionPerformed(ActionEvent ae) {
    DecimalFormat money = new DecimalFormat("$###,###.00"); // $ format
    String aString = null;
    BufferedReader fromServer = null;
    PrintWriter toServer = null;
    bla ....
    String str =
    "INTEREST="+txtRat.getText()+"&"+"AMOUNT="+txtAmo.getText()+"&"+
    "PERIOD="+txtTerm.getText()+"&"+"FREQUENCY="+Freq;
    // send my str to the server
    try {
    toServer = new PrintWriter(socket.getOutputStream(), true);
    catch (IOException ex){
    MPLabel.setText("IO Exception: PrintWriter");
    toServer.println(str);
    try {
    fromServer = new BufferedReader(
    new InputStreamReader(socket.getInputStream()));
    catch (IOException ex){
    MPLabel.setText("IO Exception:BufferedReader");
    // Receive the line from the server
    String aString;
    try {
    aString = fromServer.readLine();
    catch (IOException ex){
    MPLabel.setText("IO Exception");
         StringTokenizer parser = new StringTokenizer(aString, "ERROR&");
    bla ...
    Thank you,
    Daniel

  • How to Print Crystal Report without any dialog message on the client side

    Hi!
    I've read too much questions like this, but i can't find any answer.
    How can i print a report on the client side directly?
    I have three buttons, "Generate Report", "Generate PDF", "Print".
    I want when the "Print" button was clicked, automaticaly the report is printed using default printer, like PrintToPrinter function, but in the client side.
    Thanks!

    If you search for previous posts about this, you will see many posts saying not possible.  If this functionality was possible, you could essentially have a page that would send something to a clients printer just by visiting the page, how bad of security hole would that be?

Maybe you are looking for

  • Upload to CVS problem.

    Hi, I am checked Upload CVS option to yes, I am able to see the Upload link only if I set default: look 2. I am using default: look 4 I am not able to see the upload link on the page. Please clarify me. Thanks, Ravi

  • Dropped wifi signal

    I live at an apartment complex that provides wireless internet connection. I've moved to another unit in the same complex and now, instead of having the internet antenna only 20 feet from my computer, it is now about 40 YARDS from my eMac. What is fr

  • Segmentation of Server Network

    Hi All, What is the best practice to segment off the servers vlan. There have been some discussions where we have been suggested to.... may be put a firewall in the front of core switches and have all traffic go through that. How realistic is this gi

  • Air Video app

    I know this isn't about a tablet, but it's about an app for a tablet. Anyway, there is an app I'm curious about, Air Video, which streams video from your computer to your Ipad Iphone, etc. But it doesn't work with videos from the Apple store, so how

  • How to assign value of one filed to another  field in reports

    Hi.. How we can copy the One field value to another field nd how to use group by in query to generate reports. Reply... Thanks Neetu Edited by: Philip Eller on Jun 27, 2008 9:49 AM Edited by: Rui Pereira on Jul 8, 2008 5:26 PM