update grpc proto from 7.57.2 (#881)

* update pugvanymodel proto from 7.57.2

* update playerunite/pugvanymodel proto from 7.57.2

* update playerunite related proto from 7.57.2

* update search v2 related proto from 7.57.2

* update metadata related proto from 7.57.2

* update viewunite related proto from 7.57.2
This commit is contained in:
陈寒彤
2023-12-01 18:21:36 +08:00
committed by GitHub
parent 36c3e750f6
commit c3bf4da2c9
8 changed files with 768 additions and 16 deletions

View File

@@ -0,0 +1,51 @@
syntax = "proto3";
package bilibili.app.playerunite.pugvanymodel;
//
enum EpisodeStatus {
EPISODE_STATUS_UNSPECIFIED = 0;
EPISODE_STATUS_TRY_WATCH_WHOLE = 1;
EPISODE_STATUS_NOT_TRY_WATCH = 2;
EPISODE_STATUS_TRY_WATCH_5_MINUTES = 3;
}
//
message PlayerMask {
//
string title = 1;
//
string prefix = 2;
//
string suffix = 3;
}
//
message PUGVAnyModel {
//
int64 season_id = 1;
//
int64 episode_id = 2;
//
EpisodeStatus status = 3;
//
RiskControl risk_control = 4;
//
PlayerMask player_mask = 5;
}
//
message RiskControl {
//
bool need_send_sms = 1;
//
string title = 2;
//
string risk_message = 3;
//
string action_desc = 4;
//
string send_sms_url = 5;
//
string buvid = 6;
}

View File

@@ -12,20 +12,6 @@ service Player {
rpc PlayViewUnite (PlayViewUniteReq) returns (PlayViewUniteReply);
}
//
message PlayViewUniteReq {
// 请求资源VOD信息
bilibili.playershared.VideoVod vod = 1;
//
string spmid = 2;
//
string from_spmid = 3;
// 补充信息, 如ep_id等
map<string, string> extra_content = 4;
//
string bvid = 5;
}
//
message PlayViewUniteReply {
// 音视频流信息
@@ -46,4 +32,26 @@ message PlayViewUniteReply {
bilibili.playershared.History history = 8;
//
bilibili.playershared.ViewInfo view_info = 9;
//
bilibili.playershared.FragmentVideo fragment_video = 10;
}
//
message PlayViewUniteReq {
// 请求资源VOD信息
bilibili.playershared.VideoVod vod = 1;
//
string spmid = 2;
//
string from_spmid = 3;
// 补充信息, 如ep_id等
map<string, string> extra_content = 4;
//
string bvid = 5;
//
string ad_extra = 6;
//
bilibili.playershared.Fragment fragment = 7;
//
string from_scene = 8;
}