[WIP] chat hub.

This commit is contained in:
2019-01-30 11:14:32 +00:00
parent c14b07ae87
commit 5eea24f8b8
12 changed files with 225 additions and 212 deletions

View File

@ -11,6 +11,9 @@ namespace Yavsc
TokenPath = "~/token",
LoginPath = "~/signin",
LogoutPath = "~/signout", UserInfoPath = "~/api/me",
SignalRPath = "/api/signalr",
ApplicationAuthenticationSheme = "ServerCookie",
ExternalAuthenticationSheme= "ExternalCookie",
CompanyInfoUrl = " https://societeinfo.com/app/rest/api/v1/company/json?registration_number={0}&key={1}",

View File

@ -13,17 +13,26 @@ namespace Yavsc.Models.Streaming
// set by the server, unique
public long Id { get; set; }
// a title for this flow
//
/// <summary>
/// a title for this flow
/// </summary>
/// <value></value>
[StringLength(255)]
public string Title { get; set; }
// a little description
[StringLength(1023)]
public string Pitch { get; set; }
// The stream type
[StringLength(127)]
public string MediaType { get; set; }
// A name where to save this stream, relative to user's files root
[StringLength(255)]
public string DifferedFileName { get; set; }
public int SequenceNumber { get; set; }
[Required]
public string OwnerId {get; set; }