RTMPS,实现没有受到客户端的影响

发布于 2024-12-12 08:13:51 字数 1935 浏览 0 评论 0原文

我正在尝试在我的 red5 服务器上实现 rtmps。我已添加证书,即将它们导入密钥存储并将其上传到服务器上。已在 red5-core.xml 上启用 rtmps 部分.. 这部分即

<!-- RTMPS -->

<bean id="rtmpsMinaIoHandler"
    class="org.red5.server.net.rtmps.RTMPSMinaIoHandler">
    <property name="handler" ref="rtmpHandler" />
    <property name="codecFactory" ref="rtmpCodecFactory" />
    <property name="rtmpConnManager" ref="rtmpMinaConnManager" />
    <property name="keyStorePassword" value="${rtmps.keystorepass}" />
    <property name="keystoreFile" value="conf/keystore" />
</bean>

<bean id="rtmpsTransport" class="org.red5.server.net.rtmp.RTMPMinaTransport" init-method="start" destroy-method="stop">
    <property name="ioHandler" ref="rtmpsMinaIoHandler" />
    <property name="connectors">
        <list>
            <bean class="java.net.InetSocketAddress">
                <constructor-arg index="0" type="java.lang.String" value="${rtmps.host}" />  
                <constructor-arg index="1" type="int" value="${rtmps.port}" />  
            </bean>
        </list>
    </property>

    <property name="connectionThreads" value="${rtmp.connect_threads}" />
    <property name="ioThreads" value="${rtmp.io_threads}" />
            <property name="receiveBufferSize" value="${rtmp.receive_buffer_size}" />
    <property name="sendBufferSize" value="${rtmp.send_buffer_size}" />

            <!-- This is the interval at which the sessions are polled for stats. If mina monitoring is not
            enabled, polling will not occur. -->


    <property name="jmxPollInterval" value="1000" />
    <property name="tcpNoDelay" value="${rtmp.tcp_nodelay}" />
</bean>

问题是当我尝试访问我的服务器时,

rtmps://mysite:8443/red5server

我的服务器上没有受到攻击。如果 rtmps 根本没有运行。任何有关配置 rtmps 的帮助或教程都将是一个很好的帮助。

I m trying to implement rtmps on my red5 server. i have added the certificates i.e imported them to a key store and have uploaded them on the server. have enabled rtmps part on red5-core.xml .. This much part i.e

<!-- RTMPS -->

<bean id="rtmpsMinaIoHandler"
    class="org.red5.server.net.rtmps.RTMPSMinaIoHandler">
    <property name="handler" ref="rtmpHandler" />
    <property name="codecFactory" ref="rtmpCodecFactory" />
    <property name="rtmpConnManager" ref="rtmpMinaConnManager" />
    <property name="keyStorePassword" value="${rtmps.keystorepass}" />
    <property name="keystoreFile" value="conf/keystore" />
</bean>

<bean id="rtmpsTransport" class="org.red5.server.net.rtmp.RTMPMinaTransport" init-method="start" destroy-method="stop">
    <property name="ioHandler" ref="rtmpsMinaIoHandler" />
    <property name="connectors">
        <list>
            <bean class="java.net.InetSocketAddress">
                <constructor-arg index="0" type="java.lang.String" value="${rtmps.host}" />  
                <constructor-arg index="1" type="int" value="${rtmps.port}" />  
            </bean>
        </list>
    </property>

    <property name="connectionThreads" value="${rtmp.connect_threads}" />
    <property name="ioThreads" value="${rtmp.io_threads}" />
            <property name="receiveBufferSize" value="${rtmp.receive_buffer_size}" />
    <property name="sendBufferSize" value="${rtmp.send_buffer_size}" />

            <!-- This is the interval at which the sessions are polled for stats. If mina monitoring is not
            enabled, polling will not occur. -->


    <property name="jmxPollInterval" value="1000" />
    <property name="tcpNoDelay" value="${rtmp.tcp_nodelay}" />
</bean>

The problem is when i try to hit my server with

rtmps://mysite:8443/red5server

I dont get a hit on my server. If as rtmps is not running at all. Any help or tutorial on configuring rtmps will be a grat help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文