public Task PlayAudioToMemberAsync(string conferenceId, string memberId, PlayAudioData data, CancellationToken?cancellationToken = null) { return (Client.MakeJsonRequestWithoutResponseAsync(HttpMethod.Post, $"/users/{Client.UserId}/conferences/{conferenceId}/members/{memberId}/audio", cancellationToken, null, data)); }
public Task PlayAudioAsync(string bridgeId, PlayAudioData data, CancellationToken?cancellationToken = null) { return (Client.MakeJsonRequestWithoutResponseAsync(HttpMethod.Post, $"/users/{Client.UserId}/bridges/{bridgeId}/audio", cancellationToken, null, data)); }
public Task PlayAudioAsync(string id, PlayAudioData data, CancellationToken?cancellationToken = null) { throw new System.NotImplementedException(); }
public Task PlayAudioAsync(string id, PlayAudioData data, CancellationToken?cancellationToken = null) { return(_context.Invoke(m => m.PlayAudioAsync(id, data, cancellationToken))); }
public static bool IsValidPlayAudioFileData(PlayAudioData data) { return(data.FileUrl == "url"); }
public static bool IsValidSpeakSentenceData(PlayAudioData data) { return(data.Sentence == "Hello" && data.Gender == Gender.Female && data.Voice == "susan"); }
public Task PlayAudioToMemberAsync(string conferenceId, string memberId, PlayAudioData data, CancellationToken?cancellationToken = null) { return(_context.Invoke(m => m.PlayAudioToMemberAsync(conferenceId, memberId, data, cancellationToken))); }