sergey-dryabzhinsky/nginx-rtmp-module

Cannot see stream in OBS

Closed this issue · 0 comments

I have configured all and stream from my phone steamlabs app. Looks like it send video ok. But OBS does not see it. Here is what I have in stats.

<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="stat.xsl" ?>
<rtmp>
    <nginx_version>1.24.0</nginx_version>
    <nginx_rtmp_version>1.2.2-r1</nginx_rtmp_version>
    <compiler>gcc 12.2.0 (Debian 12.2.0-14) </compiler>
    <pid>334</pid>
    <uptime>382</uptime>
    <naccepted>7</naccepted>
    <bw_in>4548728</bw_in>
    <bytes_in>164864193</bytes_in>
    <bw_out>484272</bw_out>
    <bytes_out>8446996</bytes_out>
    <server>
        <application>
            <name>live</name>
            <live>
                <stream>
                    <name>test2</name>
                    <time>104558</time>
                    <bw_in>4543208</bw_in>
                    <bytes_in>53709695</bytes_in>
                    <bw_out>1683592</bw_out>
                    <bytes_out>10918116</bytes_out>
                    <bw_audio>141336</bw_audio>
                    <bw_video>4401864</bw_video>
                    <bw_data>0</bw_data>
                    <client>
                        <id>10</id>
                        <address>192.168.1.22</address>
                        <port>63345</port>
                        <time>18133</time>
                        <flashver>LNX 9,0,124,2</flashver>
                        <bytes_in>374</bytes_in>
                        <bytes_out>1425186</bytes_out>
                        <dropped>101</dropped>
                        <avsync>100</avsync>
                        <timestamp>93927</timestamp>
                        <active/>
                    </client>
                    <client>
                        <id>7</id>
                        <address>192.168.1.21</address>
                        <port>59096</port>
                        <time>104654</time>
                        <flashver>FMLE/3.0 (compatible; FMSc/1.0)</flashver>
                        <swfurl>rtmp://192.168.1.112/live</swfurl>
                        <bytes_in>53776259</bytes_in>
                        <bytes_out>569</bytes_out>
                        <dropped>0</dropped>
                        <avsync>-5</avsync>
                        <timestamp>104613</timestamp>
                        <publishing/>
                        <active/>
                    </client>
                    <meta>
                        <video>
                            <width>1280</width>
                            <height>720</height>
                            <frame_rate>30.000</frame_rate>
                            <data_rate>3779</data_rate>
                            <keyframe_frequency>2</keyframe_frequency>
                            <codec>H264</codec>
                            <profile>High</profile>
                            <compat>0</compat>
                            <level>4.1</level>
                        </video>
                        <audio>
                            <codec>AAC</codec>
                            <profile>LC</profile>
                            <channels>2</channels>
                            <sample_rate>44100</sample_rate>
                            <data_rate>125</data_rate>
                        </audio>
                    </meta>
                    <nclients>2</nclients>
                    <publishing/>
                    <active/>
                </stream>
                <nclients>2</nclients>
            </live>
        </application>
    </server>
</rtmp>

.21 is my phone address and .22 is mu PC.

Here is my nginx config

rtmp {
        server {
                listen 1935;
                chunk_size 4096;

                application live {
                        live on;
                        record off;
                }
        }
}

And here is OBS config

2023-12-14_17-54-32

Strange that my PC client <port> is different than in OBS config.
Please help me, I do not see where to go from here.