Closed Pernifloss closed 1 year ago
Try setting <LLHLS><OriginMode>true</OriginMode>
to false.
In OriginMode, it is assumed that edge servers connect to this origin server, and viewers connect to edge, so the totalConnections statistic is the actual number of tcp connections, not the number of viewers.
Oh !
It seems to work perfectly now with <LLHLS><OriginMode>false</OriginMode>
Thank you very much !
http://:/v1/stats/current/vhosts/{vhost_name}
"totalConnections" return between 3 and 5 when I only have 1 viewer connected.
I start OvenMediaEngine with docker on my Windows 10 I have the default origin_conf/Server.xml config i enabled RTEST API
Here is an extract of the only part of the Server.xml I changed :
and I run it with docker run -p 1935:1935 -p 3333:3333 -p 8081:8081 airensoft/ovenmediaengine:0.15.0
I then stream with OBS
And I display the stream using OvenMediaPlayer:
And my issue : REST API : http://:/v1/stats/current/vhosts/{vhost_name} return:
When I'm streaming, and I have 0 viewer :
When I start reading the stream with 1 player:
I have the same result with http://:/v1/stats/current/vhosts/{vhost_name}/apps/{app_name}/streams/{stream}
Is there something I don't understand? Why do I have 4 total connections when I only have 1 viewer?