Coder Social home page Coder Social logo

red5-plugins's People

Contributors

dependabot[bot] avatar dominick avatar mondain avatar solomax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

red5-plugins's Issues

Excuse me,securityplugin support red5 1.07?

1、I compiled securityplugin but I don't know how to configure the red5 1.07, give advice or comments, please?

2、I've tried Customstreamer_domaincontrol_deployable_0. 8 _final this demo, but it can't run successfully
http://flashvisions.com/ready-to-use-%E2%80%93-red5-streamer-with-stream-security/
<bean class="org.red5.core.security.PublishSecurity" init-method="init" id="publishSecurity"> <property name="application" ref="web.handler" /> <property name="htmlDomains" value="/WEB-INF/allowedHTMLdomains.txt" /> <property name="swfDomains" value="/WEB-INF/allowedSWFdomains.txt" /> <property name="publishNames" value="/WEB-INF/allowedPublishNames.txt" /> <property name="enablePublish" value="true" /> </bean> - See more at: http://flashvisions.com/ready-to-use-%E2%80%93-red5-streamer-with-stream-security/#sthash.WbOOSOpv.dpuf
1

Plugins fail to compile

I've downloaded all the plugins, but they fail to compile, all are still referencing the code.google.com repositories and googlecode.com repositories which are no longer available as google shut down code last year. Would be great if someone fixed the pom.xml to use the current github because without it the plugins fail to compile no matter what I do.

Problem with pom.xml

Hello friend, something is wrong with pom.xml of cluster plugin, the header of the files is:

4.0.0
authplugin
jar
Red5 :: authplugin
The Red5 Authplugin
org.red5
1.0.2
https://code.google.com/p/red5/
2005

It don't need to be something related to the cluster plugin itself? Because when i build it i get the authplugin.jar. Make sure the main class is also fixed.

Thanks.

oflademo pom

hi!
the pom file of oflademo has name of authplugin in artifactid and i have an error when build that

oflademo on mobile (android) 404 not found

Hey red5 developers,
when trying to watch ofla jwplayer on android ( mobile) after clicking play on rtmtp player Ithe page changed to another page ( to the file path) with 404 response.
there is a way to show video on mobile?
thanks

Upgrade header check should not be case sensitive

Discovered this bug when testing browsers using the basic red5 chat demo. Was not able to connect using IE11 on Windows 7, but worked fine in IE11 on Windows 10 (and all other browsers on Mac and Windows). The request to connect was returning a 200 status and serving a webpage instead of upgrading the connection.

After doing some wireshark traces and comparing the headers between IE11 on Win7 and Win10, showing the same headers supplied, I dug into the code for the UpgradeUtil and found at this line:

return ((request instanceof HttpServletRequest) && (response instanceof HttpServletResponse) && Constants.UPGRADE_HEADER_VALUE.equals(((HttpServletRequest) request).getHeader(Constants.UPGRADE_HEADER_NAME)));

It is looking for the 'Upgrade' header with value of 'websocket' per the tomcat specs:
https://tomcat.apache.org/tomcat-9.0-doc/api/constant-values.html#org.apache.tomcat.websocket.Constants.UPGRADE_HEADER_VALUE

The header in IE11 Win7 is sending a value that not all lower case ('Websocket' instead of 'websocket') causing it to not match up.

The solution would be to change this to a non case-sensitive check, per the specs:
https://tools.ietf.org/html/rfc6455#section-4.2.1

rtspplugin

I've downloaded all the plugins,can you tell me how to use rtspplugin in red5? Thanks

Dependency org.apache.mina:mina-core, leading to CVE problem

Hi, In red5-plugins/mqtt,there is a dependency org.apache.mina:mina-core:2.0.16 that calls the risk method.

CVE-2019-0231

The scope of this CVE affected version is [,2.0.21),[2.1.0,2.1.1)

After further analysis, in this project, the main Api called is <org.apache.mina.core.service.AbstractIoService: void dispose(boolean)>

Risk method repair link : GitHub

CVE Bug Invocation Path--

Path Length : 8

<org.apache.mina.core.service.AbstractIoService: void dispose(boolean)>
at <org.apache.mina.core.service.AbstractIoService: void dispose()> (org.apache.mina.core.service.AbstractIoService.java:[277]) in /.m2/repository/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
at <org.apache.mina.core.service.SimpleIoProcessorPool: void dispose()> (org.apache.mina.core.service.SimpleIoProcessorPool.java:[329]) in /.m2/repository/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
at <org.apache.mina.core.service.SimpleIoProcessorPool: void <init>(java.lang.Class,java.util.concurrent.Executor,int,java.nio.channels.spi.SelectorProvider)> (org.apache.mina.core.service.SimpleIoProcessorPool.java:[252]) in /.m2/repository/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
at <org.apache.mina.core.service.SimpleIoProcessorPool: void <init>(java.lang.Class,int)> (org.apache.mina.core.service.SimpleIoProcessorPool.java:[126]) in /.m2/repository/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
at <org.apache.mina.core.polling.AbstractPollingIoAcceptor: void <init>(org.apache.mina.core.session.IoSessionConfig,java.lang.Class,int)> (org.apache.mina.core.polling.AbstractPollingIoAcceptor.java:[134]) in /.m2/repository/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
at <org.apache.mina.transport.socket.nio.NioSocketAcceptor: void <init>(int)> (org.apache.mina.transport.socket.nio.NioSocketAcceptor.java:[73]) in /.m2/repository/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
at <org.red5.server.mqtt.net.MQTTTransport: void afterPropertiesSet()> (org.red5.server.mqtt.net.MQTTTransport.java:[74]) in /detect/unzip/red5-plugins-2.2.8/mqtt/target/classes

Dependency tree--

[INFO] org.red5:mqttplugin:jar:1.0
[INFO] +- org.red5:red5-server:jar:1.0.8-RELEASE:compile
[INFO] |  +- org.apache.tomcat:tomcat-servlet-api:jar:8.5.9:compile
[INFO] |  +- ch.qos.logback:logback-access:jar:1.1.7:compile
[INFO] |  +- org.springframework:spring-webmvc:jar:4.3.5.RELEASE:compile
[INFO] |  +- org.red5:red5-server-common:jar:1.0.8-RELEASE:compile
[INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.5.2:compile
[INFO] |  |  |  \- org.apache.httpcomponents:httpcore:jar:4.4.4:compile
[INFO] |  |  +- org.apache.commons:commons-lang3:jar:3.5:compile
[INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.9.3:compile
[INFO] |  |  |  +- commons-logging:commons-logging:jar:1.2:compile
[INFO] |  |  |  \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] |  |  +- commons-codec:commons-codec:jar:1.10:compile
[INFO] |  |  \- org.bouncycastle:bcprov-jdk15on:jar:1.55:compile
[INFO] |  +- org.red5:red5-io:jar:1.0.8-RELEASE:compile
[INFO] |  |  +- org.apache.tika:tika-core:jar:1.14:compile
[INFO] |  |  +- org.apache.tika:tika-parsers:jar:1.14:compile
[INFO] |  |  |  +- org.tallison:jmatio:jar:1.2:compile
[INFO] |  |  |  +- org.apache.james:apache-mime4j-core:jar:0.7.2:compile
[INFO] |  |  |  +- org.apache.james:apache-mime4j-dom:jar:0.7.2:compile
[INFO] |  |  |  +- org.apache.commons:commons-compress:jar:1.12:compile
[INFO] |  |  |  +- org.apache.pdfbox:pdfbox-tools:jar:2.0.3:compile
[INFO] |  |  |  |  \- org.apache.pdfbox:pdfbox-debugger:jar:2.0.3:compile
[INFO] |  |  |  +- org.apache.pdfbox:jempbox:jar:1.8.12:compile
[INFO] |  |  |  +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:compile
[INFO] |  |  |  +- org.ow2.asm:asm:jar:5.0.4:compile
[INFO] |  |  |  +- com.drewnoakes:metadata-extractor:jar:2.9.1:compile
[INFO] |  |  |  |  \- com.adobe.xmp:xmpcore:jar:5.1.2:compile
[INFO] |  |  |  +- de.l3s.boilerpipe:boilerpipe:jar:1.1.0:compile
[INFO] |  |  |  +- com.rometools:rome:jar:1.5.1:compile
[INFO] |  |  |  |  \- com.rometools:rome-utils:jar:1.5.1:compile
[INFO] |  |  |  +- com.googlecode.juniversalchardet:juniversalchardet:jar:1.0.3:compile
[INFO] |  |  |  +- commons-io:commons-io:jar:2.5:compile
[INFO] |  |  |  +- com.google.code.gson:gson:jar:2.2.4:compile
[INFO] |  |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.8.1:compile
[INFO] |  |  +- net.sf.ehcache:ehcache-core:jar:2.6.11:compile
[INFO] |  |  \- com.googlecode.mp4parser:isoparser:jar:1.1.17:compile
[INFO] |  +- org.red5:red5-service:jar:1.0.8-RELEASE:compile
[INFO] |  |  \- commons-daemon:commons-daemon:jar:1.0.15:compile
[INFO] |  +- org.red5:red5-service:tar.gz:daemon:1.0.8-RELEASE:compile
[INFO] |  \- org.quartz-scheduler:quartz:jar:2.2.3:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.22:compile
[INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.22:compile
[INFO] +- org.slf4j:jul-to-slf4j:jar:1.7.22:compile
[INFO] +- org.slf4j:log4j-over-slf4j:jar:1.7.22:compile
[INFO] +- ch.qos.logback:logback-core:jar:1.1.7:compile
[INFO] +- ch.qos.logback:logback-classic:jar:1.1.7:compile
[INFO] +- org.apache.mina:mina-core:bundle:2.0.16:compile
[INFO] +- org.apache.mina:mina-integration-jmx:bundle:2.0.16:compile
[INFO] |  \- ognl:ognl:jar:3.1.11:compile
[INFO] |     \- org.javassist:javassist:jar:3.16.1-GA:compile
[INFO] +- org.apache.mina:mina-integration-beans:bundle:2.0.16:compile
[INFO] +- org.springframework:spring-beans:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-context:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-core:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-expression:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-aop:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-web:jar:4.3.5.RELEASE:compile
[INFO] +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] +- org.mapdb:mapdb:jar:1.0.6:compile
[INFO] +- com.lmax:disruptor:jar:3.3.2:compile
[INFO] \- org.hdrhistogram:HdrHistogram:jar:2.1.4:compile

Suggested solutions:

Update dependency version

Thank you very much.

RtpPackage and Rtcppackage

Hello, Nice to meet you. I'm studying Red5, too. RtpPackage and Rtcppackage, Are that right? I need Rtp and Rtcp to do something. RTP details are not found on the Internet.

Failed to build admin plugin

The following error ocurred when try to build while following the guide:

Failed to execute goal on project authplugin: Could not resolve dependencies for project org.red5:authplugin:jar:1.0.8-M1: Failure to find org.red5:red5-server:jar:1.0.2-RC3 in http://red5.googlecode.com/svn/repository was cached in the local repository, resolution will not be reattempted until the update interval of Red5 has elapsed or updates are forced -> [Help 1]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.