AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://OvenMediaEngine.com/ome
GNU Affero General Public License v3.0
2.48k stars 1.05k forks source link

Stream not working when P2P is enabled #1526

Closed germanbuchmuller closed 4 months ago

germanbuchmuller commented 4 months ago

Describe the bug Streaming not working when P2P Enabled. When P2P is disabled, streaming works perfect, but when enabling P2P in xml, then player keeps on loading. Sometimes it starts playing, but most of the time not.

To Reproduce Steps to reproduce the behavior:

  1. Set Edge Server.xml as follows `<?xml version="1.0" encoding="UTF-8"?>
OME edge * false stun.ovenmediaengine.com:13478 true false true 2 ${env:OME_API_PORT:8085} ${env:OME_API_TLS_PORT:8086} 1 2 ${env:OME_SIGNALLING_PORT:3333} ${env:OME_SIGNALLING_TLS_PORT:3334} 12 ${env:OME_HOST_IP:*}:${env:OME_WEBRTC_CANDIDATE_PORT:10005-10009/udp} ${env:OME_HOST_IP:*}:${env:OME_WEBRTC_TCP_RELAY_PORT:3478} true 12 * root:PASS * default ovenmediaengine.com * /certs/signed.crt /certs/domain.key https://api.HOST.com/stream/admission PASS 20000 webrtc 10000 120000 HOST:6379 PASS https://DOMAIN.com https://DOMAIN.com https://DOMAIN.com https://DOMAIN.com livestream live passthrough ${OriginStreamName} ${env:OME_APP_WORKER_COUNT:1} ${env:OME_STREAM_WORKER_COUNT:6} 30000 false false false

`

  1. With Encoder OBS, bypass in Origin'

Expected behavior Stream to show, and when new instances connect, play either from edge or p2p.

Server (please complete the following information):

Player: OvenPlayer

Additional context Network messaging in chrome: image

bchah commented 4 months ago

It's a known issue - #1466

Great feature, hope they can bring it back 🙏🏼

getroot commented 4 months ago

Yes this is a duplicate issue #1466 so I am closing it.