init
parent
b188d901f4
commit
4387b85460
@ -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; }
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -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…
Reference in New Issue