yavsc/Yavsc/ApiControllers/Streaming/StreamingApiController.cs

34 lines
734 B
C#
Raw Normal View History

2018-12-18 12:55:50 +00:00
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>();
2018-12-22 13:38:22 +00:00
_logger.LogInformation
("created logger");
2018-12-18 12:55:50 +00:00
}
public async Task<IActionResult> GetStreamingToken()
2018-12-21 14:05:05 +00:00
{
_logger.LogInformation("Token asked");
throw new NotImplementedException();
}
2018-12-22 13:38:22 +00:00
public async Task<IActionResult> GetLiveStreamingIndex()
2018-12-18 12:55:50 +00:00
{
2018-12-22 13:38:22 +00:00
_logger.LogInformation("GetLiveStreamingIndex");
2018-12-18 12:55:50 +00:00
throw new NotImplementedException();
}
}
}