import type { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from '@protobuf-ts/runtime-rpc'; import type { ICERestartRequest, ICERestartResponse, ICETrickleResponse, SendAnswerRequest, SendAnswerResponse, SendStatsRequest, SendStatsResponse, SetPublisherRequest, SetPublisherResponse, StartNoiseCancellationRequest, StartNoiseCancellationResponse, StopNoiseCancellationRequest, StopNoiseCancellationResponse, UpdateMuteStatesRequest, UpdateMuteStatesResponse, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse } from './signal'; import type { ICETrickle } from '../models/models'; /** * @generated from protobuf service stream.video.sfu.signal.SignalServer */ export interface ISignalServerClient { /** * SetPublisher sends the WebRTC offer for the peer connection used to publish A/V * * @generated from protobuf rpc: SetPublisher(stream.video.sfu.signal.SetPublisherRequest) returns (stream.video.sfu.signal.SetPublisherResponse); */ setPublisher(input: SetPublisherRequest, options?: RpcOptions): UnaryCall; /** * answer is sent by the client to the SFU after receiving a subscriber_offer. * * @generated from protobuf rpc: SendAnswer(stream.video.sfu.signal.SendAnswerRequest) returns (stream.video.sfu.signal.SendAnswerResponse); */ sendAnswer(input: SendAnswerRequest, options?: RpcOptions): UnaryCall; /** * SendICECandidate sends an ICE candidate to the client * * @generated from protobuf rpc: IceTrickle(stream.video.sfu.models.ICETrickle) returns (stream.video.sfu.signal.ICETrickleResponse); */ iceTrickle(input: ICETrickle, options?: RpcOptions): UnaryCall; /** * UpdateSubscribers is used to notify the SFU about the list of video subscriptions * TODO: sync subscriptions based on this + update tracks using the dimension info sent by the user * * @generated from protobuf rpc: UpdateSubscriptions(stream.video.sfu.signal.UpdateSubscriptionsRequest) returns (stream.video.sfu.signal.UpdateSubscriptionsResponse); */ updateSubscriptions(input: UpdateSubscriptionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateMuteStates(stream.video.sfu.signal.UpdateMuteStatesRequest) returns (stream.video.sfu.signal.UpdateMuteStatesResponse); */ updateMuteStates(input: UpdateMuteStatesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: IceRestart(stream.video.sfu.signal.ICERestartRequest) returns (stream.video.sfu.signal.ICERestartResponse); */ iceRestart(input: ICERestartRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SendStats(stream.video.sfu.signal.SendStatsRequest) returns (stream.video.sfu.signal.SendStatsResponse); */ sendStats(input: SendStatsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StartNoiseCancellation(stream.video.sfu.signal.StartNoiseCancellationRequest) returns (stream.video.sfu.signal.StartNoiseCancellationResponse); */ startNoiseCancellation(input: StartNoiseCancellationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StopNoiseCancellation(stream.video.sfu.signal.StopNoiseCancellationRequest) returns (stream.video.sfu.signal.StopNoiseCancellationResponse); */ stopNoiseCancellation(input: StopNoiseCancellationRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service stream.video.sfu.signal.SignalServer */ export declare class SignalServerClient implements ISignalServerClient, ServiceInfo { private readonly _transport; typeName: string; methods: import("@protobuf-ts/runtime-rpc").MethodInfo[]; options: { [extensionName: string]: import("@protobuf-ts/runtime").JsonValue; }; constructor(_transport: RpcTransport); /** * SetPublisher sends the WebRTC offer for the peer connection used to publish A/V * * @generated from protobuf rpc: SetPublisher(stream.video.sfu.signal.SetPublisherRequest) returns (stream.video.sfu.signal.SetPublisherResponse); */ setPublisher(input: SetPublisherRequest, options?: RpcOptions): UnaryCall; /** * answer is sent by the client to the SFU after receiving a subscriber_offer. * * @generated from protobuf rpc: SendAnswer(stream.video.sfu.signal.SendAnswerRequest) returns (stream.video.sfu.signal.SendAnswerResponse); */ sendAnswer(input: SendAnswerRequest, options?: RpcOptions): UnaryCall; /** * SendICECandidate sends an ICE candidate to the client * * @generated from protobuf rpc: IceTrickle(stream.video.sfu.models.ICETrickle) returns (stream.video.sfu.signal.ICETrickleResponse); */ iceTrickle(input: ICETrickle, options?: RpcOptions): UnaryCall; /** * UpdateSubscribers is used to notify the SFU about the list of video subscriptions * TODO: sync subscriptions based on this + update tracks using the dimension info sent by the user * * @generated from protobuf rpc: UpdateSubscriptions(stream.video.sfu.signal.UpdateSubscriptionsRequest) returns (stream.video.sfu.signal.UpdateSubscriptionsResponse); */ updateSubscriptions(input: UpdateSubscriptionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateMuteStates(stream.video.sfu.signal.UpdateMuteStatesRequest) returns (stream.video.sfu.signal.UpdateMuteStatesResponse); */ updateMuteStates(input: UpdateMuteStatesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: IceRestart(stream.video.sfu.signal.ICERestartRequest) returns (stream.video.sfu.signal.ICERestartResponse); */ iceRestart(input: ICERestartRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SendStats(stream.video.sfu.signal.SendStatsRequest) returns (stream.video.sfu.signal.SendStatsResponse); */ sendStats(input: SendStatsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StartNoiseCancellation(stream.video.sfu.signal.StartNoiseCancellationRequest) returns (stream.video.sfu.signal.StartNoiseCancellationResponse); */ startNoiseCancellation(input: StartNoiseCancellationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StopNoiseCancellation(stream.video.sfu.signal.StopNoiseCancellationRequest) returns (stream.video.sfu.signal.StopNoiseCancellationResponse); */ stopNoiseCancellation(input: StopNoiseCancellationRequest, options?: RpcOptions): UnaryCall; }