yavsc/Yavsc/ApiControllers/Streaming/StreamingApiController.cs

35 lines
734 B
C#

6 years ago
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>();
6 years ago
_logger.LogInformation
("created logger");
6 years ago
}
public async Task<IActionResult> GetStreamingToken()
6 years ago
{
_logger.LogInformation("Token asked");
throw new NotImplementedException();
}
6 years ago
public async Task<IActionResult> GetLiveStreamingIndex()
6 years ago
{
6 years ago
_logger.LogInformation("GetLiveStreamingIndex");
6 years ago
throw new NotImplementedException();
}
}
}