mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
89 lines
2.8 KiB
XML
89 lines
2.8 KiB
XML
<?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>
|