Publicité
+ Répondre à la discussion
Affichage des résultats 1 à 2 sur 2
  1. #1
    En attente de confirmation mail
    Homme Profil pro
    Inscrit en
    novembre 2010
    Messages
    24
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : novembre 2010
    Messages : 24
    Points : 2
    Points
    2

    Par défaut Red5 : protocole RTMPT sur le port 80

    Bonjour à tous.

    Dans un premier temps, veuillez m'excuser si mon post n'est pas à sa place. J'ai cherché un peu partout et je pense que c'est ici qu'il doit être, mais néanmoins je peux me tromper et avoir rater une catégorie.

    Je travaille actuellement sur Red5 combiné avec Apache pour faire une application de streaming audio/vidéo. L'application est opérationnelle, sauf pour le protocole RTMTP (RTMP encapsulé dans HTTP), qui est parfois bloqué par certains proxy. J'aimerai donc pouvoir rediriger ce protocole sur le port 80 pour que tout fonctionne.

    Le problème est le suivant : je configure Red5 pour utiliser le port 80, je le redémarre, et là, il me dit qu'il est en conflit avec Apache (ou plutot Tomcat je crois) et que le port 80 est déjà utilisé.

    Malgré mes recherches, les tutos et les mailing list lus, je ne parviens pas à résoudre mon problème.

    Voici les différents sites que j'ai consulté :

    http://old.nabble.com/apache-%2B-red...d20902780.html
    http://gregoire.org/2008/05/27/apache-and-rtmpt/
    http://gregoire.org/2009/01/28/rtmpt-and-red5/
    http://osflash.org/pipermail/red5_os...ne/012945.html
    http://osflash.org/pipermail/red5_os...ry/029941.html
    http://www.actionscriptdeveloper.co....the-same-time/


    Voici le fichier de log (je peux pas le mettre en pièce jointe, j'ai une erreur HTTP...)


    Code :
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    2011-07-07 09:46:40,827 [main] INFO  org.red5.server.Launcher - Red5 Server 1.0.0 RC2 $Rev: 4238 $ (http://code.google.com/p/red5/)
    2011-07-07 09:46:40,863 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@77f297e7: startup date [Thu Jul 07 09:46:40 CEST 2011]; root of context hierarchy
    2011-07-07 09:46:41,206 [main] INFO  o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from class path resource [red5.properties]
    2011-07-07 09:46:41,214 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@177ba38f: defining beans [placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server]; root of factory hierarchy
    2011-07-07 09:46:41,237 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@8c3c315: startup date [Thu Jul 07 09:46:41 CEST 2011]; root of context hierarchy
    2011-07-07 09:46:41,305 [main] INFO  o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from class path resource [red5.properties]
    2011-07-07 09:46:41,311 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@76933bcb: defining beans [placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,fileConsumer,playlistSubscriberStream,clientBroadcastStream]; root of factory hierarchy
    2011-07-07 09:46:41,648 [main] INFO  org.red5.server.service.WarDeployer - War deployer service created
    2011-07-07 09:46:41,678 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@1f00aff5: startup date [Thu Jul 07 09:46:41 CEST 2011]; parent: ApplicationContext 'red5.common'
    2011-07-07 09:46:41,718 [main] INFO  o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from class path resource [red5.properties]
    2011-07-07 09:46:41,725 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@261a6518: defining beans [customEditorConfigurer,placeholderConfig,rtmpMinaConnManager,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptConnManager,rtmptHandler,rtmptServlet,rtmptConnection]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@76933bcb
    2011-07-07 09:46:41,738 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - RTMP Mina Transport bound to /0.0.0.0:1935
    2011-07-07 09:46:41,738 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings
    2011-07-07 09:46:41,739 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - Connection Threads: 4
    2011-07-07 09:46:41,739 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - I/O Threads: 16
    2011-07-07 09:46:41,767 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - TCP No Delay: true
    2011-07-07 09:46:41,767 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - Receive Buffer Size: 65536
    2011-07-07 09:46:41,767 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - Send Buffer Size: 271360
    2011-07-07 09:46:41,795 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@4883d37a: startup date [Thu Jul 07 09:46:41 CEST 2011]; parent: ApplicationContext 'red5.common'
    2011-07-07 09:46:41,827 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@372943ac: defining beans [global.clientRegistry,global.serviceInvoker,global.mappingStrategy,global.context,global.handler,global.scope,red5.scopeResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@76933bcb
    2011-07-07 09:46:41,852 [main] DEBUG org.red5.server.Scope - Set name: default
    2011-07-07 09:46:41,853 [main] DEBUG org.red5.server.Scope - Set context: org.red5.server.Context@5029d294
    2011-07-07 09:46:41,853 [main] DEBUG org.red5.server.Scope - Set handler: org.red5.server.CoreHandler@69c01ba9
    2011-07-07 09:46:41,853 [main] DEBUG org.red5.server.Scope - Init scope
    2011-07-07 09:46:41,853 [main] DEBUG org.red5.server.Scope - Start scope
    2011-07-07 09:46:41,931 [main] INFO  org.red5.server.tomcat.TomcatLoader - Setting connector: org.apache.catalina.connector.Connector
    2011-07-07 09:46:41,931 [main] INFO  org.red5.server.tomcat.TomcatLoader - Address to bind: /0.0.0.0:80
    2011-07-07 09:46:41,931 [main] INFO  org.red5.server.tomcat.TomcatLoader - Loading tomcat context
    2011-07-07 09:46:41,931 [main] INFO  org.red5.server.tomcat.TomcatLoader - Server root: /usr/local/bin/red5_1.0
    2011-07-07 09:46:41,931 [main] INFO  org.red5.server.tomcat.TomcatLoader - Config root: /usr/local/bin/red5_1.0/conf
    2011-07-07 09:46:41,946 [main] INFO  org.red5.server.tomcat.TomcatLoader - Application root: /usr/local/bin/red5_1.0/webapps
    2011-07-07 09:46:41,991 [main] INFO  org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine
    2011-07-07 09:46:41,992 [main] INFO  o.apache.catalina.startup.Embedded - Starting tomcat server
    2011-07-07 09:46:42,051 [main] INFO  o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/6.0.32
    2011-07-07 09:46:42,461 [main] ERROR o.a.coyote.http11.Http11Protocol - Error initializing endpoint
    java.net.BindException: Address already in use /0.0.0.0:80
    	at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549) ~[tomcat-coyote-6.0.32.jar:6.0.32]
    	at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176) ~[tomcat-coyote-6.0.32.jar:6.0.32]
    	at org.apache.catalina.connector.Connector.initialize(Connector.java:1022) [catalina-6.0.32.jar:6.0.32]
    	at org.apache.catalina.startup.Embedded.start(Embedded.java:830) [catalina-6.0.32.jar:6.0.32]
    	at org.red5.server.tomcat.TomcatLoader.init(TomcatLoader.java:504) [tomcatplugin-1.0.jar:na]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]
    	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [org.springframework.context-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [org.springframework.context-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.red5.server.Launcher.launch(Launcher.java:64) [red5.jar:na]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]
    	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
    	at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:118) [boot.jar:na]
    	at org.red5.server.Bootstrap.main(Bootstrap.java:49) [boot.jar:na]
    Caused by: java.net.BindException: Address already in use
    	at java.net.PlainSocketImpl.socketBind(Native Method) ~[na:1.6.0_22]
    	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365) ~[na:1.6.0_22]
    	at java.net.ServerSocket.bind(ServerSocket.java:319) ~[na:1.6.0_22]
    	at java.net.ServerSocket.<init>(ServerSocket.java:185) ~[na:1.6.0_22]
    	at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:56) ~[tomcat-coyote-6.0.32.jar:6.0.32]
    	at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:540) ~[tomcat-coyote-6.0.32.jar:6.0.32]
    	... 27 common frames omitted
    2011-07-07 09:46:42,462 [main] ERROR org.red5.server.tomcat.TomcatLoader - Error loading tomcat, unable to bind connector. You may not have permission to use the selected port
    org.apache.catalina.LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use /0.0.0.0:80
    	at org.apache.catalina.connector.Connector.initialize(Connector.java:1024) ~[catalina-6.0.32.jar:6.0.32]
    	at org.apache.catalina.startup.Embedded.start(Embedded.java:830) ~[catalina-6.0.32.jar:6.0.32]
    	at org.red5.server.tomcat.TomcatLoader.init(TomcatLoader.java:504) ~[tomcatplugin-1.0.jar:na]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]
    	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) [org.springframework.beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [org.springframework.context-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [org.springframework.context-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    	at org.red5.server.Launcher.launch(Launcher.java:64) [red5.jar:na]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]
    	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
    	at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:118) [boot.jar:na]
    	at org.red5.server.Bootstrap.main(Bootstrap.java:49) [boot.jar:na]

    Merci à ceux qui prendront la peine de lire.

  2. #2
    Membre à l'essai
    Homme Profil pro donald aristide ################
    Étudiant
    Inscrit en
    janvier 2012
    Messages
    30
    Détails du profil
    Informations personnelles :
    Nom : Homme donald aristide ################
    Localisation : Côte d'Ivoire

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : janvier 2012
    Messages : 30
    Points : 23
    Points
    23
    Billets dans le blog
    1

    Par défaut Interêt

    Bonjour,
    Je m’intéresse à ton projet de web tv.
    Je commence la mise en place d'une web tv.J'ai réussi à faire une diffusion à la demande avec vlc. Mais je pense que red5 me donnerais un résultat meilleur.
    Si tu peux m 'aider dans la voie à suivre pour cette réalisation.

Liens sociaux

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •