Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1543 connectés 

  FORUM HardWare.fr
  Programmation
  Java

  je cherche une applet RTP, help me !!

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

je cherche une applet RTP, help me !!

n°197175
mickey_mou​sse
Posté le 19-08-2002 à 15:55:53  profilanswer
 

tout est ds le topic, je voudrai pouvoir jouer ds une applet une video RTP, pour cela java donne une applet: http://search.java.sun.com/search/java/?qt=rtp+applet (RTPPlayerApplet.java) mais je n'arrive pas à la compiler, les erreurs sont les suivantes:
 
C:\j2sdk1.4.0_01\bin>javac D:\Matthieu\RTPSocketPlayer.java
Note: D:\Matthieu\RTPSocketPlayer.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
 
C:\j2sdk1.4.0_01\bin>javac D:\Matthieu\RTPPlayerApplet.java
D:\Matthieu\RTPPlayerApplet.java:49: package rtp does not exist
import rtp.*;
^
D:\Matthieu\RTPPlayerApplet.java:77: cannot resolve symbol
symbol  : class ParticipantListWindow
location: class RTPPlayerApplet
    ParticipantListWindow videogui = null;
    ^
D:\Matthieu\RTPPlayerApplet.java:78: cannot resolve symbol
symbol  : class ParticipantListWindow
location: class RTPPlayerApplet
    ParticipantListWindow audiogui = null;
    ^
D:\Matthieu\RTPPlayerApplet.java:182: cannot resolve symbol
symbol  : class ParticipantListWindow
location: class RTPPlayerApplet
            videogui = new ParticipantListWindow(videomgr);
                           ^
D:\Matthieu\RTPPlayerApplet.java:185: cannot resolve symbol
symbol  : class ParticipantListWindow
location: class RTPPlayerApplet
            audiogui = new ParticipantListWindow(audiomgr);
                           ^
Note: D:\Matthieu\RTPPlayerApplet.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
5 errors
 
alors si kelkun pouvais m'aider, se serai vraiment sympa !!
merci d'avance !
 
 [:mickey_mousse]  

mood
Publicité
Posté le 19-08-2002 à 15:55:53  profilanswer
 

n°197193
darklord
You're welcome
Posté le 19-08-2002 à 16:08:38  profilanswer
 

pas besoin de m'envoyer un MP, je lis le forum qd j'ai le temps. Pour ton problème :
 
il te manque le package rtp  
 
Ceci dit c'est assez surprenant de la part de SUN de releaser un truc comme ca. Chercher sur le site web de JMF (http://java.sun.com/products/java-media/jmf) où on référence cette applet.  
 
Pour chaque solution on te donne la méthode pour la compiler et la lancer ...


---------------
Just because you feel good does not make you right
n°197226
mickey_mou​sse
Posté le 19-08-2002 à 16:26:21  profilanswer
 

j'ai bien vu kil me mankais un package rtp, mais si je vais sur la doc API, il me dit: Deprecated. This inferface has been replaced with the RTPManager interface. Alors je fais comment pour avoir la nouvelle interface ?? et pouvoir compiler mon applet ??  
merci d'avance!
 [:mickey_mousse]

n°197229
darklord
You're welcome
Posté le 19-08-2002 à 16:27:54  profilanswer
 

recompile ton applet en utilisant le flag deprecated, un truc du genre
 
javac -deprecated ....
 
et copie ce que le compilateur recrache pour voir ...


---------------
Just because you feel good does not make you right
n°197253
mickey_mou​sse
Posté le 19-08-2002 à 16:34:05  profilanswer
 

C:\j2sdk1.4.0_01\bin>javac -deprecation D:\Matthieu\RTPPlayerApplet.java
D:\Matthieu\RTPPlayerApplet.java:49: package rtp does not exist
import rtp.*;
^
D:\Matthieu\RTPPlayerApplet.java:68: warning: javax.media.rtp.SessionManager in
javax.media.rtp has been deprecated
    SessionManager videomgr = null;
    ^
D:\Matthieu\RTPPlayerApplet.java:69: warning: javax.media.rtp.SessionManager in
javax.media.rtp has been deprecated
    SessionManager audiomgr = null;
    ^
D:\Matthieu\RTPPlayerApplet.java:77: cannot resolve symbol
symbol  : class ParticipantListWindow
location: class RTPPlayerApplet
    ParticipantListWindow videogui = null;
    ^
D:\Matthieu\RTPPlayerApplet.java:78: cannot resolve symbol
symbol  : class ParticipantListWindow
location: class RTPPlayerApplet
    ParticipantListWindow audiogui = null;
    ^
D:\Matthieu\RTPPlayerApplet.java:333: warning: javax.media.rtp.SessionManager in
 javax.media.rtp has been deprecated
    private SessionManager StartSessionManager(String destaddrstr,
            ^
D:\Matthieu\RTPPlayerApplet.java:182: cannot resolve symbol
symbol  : class ParticipantListWindow
location: class RTPPlayerApplet
            videogui = new ParticipantListWindow(videomgr);
                           ^
D:\Matthieu\RTPPlayerApplet.java:185: cannot resolve symbol
symbol  : class ParticipantListWindow
location: class RTPPlayerApplet
            audiogui = new ParticipantListWindow(audiomgr);
                           ^
D:\Matthieu\RTPPlayerApplet.java:282: warning: javax.media.rtp.SessionManager in
 javax.media.rtp has been deprecated
        SessionManager source =(SessionManager)event.getSource();
        ^
D:\Matthieu\RTPPlayerApplet.java:282: warning: javax.media.rtp.SessionManager in
 javax.media.rtp has been deprecated
        SessionManager source =(SessionManager)event.getSource();
                                ^
D:\Matthieu\RTPPlayerApplet.java:338: warning: javax.media.rtp.SessionManager in
 javax.media.rtp has been deprecated
        SessionManager mymgr = new RTPSessionMgr();
        ^
5 errors
6 warnings
 
voila
 [:mickey_mousse]

n°197259
darklord
You're welcome
Posté le 19-08-2002 à 16:38:58  profilanswer
 

bon bin dans un premier temps cherche sur le site web de JMF et regarde où est référencé cette fameuse applet. Ca m'étonnerait que SUN délivre un code source sans explication


---------------
Just because you feel good does not make you right
n°197261
mickey_mou​sse
Posté le 19-08-2002 à 16:41:05  profilanswer
 

http://search.java.sun.com/search/java/?qt=rtp+applet
 
vas voir sur la première ligne, tu peux alors télécharger l'applet !
ou va sur :
 
http://java.sun.com/products/java- [...] cketPlayer
 
et tu as les explications !!

n°197720
mickey_mou​sse
Posté le 20-08-2002 à 09:32:59  profilanswer
 

:bounce:  
 [:mickey_mousse]

n°197721
darklord
You're welcome
Posté le 20-08-2002 à 09:33:16  profilanswer
 

ah m**** j'ai encore oublié


---------------
Just because you feel good does not make you right
n°197727
mickey_mou​sse
Posté le 20-08-2002 à 09:37:26  profilanswer
 

pas grave, regarde maintenant si tu as un peu de temps !!
 :jap:

mood
Publicité
Posté le 20-08-2002 à 09:37:26  profilanswer
 

n°197793
mickey_mou​sse
Posté le 20-08-2002 à 11:04:30  profilanswer
 

sur le forum de java.sun.com cette erreur a deja été rencontrée, la solution est de commenter toutes les lignes ou il y a : ParticipantListWindow et de commenter aussi la ligne d'"import rtp.*;" voila une solution possible ! Après je sais pas encore si l'applet marche ou pas, je teste !
 [:mickey_mousse]

n°197865
mickey_mou​sse
Posté le 20-08-2002 à 11:51:45  profilanswer
 

applet marche pr le rtp avec une video en .mov !
 [:mickey_mousse]  


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Java

  je cherche une applet RTP, help me !!

 

Sujets relatifs
boolay en regex .... help needed[XSL-XML] msxsl:script help !
Problème avec un applet et internet explorerComment faire pour imprimer une image de l'applet(JAVA) sans plugin???
Utiliser l'Applet Java et Socket pour imprimer: Comment??????Cherche fonction de conversion bin to char et char to bin
[VB] empaquetage et installation, petit problème... HELP![Résolu]Forcer le chargement des classes JAVA d'une applet
Je Cherche De L'Aide Pour Un Projet Avec Delphi 6 .Mon applet est une usine a gaz [optimisation et solution inside]
Plus de sujets relatifs à : je cherche une applet RTP, help me !!


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR