init
This commit is contained in:
parent
f49eec187f
commit
a339658a06
2 changed files with 49 additions and 0 deletions
23
Yavsc.Server/Models/Streaming/LiveAnnouce.cs
Normal file
23
Yavsc.Server/Models/Streaming/LiveAnnouce.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
namespace Yavsc.ViewModels.Streaming
|
||||
{
|
||||
|
||||
public class LiveAnnouce {
|
||||
|
||||
// set by the server, unique
|
||||
long Id { get; set; }
|
||||
|
||||
// a title for this flow
|
||||
string Title { get; set; }
|
||||
|
||||
// a little description
|
||||
string Pitch { get; set; }
|
||||
|
||||
// The stream type
|
||||
string MediaType { get; set; }
|
||||
|
||||
// A name where to save this stream, relative to user's files root
|
||||
string DifferedFileName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
26
Yavsc/ApiControllers/streaming/StreamingApiController.cs
Normal file
26
Yavsc/ApiControllers/streaming/StreamingApiController.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Yavsc {
|
||||
|
||||
public class StreamingApiController {
|
||||
|
||||
ILogger _logger;
|
||||
|
||||
public StreamingApiController (LoggerFactory loggerFactory)
|
||||
{
|
||||
_logger = loggerFactory.CreateLogger<StreamingApiController>();
|
||||
}
|
||||
|
||||
public async Task<IActionResult> GetStreamingToken()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue