Package proto.stream.v1
Interface StreamServiceGrpc.AsyncService
- All Known Implementing Classes:
StreamServiceGrpc.StreamServiceImplBase
- Enclosing class:
- StreamServiceGrpc
public static interface StreamServiceGrpc.AsyncService
A StreamService is used to coordinate with a WebRTC the listing, addition, and removal of registered video streams. TODO(https://github.com/viamrobotics/rdk/issues/509): support removal
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addStream
(Stream.AddStreamRequest request, io.grpc.stub.StreamObserver<Stream.AddStreamResponse> responseObserver) AddStream requests a particular stream be added.default void
getStreamOptions
(Stream.GetStreamOptionsRequest request, io.grpc.stub.StreamObserver<Stream.GetStreamOptionsResponse> responseObserver) GetStreamOptions returns the options for a particular stream.default void
listStreams
(Stream.ListStreamsRequest request, io.grpc.stub.StreamObserver<Stream.ListStreamsResponse> responseObserver) ListStreams returns all streams registered.default void
removeStream
(Stream.RemoveStreamRequest request, io.grpc.stub.StreamObserver<Stream.RemoveStreamResponse> responseObserver) RemoveStream requests a particular stream be removed.default void
setStreamOptions
(Stream.SetStreamOptionsRequest request, io.grpc.stub.StreamObserver<Stream.SetStreamOptionsResponse> responseObserver) SetStreamOptions sets the options for a particular stream.
-
Method Details
-
listStreams
default void listStreams(Stream.ListStreamsRequest request, io.grpc.stub.StreamObserver<Stream.ListStreamsResponse> responseObserver) ListStreams returns all streams registered.
-
addStream
default void addStream(Stream.AddStreamRequest request, io.grpc.stub.StreamObserver<Stream.AddStreamResponse> responseObserver) AddStream requests a particular stream be added.
-
getStreamOptions
default void getStreamOptions(Stream.GetStreamOptionsRequest request, io.grpc.stub.StreamObserver<Stream.GetStreamOptionsResponse> responseObserver) GetStreamOptions returns the options for a particular stream.
-
setStreamOptions
default void setStreamOptions(Stream.SetStreamOptionsRequest request, io.grpc.stub.StreamObserver<Stream.SetStreamOptionsResponse> responseObserver) SetStreamOptions sets the options for a particular stream.
-
removeStream
default void removeStream(Stream.RemoveStreamRequest request, io.grpc.stub.StreamObserver<Stream.RemoveStreamResponse> responseObserver) RemoveStream requests a particular stream be removed. If the calling client is the last to be receiving the stream, it will attempt to be stopped to conserve resources.
-