add some new features in data service ...
This commit is contained in:
@@ -1,5 +1,45 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xPushService.Interfaces
|
||||
{
|
||||
public interface IXBaseWebRTCHub : IXBaseHub
|
||||
{}
|
||||
{
|
||||
/// <summary>
|
||||
/// Sending WebRTC Offer To Specified Connection ...
|
||||
/// </summary>
|
||||
/// <param name="offer"></param>
|
||||
/// <param name="to"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task Offer(
|
||||
string offer,
|
||||
string to,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Sending WebRTC Answer to Specified Connection ...
|
||||
/// </summary>
|
||||
/// <param name="answer"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task Answer(
|
||||
string answer,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Sending WebRTC Candidate to Specified Connecton ...
|
||||
/// </summary>
|
||||
/// <param name="candidate"></param>
|
||||
/// <param name="to"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task Candidate(
|
||||
string candidate,
|
||||
string to,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user