Class StreamingVideoIntelligenceServiceGrpc.StreamingVideoIntelligenceServiceStub (2.27.0)

public static final class StreamingVideoIntelligenceServiceGrpc.StreamingVideoIntelligenceServiceStub extends AbstractAsyncStub<StreamingVideoIntelligenceServiceGrpc.StreamingVideoIntelligenceServiceStub>

A stub to allow clients to do asynchronous rpc calls to service StreamingVideoIntelligenceService.

Service that implements streaming Video Intelligence API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > StreamingVideoIntelligenceServiceGrpc.StreamingVideoIntelligenceServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected StreamingVideoIntelligenceServiceGrpc.StreamingVideoIntelligenceServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
StreamingVideoIntelligenceServiceGrpc.StreamingVideoIntelligenceServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

streamingAnnotateVideo(StreamObserver<StreamingAnnotateVideoResponse> responseObserver)

public StreamObserver<StreamingAnnotateVideoRequest> streamingAnnotateVideo(StreamObserver<StreamingAnnotateVideoResponse> responseObserver)

Performs video annotation with bidirectional streaming: emitting results while sending video/audio bytes. This method is only available via the gRPC API (not REST).

Parameter
NameDescription
responseObserverio.grpc.stub.StreamObserver<StreamingAnnotateVideoResponse>
Returns
TypeDescription
io.grpc.stub.StreamObserver<StreamingAnnotateVideoRequest>