mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
protocol migration thing
This commit is contained in:
@@ -50,3 +50,12 @@ services:
|
||||
/usr/local/nginx/sbin/nginx -t
|
||||
|
||||
/usr/local/nginx/sbin/nginx -g 'daemon off;'
|
||||
ovenmediaengine:
|
||||
container_name: ome
|
||||
user: "1000:1000"
|
||||
volumes:
|
||||
- ./ome-conf:/opt/ovenmediaengine/bin/origin_conf
|
||||
- ./ome-logs:/var/log/ovenmediaengine
|
||||
- /home/srizan/.local/share/mkcert:/mkcert:ro
|
||||
network_mode: host
|
||||
image: airensoft/ovenmediaengine:v0.19.0
|
||||
1
dev/ome-conf/Server.id
Normal file
1
dev/ome-conf/Server.id
Normal file
@@ -0,0 +1 @@
|
||||
900bda61-d879-4a34-9e3d-9e518f59682b
|
||||
88
dev/ome-conf/Server.xml
Normal file
88
dev/ome-conf/Server.xml
Normal file
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Server version="8">
|
||||
<Name>OvenMediaEngine</Name>
|
||||
<Type>origin</Type>
|
||||
<IP>*</IP>
|
||||
<PrivacyProtection>false</PrivacyProtection>
|
||||
|
||||
<StunServer>stun.l.google.com:19302</StunServer>
|
||||
|
||||
<Modules>
|
||||
<HTTP2>
|
||||
<Enable>true</Enable>
|
||||
</HTTP2>
|
||||
<LLHLS>
|
||||
<Enable>true</Enable>
|
||||
</LLHLS>
|
||||
</Modules>
|
||||
|
||||
<Bind>
|
||||
<Providers>
|
||||
<RTMP>
|
||||
<Port>1935</Port>
|
||||
<WorkerCount>1</WorkerCount>
|
||||
</RTMP>
|
||||
</Providers>
|
||||
|
||||
<Publishers>
|
||||
<LLHLS>
|
||||
<TLSPort>8787</TLSPort>
|
||||
<WorkerCount>1</WorkerCount>
|
||||
</LLHLS>
|
||||
</Publishers>
|
||||
</Bind>
|
||||
|
||||
<VirtualHosts>
|
||||
<VirtualHost include="VHost*.xml" />
|
||||
<VirtualHost>
|
||||
<Name>localhost</Name>
|
||||
|
||||
<Host>
|
||||
<Names>
|
||||
<Name>localhost</Name>
|
||||
</Names>
|
||||
<TLS>
|
||||
<CertPath>/mkcert/rootCA.pem</CertPath>
|
||||
<KeyPath>/mkcert/rootCA-key.pem</KeyPath>
|
||||
</TLS>
|
||||
</Host>
|
||||
|
||||
<Applications>
|
||||
<Application>
|
||||
<Name>app</Name>
|
||||
<Type>live</Type>
|
||||
<OutputProfiles>
|
||||
<HardwareAcceleration>false</HardwareAcceleration>
|
||||
<OutputProfile>
|
||||
<Name>bypass_stream</Name>
|
||||
<OutputStreamName>${OriginStreamName}</OutputStreamName>
|
||||
<Encodes>
|
||||
<Audio>
|
||||
<Bypass>true</Bypass>
|
||||
</Audio>
|
||||
<Video>
|
||||
<Bypass>true</Bypass>
|
||||
</Video>
|
||||
</Encodes>
|
||||
</OutputProfile>
|
||||
</OutputProfiles>
|
||||
<Providers>
|
||||
<RTMP />
|
||||
</Providers>
|
||||
<Publishers>
|
||||
<AppWorkerCount>1</AppWorkerCount>
|
||||
<StreamWorkerCount>8</StreamWorkerCount>
|
||||
<LLHLS>
|
||||
<ChunkDuration>0.2</ChunkDuration>
|
||||
<SegmentDuration>6</SegmentDuration>
|
||||
<SegmentCount>10</SegmentCount>
|
||||
<CrossDomains>
|
||||
<Url>*</Url>
|
||||
</CrossDomains>
|
||||
</LLHLS>
|
||||
</Publishers>
|
||||
</Application>
|
||||
</Applications>
|
||||
</VirtualHost>
|
||||
</VirtualHosts>
|
||||
</Server>
|
||||
Reference in New Issue
Block a user