diff --git a/protos/camera_server/camera_server.proto b/protos/camera_server/camera_server.proto index 8deeb1871..2ea7cca3e 100644 --- a/protos/camera_server/camera_server.proto +++ b/protos/camera_server/camera_server.proto @@ -19,12 +19,6 @@ service CameraServerService { // Respond to an image capture request from SubscribeTakePhoto. rpc RespondTakePhoto(RespondTakePhotoRequest) returns(RespondTakePhotoResponse) { option (mavsdk.options.async_type) = SYNC; } - - // Subscribe to start video requests. Each request received should response to using StartVideoResponse - rpc SubscribeStartVideo(SubscribeStartVideoRequest) returns(stream StartVideoResponse) { option (mavsdk.options.async_type) = ASYNC; } - - // Subscribe to stop video requests. Each request received should response to using StopVideoResponse - rpc SubscribeStopVideo(SubscribeStopVideoRequest) returns(stream StopVideoResponse) { option (mavsdk.options.async_type) = ASYNC; } } message SetInformationRequest { @@ -44,20 +38,11 @@ message SetInProgressResponse { } message SubscribeTakePhotoRequest {} + message TakePhotoResponse { int32 index = 1; } -message SubscribeStartVideoRequest {} -message StartVideoResponse { - int32 stream_id = 1; // video stream id -} - -message SubscribeStopVideoRequest {} -message StopVideoResponse { - int32 stream_id = 1; // video stream id -} - // Possible results when taking a photo. enum TakePhotoFeedback { TAKE_PHOTO_FEEDBACK_UNKNOWN = 0; // Unknown