Class SignalingServiceGrpc.SignalingServiceBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SignalingServiceGrpc.SignalingServiceBlockingStub>
proto.rpc.webrtc.v1.SignalingServiceGrpc.SignalingServiceBlockingStub
Enclosing class:
SignalingServiceGrpc

public static final class SignalingServiceGrpc.SignalingServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<SignalingServiceGrpc.SignalingServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service SignalingService.
 A SignalingService provides the means to have one client "call" another
 client using the Session Description Protocol (SDP).
 
  • Method Details

    • build

      protected SignalingServiceGrpc.SignalingServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<SignalingServiceGrpc.SignalingServiceBlockingStub>
    • call

       Call makes an offer to a client that it expects an answer to. The host
       of the client in question should be identified in the rpc-host metadata
       field.
       Note: Based on how this is a server streaming responnse to the caller,
       we do not have a good way of knowing if the caller has disappeared.
       Depending on answerer timeouts and concurrency limits, this can result in
       hangs on the answerer waiting for a connection to establish, which in turn
       can result in the caller waiting for an answerer to be listening.
       
    • callUpdate

       CallUpdate is used to send additional info in relation to a Call.
       The host of the client for the call in question should be identified
       in the rpc-host metadata field.
       In a world where https://github.com/grpc/grpc-web/issues/24 is fixed,
       this should be removed in favor of a bidirectional stream on Call.
       
    • optionalWebRTCConfig

       OptionalWebRTCConfig returns any WebRTC configuration the caller may want to use.
       The host to get a config for must be in the rpc-host metadata field.