Browse Source

更新协议库引用和配置文件

master
waterliu99 4 years ago
parent
commit
b5eb1b4baa
3 changed files with 7 additions and 5 deletions
  1. +5
    -3
      src/JT1078.Gateway.Tests/JT1078.Gateway.TestNormalHosting/appsettings.json
  2. +1
    -1
      src/JT1078.Gateway.Tests/JT1078.Gateway.TestNormalHosting/wwwroot/demo/index.html
  3. +1
    -1
      src/JT1078.Gateway/JT1078.Gateway.csproj

+ 5
- 3
src/JT1078.Gateway.Tests/JT1078.Gateway.TestNormalHosting/appsettings.json View File

@@ -16,9 +16,11 @@
"HttpPort": 15555 "HttpPort": 15555
}, },
"M3U8Option": { "M3U8Option": {
"TsFileCapacity": 5,
"TsFileMaxSecond": 10,
"TsPathSimParamName": "sim",
"TsPathChannelParamName": "channel",
"TsFileCapacity": 10,
"TsFileMaxSecond": 5,
"M3U8FileName": "live.m3u8", "M3U8FileName": "live.m3u8",
"HlsFileDirectory":"wwwroot"
"HlsFileDirectory": "wwwroot"
} }
} }

+ 1
- 1
src/JT1078.Gateway.Tests/JT1078.Gateway.TestNormalHosting/wwwroot/demo/index.html View File

@@ -9,7 +9,7 @@
<script> <script>
var video = document.getElementById('video'); var video = document.getElementById('video');
//var videoSrc = 'demo.m3u8'; //var videoSrc = 'demo.m3u8';
var videoSrc = 'http://127.0.0.1:15555/live.m3u8?token=123456&sim=0144049053576&channel=3';
var videoSrc = 'http://127.0.0.1:15555/live.m3u8?token=123456&sim=001901305037&channel=1';
// //
// First check for native browser HLS support // First check for native browser HLS support
// //


+ 1
- 1
src/JT1078.Gateway/JT1078.Gateway.csproj View File

@@ -39,7 +39,7 @@
</ItemGroup> </ItemGroup>


<ItemGroup> <ItemGroup>
<PackageReference Include="JT1078.Hls" Version="1.1.0-preview2" />
<PackageReference Include="JT1078.Hls" Version="1.1.0-preview3" />
<PackageReference Include="JT1078.Flv" Version="1.1.0" /> <PackageReference Include="JT1078.Flv" Version="1.1.0" />
<PackageReference Include="JT1078.FMp4" Version="1.0.0-preview1" /> <PackageReference Include="JT1078.FMp4" Version="1.0.0-preview1" />
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0" /> <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0" />


Loading…
Cancel
Save