Starting in 0.16.2, LLHLS dump results in .m4s files with a size of 0 bytes.
Minimum Example
Files
Server.xml
<?xml version="1.0" encoding="UTF-8" ?>
<Server version="8">
<Name>OvenMediaEngine</Name>
<!-- Host type (origin/edge) -->
<Type>origin</Type>
<!-- Specify IP address to bind (* means all IPs) -->
<IP>*</IP>
<PrivacyProtection>false</PrivacyProtection>
<!--
To get the public IP address(mapped address of stun) of the local server.
This is useful when OME cannot obtain a public IP from an interface, such as AWS or docker environment.
If this is successful, you can use ${PublicIP} in your settings.
-->
<StunServer>stun.ovenmediaengine.com:13478</StunServer>
<Modules>
<LLHLS>
<Enable>true</Enable>
</LLHLS>
</Modules>
<!-- Settings for the ports to bind -->
<Bind>
<!-- Enable this configuration if you want to use API Server -->
<Managers>
<API>
<Port>8081</Port>
<WorkerCount>1</WorkerCount>
</API>
</Managers>
<Providers>
<!-- Pull providers -->
<RTSPC>
<WorkerCount>1</WorkerCount>
</RTSPC>
<OVT>
<WorkerCount>1</WorkerCount>
</OVT>
<!-- Push providers -->
<RTMP>
<Port>1935</Port>
<WorkerCount>1</WorkerCount>
</RTMP>
</Providers>
<Publishers>
<LLHLS>
<Port>3333</Port>
<WorkerCount>1</WorkerCount>
</LLHLS>
</Publishers>
</Bind>
<Managers>
<Host>
<Names>
<Name>*</Name>
</Names>
</Host>
<API>
<AccessToken>test:test</AccessToken>
<CrossDomains>
<Url>localhost</Url>
</CrossDomains>
</API>
</Managers>
<VirtualHosts>
<VirtualHost>
<Name>default</Name>
<Host>
<Names>
<Name>*</Name>
</Names>
</Host>
<!-- Settings for applications -->
<Applications>
<Application>
<Name>app</Name>
<!-- Application type (live/vod) -->
<Type>live</Type>
<OutputProfiles>
<OutputProfile>
<Name>bypass_stream</Name>
<OutputStreamName>${OriginStreamName}</OutputStreamName>
<Encodes>
<Video>
<Name>bypass_video</Name>
<Bypass>true</Bypass>
</Video>
<Audio>
<Name>bypass_audio</Name>
<Bypass>true</Bypass>
</Audio>
</Encodes>
</OutputProfile>
</OutputProfiles>
<Providers>
<RTMP />
</Providers>
<Publishers>
<AppWorkerCount>1</AppWorkerCount>
<StreamWorkerCount>1</StreamWorkerCount>
<LLHLS>
<OriginMode>true</OriginMode>
<ChunkDuration>0.5</ChunkDuration>
<PartHoldBack>1.5</PartHoldBack>
<SegmentDuration>6</SegmentDuration>
<SegmentCount>10</SegmentCount>
<CrossDomains>
<Url>*</Url>
</CrossDomains>
</LLHLS>
</Publishers>
</Application>
</Applications>
</VirtualHost>
</VirtualHosts>
</Server>
Place the above data-dump.json and run.sh into ./.
Place an mp4 file into ./ and call it test.mp4.
Run run.sh.
After the dump starts, run ls -l ./data/vod/test and observe that the only video segment with data is the one called init_0_video_test_llhls.m4s. All other segments are 0 bytes in size (e.g. seg_0_0_video_test_llhls.m4s).
Starting in 0.16.2, LLHLS dump results in
.m4s
files with a size of 0 bytes.Minimum Example
Files
Server.xml
data-dump.json
run.sh
Steps
Server.xml
into./conf/Server.xml
data-dump.json
andrun.sh
into./
../
and call ittest.mp4
.run.sh
.ls -l ./data/vod/test
and observe that the only video segment with data is the one calledinit_0_video_test_llhls.m4s
. All other segments are 0 bytes in size (e.g.seg_0_0_video_test_llhls.m4s
).