nttcom / moq-wasm

MIT License
24 stars 1 forks source link

SUBSCRIBEメッセージの中継処理を実装 #54

Closed yuki-uchida closed 3 months ago

yuki-uchida commented 4 months ago

SUBSCRIBEメッセージをPublisher側に中継送信する処理を実装しました。

publisher側でSUBSCRIBE_OKを返すのと、SUBSCRIBE_OKを中継してSUBSCRIBERに送信する処理は次のPRでやります

test-coverage-report[bot] commented 4 months ago
Filename                                                           Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
moqt-client-sample/src/lib.rs                                            3                 3     0.00%           3                 3     0.00%           5                 5     0.00%           0                 0         -
moqt-client-sample/src/utils.rs                                          1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/constants.rs                                       1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/handlers/announce_handler.rs                      14                14     0.00%           2                 2     0.00%          26                26     0.00%           0                 0         -
moqt-core/src/modules/handlers/server_setup_handler.rs                  35                 6    82.86%           7                 0   100.00%         104                 3    97.12%           0                 0         -
moqt-core/src/modules/handlers/subscribe_handler.rs                     17                17     0.00%           2                 2     0.00%          37                37     0.00%           0                 0         -
moqt-core/src/modules/handlers/unannounce_handler.rs                    14                14     0.00%           2                 2     0.00%          19                19     0.00%           0                 0         -
moqt-core/src/modules/handlers/unsubscribe_handler.rs                    8                 8     0.00%           2                 2     0.00%          15                15     0.00%           0                 0         -
moqt-core/src/modules/message_handler.rs                                13                13     0.00%           2                 2     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/message_type.rs                                   14                14     0.00%           5                 5     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/messages/announce_error_message.rs                28                 8    71.43%           6                 1    83.33%          84                 3    96.43%           0                 0         -
moqt-core/src/modules/messages/announce_message.rs                      37                 9    75.68%           9                 2    77.78%         154                 6    96.10%           0                 0         -
moqt-core/src/modules/messages/announce_ok_message.rs                   15                 3    80.00%           6                 1    83.33%          45                 3    93.33%           0                 0         -
moqt-core/src/modules/messages/client_setup_message.rs                  46                12    73.91%           6                 1    83.33%         120                 7    94.17%           0                 0         -
moqt-core/src/modules/messages/object_message.rs                        57                15    73.68%          12                 2    83.33%         234                 6    97.44%           0                 0         -
moqt-core/src/modules/messages/server_setup_message.rs                  27                 6    77.78%           6                 1    83.33%          87                 3    96.55%           0                 0         -
moqt-core/src/modules/messages/setup_parameters.rs                      57                11    80.70%          17                 1    94.12%         152                 6    96.05%           0                 0         -
moqt-core/src/modules/messages/subscribe_error_message.rs               24                24     0.00%           4                 4     0.00%          44                44     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_ok_message.rs                  22                22     0.00%           4                 4     0.00%          41                41     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_request_message.rs             65                65     0.00%           9                 9     0.00%         118               118     0.00%           0                 0         -
moqt-core/src/modules/messages/unannounce_message.rs                    12                12     0.00%           4                 4     0.00%          17                17     0.00%           0                 0         -
moqt-core/src/modules/messages/unsubscribe_message.rs                   19                19     0.00%           6                 6     0.00%          29                29     0.00%           0                 0         -
moqt-core/src/modules/messages/version_specific_parameters.rs           56                 9    83.93%          16                 1    93.75%         239                 4    98.33%           0                 0         -
moqt-core/src/modules/moqt_client.rs                                     9                 3    66.67%           6                 2    66.67%          27                 7    74.07%           0                 0         -
moqt-core/src/modules/server_processes/announce_message.rs              22                22     0.00%           2                 2     0.00%          32                32     0.00%           0                 0         -
moqt-core/src/modules/server_processes/client_setup_message.rs          15                15     0.00%           1                 1     0.00%          21                21     0.00%           0                 0         -
moqt-core/src/modules/server_processes/subscribe_message.rs             22                22     0.00%           2                 2     0.00%          40                40     0.00%           0                 0         -
moqt-core/src/modules/variable_bytes.rs                                 28                 5    82.14%           9                 0   100.00%         104                 8    92.31%           0                 0         -
moqt-core/src/modules/variable_integer.rs                               47                 1    97.87%          15                 0   100.00%         149                 1    99.33%           0                 0         -
moqt-server-sample/src/main.rs                                           6                 6     0.00%           3                 3     0.00%          31                31     0.00%           0                 0         -
moqt-server/src/lib.rs                                                 176               176     0.00%          22                22     0.00%         268               268     0.00%           0                 0         -
moqt-server/src/modules/buffer_manager.rs                               36                36     0.00%           4                 4     0.00%          62                62     0.00%           0                 0         -
moqt-server/src/modules/stream_manager.rs                               61                61     0.00%           7                 7     0.00%          78                78     0.00%           0                 0         -
moqt-server/src/modules/track_manager.rs                                68                68     0.00%           7                 7     0.00%         100               100     0.00%           0                 0         -
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                 1075               721    32.93%         210               107    49.05%        2508              1066    57.50%           0                 0         -

Coverage report details

test-coverage-report[bot] commented 3 months ago
Filename                                                           Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
moqt-client-sample/src/lib.rs                                            3                 3     0.00%           3                 3     0.00%           5                 5     0.00%           0                 0         -
moqt-client-sample/src/utils.rs                                          1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/constants.rs                                       1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/handlers/announce_handler.rs                      14                14     0.00%           2                 2     0.00%          26                26     0.00%           0                 0         -
moqt-core/src/modules/handlers/server_setup_handler.rs                  35                 6    82.86%           7                 0   100.00%         104                 3    97.12%           0                 0         -
moqt-core/src/modules/handlers/subscribe_handler.rs                     17                17     0.00%           2                 2     0.00%          37                37     0.00%           0                 0         -
moqt-core/src/modules/handlers/unannounce_handler.rs                    14                14     0.00%           2                 2     0.00%          19                19     0.00%           0                 0         -
moqt-core/src/modules/handlers/unsubscribe_handler.rs                    8                 8     0.00%           2                 2     0.00%          15                15     0.00%           0                 0         -
moqt-core/src/modules/message_handler.rs                                13                13     0.00%           2                 2     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/message_type.rs                                   14                14     0.00%           5                 5     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/messages/announce_error_message.rs                28                 8    71.43%           6                 1    83.33%          84                 3    96.43%           0                 0         -
moqt-core/src/modules/messages/announce_message.rs                      37                 9    75.68%           9                 2    77.78%         154                 6    96.10%           0                 0         -
moqt-core/src/modules/messages/announce_ok_message.rs                   15                 3    80.00%           6                 1    83.33%          45                 3    93.33%           0                 0         -
moqt-core/src/modules/messages/client_setup_message.rs                  46                12    73.91%           6                 1    83.33%         120                 7    94.17%           0                 0         -
moqt-core/src/modules/messages/object_message.rs                        57                15    73.68%          12                 2    83.33%         234                 6    97.44%           0                 0         -
moqt-core/src/modules/messages/server_setup_message.rs                  27                 6    77.78%           6                 1    83.33%          87                 3    96.55%           0                 0         -
moqt-core/src/modules/messages/setup_parameters.rs                      57                11    80.70%          17                 1    94.12%         152                 6    96.05%           0                 0         -
moqt-core/src/modules/messages/subscribe_error_message.rs               24                24     0.00%           4                 4     0.00%          44                44     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_ok_message.rs                  22                22     0.00%           4                 4     0.00%          41                41     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_request_message.rs             65                65     0.00%           9                 9     0.00%         118               118     0.00%           0                 0         -
moqt-core/src/modules/messages/unannounce_message.rs                    12                12     0.00%           4                 4     0.00%          17                17     0.00%           0                 0         -
moqt-core/src/modules/messages/unsubscribe_message.rs                   19                19     0.00%           6                 6     0.00%          29                29     0.00%           0                 0         -
moqt-core/src/modules/messages/version_specific_parameters.rs           56                 9    83.93%          16                 1    93.75%         239                 4    98.33%           0                 0         -
moqt-core/src/modules/moqt_client.rs                                     9                 3    66.67%           6                 2    66.67%          27                 7    74.07%           0                 0         -
moqt-core/src/modules/server_processes/announce_message.rs              22                22     0.00%           2                 2     0.00%          32                32     0.00%           0                 0         -
moqt-core/src/modules/server_processes/client_setup_message.rs          15                15     0.00%           1                 1     0.00%          21                21     0.00%           0                 0         -
moqt-core/src/modules/server_processes/subscribe_message.rs             22                22     0.00%           2                 2     0.00%          40                40     0.00%           0                 0         -
moqt-core/src/modules/variable_bytes.rs                                 28                 5    82.14%           9                 0   100.00%         104                 8    92.31%           0                 0         -
moqt-core/src/modules/variable_integer.rs                               47                 1    97.87%          15                 0   100.00%         149                 1    99.33%           0                 0         -
moqt-server-sample/src/main.rs                                           6                 6     0.00%           3                 3     0.00%          31                31     0.00%           0                 0         -
moqt-server/src/lib.rs                                                 176               176     0.00%          22                22     0.00%         268               268     0.00%           0                 0         -
moqt-server/src/modules/buffer_manager.rs                               36                36     0.00%           4                 4     0.00%          62                62     0.00%           0                 0         -
moqt-server/src/modules/stream_manager.rs                               61                61     0.00%           7                 7     0.00%          78                78     0.00%           0                 0         -
moqt-server/src/modules/track_manager.rs                                64                64     0.00%           7                 7     0.00%         101               101     0.00%           0                 0         -
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                 1071               717    33.05%         210               107    49.05%        2509              1067    57.47%           0                 0         -

Coverage report details

test-coverage-report[bot] commented 3 months ago
Filename                                                           Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
moqt-client-sample/src/lib.rs                                            3                 3     0.00%           3                 3     0.00%           5                 5     0.00%           0                 0         -
moqt-client-sample/src/utils.rs                                          1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/constants.rs                                       1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/handlers/announce_handler.rs                      14                14     0.00%           2                 2     0.00%          26                26     0.00%           0                 0         -
moqt-core/src/modules/handlers/server_setup_handler.rs                  35                 6    82.86%           7                 0   100.00%         104                 3    97.12%           0                 0         -
moqt-core/src/modules/handlers/subscribe_handler.rs                     17                17     0.00%           2                 2     0.00%          37                37     0.00%           0                 0         -
moqt-core/src/modules/handlers/unannounce_handler.rs                    14                14     0.00%           2                 2     0.00%          19                19     0.00%           0                 0         -
moqt-core/src/modules/handlers/unsubscribe_handler.rs                    8                 8     0.00%           2                 2     0.00%          15                15     0.00%           0                 0         -
moqt-core/src/modules/message_handler.rs                                13                13     0.00%           2                 2     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/message_type.rs                                   14                14     0.00%           5                 5     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/messages/announce_error_message.rs                28                 8    71.43%           6                 1    83.33%          84                 3    96.43%           0                 0         -
moqt-core/src/modules/messages/announce_message.rs                      37                 9    75.68%           9                 2    77.78%         154                 6    96.10%           0                 0         -
moqt-core/src/modules/messages/announce_ok_message.rs                   15                 3    80.00%           6                 1    83.33%          45                 3    93.33%           0                 0         -
moqt-core/src/modules/messages/client_setup_message.rs                  46                12    73.91%           6                 1    83.33%         120                 7    94.17%           0                 0         -
moqt-core/src/modules/messages/object_message.rs                        57                15    73.68%          12                 2    83.33%         234                 6    97.44%           0                 0         -
moqt-core/src/modules/messages/server_setup_message.rs                  27                 6    77.78%           6                 1    83.33%          87                 3    96.55%           0                 0         -
moqt-core/src/modules/messages/setup_parameters.rs                      57                11    80.70%          17                 1    94.12%         152                 6    96.05%           0                 0         -
moqt-core/src/modules/messages/subscribe_error_message.rs               27                27     0.00%           4                 4     0.00%          51                51     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_ok_message.rs                  22                22     0.00%           4                 4     0.00%          41                41     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_request_message.rs             65                65     0.00%           9                 9     0.00%         118               118     0.00%           0                 0         -
moqt-core/src/modules/messages/unannounce_message.rs                    12                12     0.00%           4                 4     0.00%          17                17     0.00%           0                 0         -
moqt-core/src/modules/messages/unsubscribe_message.rs                   19                19     0.00%           6                 6     0.00%          29                29     0.00%           0                 0         -
moqt-core/src/modules/messages/version_specific_parameters.rs           56                 9    83.93%          16                 1    93.75%         239                 4    98.33%           0                 0         -
moqt-core/src/modules/moqt_client.rs                                     9                 3    66.67%           6                 2    66.67%          27                 7    74.07%           0                 0         -
moqt-core/src/modules/server_processes/announce_message.rs              22                22     0.00%           2                 2     0.00%          32                32     0.00%           0                 0         -
moqt-core/src/modules/server_processes/client_setup_message.rs          15                15     0.00%           1                 1     0.00%          21                21     0.00%           0                 0         -
moqt-core/src/modules/server_processes/subscribe_message.rs             22                22     0.00%           2                 2     0.00%          40                40     0.00%           0                 0         -
moqt-core/src/modules/variable_bytes.rs                                 28                 5    82.14%           9                 0   100.00%         104                 8    92.31%           0                 0         -
moqt-core/src/modules/variable_integer.rs                               47                 1    97.87%          15                 0   100.00%         149                 1    99.33%           0                 0         -
moqt-server-sample/src/main.rs                                           6                 6     0.00%           3                 3     0.00%          31                31     0.00%           0                 0         -
moqt-server/src/lib.rs                                                 176               176     0.00%          22                22     0.00%         268               268     0.00%           0                 0         -
moqt-server/src/modules/buffer_manager.rs                               36                36     0.00%           4                 4     0.00%          62                62     0.00%           0                 0         -
moqt-server/src/modules/stream_manager.rs                               61                61     0.00%           7                 7     0.00%          78                78     0.00%           0                 0         -
moqt-server/src/modules/track_manager.rs                                64                64     0.00%           7                 7     0.00%         102               102     0.00%           0                 0         -
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                 1074               720    32.96%         210               107    49.05%        2517              1075    57.29%           0                 0         -

Coverage report details

test-coverage-report[bot] commented 3 months ago
Filename                                                           Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
moqt-client-sample/src/lib.rs                                            3                 3     0.00%           3                 3     0.00%           5                 5     0.00%           0                 0         -
moqt-client-sample/src/utils.rs                                          1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/constants.rs                                       1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/handlers/announce_handler.rs                      14                14     0.00%           2                 2     0.00%          26                26     0.00%           0                 0         -
moqt-core/src/modules/handlers/server_setup_handler.rs                  35                 6    82.86%           7                 0   100.00%         104                 3    97.12%           0                 0         -
moqt-core/src/modules/handlers/subscribe_handler.rs                     17                17     0.00%           2                 2     0.00%          37                37     0.00%           0                 0         -
moqt-core/src/modules/handlers/unannounce_handler.rs                    14                14     0.00%           2                 2     0.00%          19                19     0.00%           0                 0         -
moqt-core/src/modules/handlers/unsubscribe_handler.rs                    8                 8     0.00%           2                 2     0.00%          15                15     0.00%           0                 0         -
moqt-core/src/modules/message_handler.rs                                13                13     0.00%           2                 2     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/message_type.rs                                   14                14     0.00%           5                 5     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/messages/announce_error_message.rs                28                 8    71.43%           6                 1    83.33%          84                 3    96.43%           0                 0         -
moqt-core/src/modules/messages/announce_message.rs                      37                 9    75.68%           9                 2    77.78%         154                 6    96.10%           0                 0         -
moqt-core/src/modules/messages/announce_ok_message.rs                   15                 3    80.00%           6                 1    83.33%          45                 3    93.33%           0                 0         -
moqt-core/src/modules/messages/client_setup_message.rs                  46                12    73.91%           6                 1    83.33%         120                 7    94.17%           0                 0         -
moqt-core/src/modules/messages/object_message.rs                        57                15    73.68%          12                 2    83.33%         234                 6    97.44%           0                 0         -
moqt-core/src/modules/messages/server_setup_message.rs                  27                 6    77.78%           6                 1    83.33%          87                 3    96.55%           0                 0         -
moqt-core/src/modules/messages/setup_parameters.rs                      57                11    80.70%          17                 1    94.12%         152                 6    96.05%           0                 0         -
moqt-core/src/modules/messages/subscribe_error_message.rs               27                27     0.00%           4                 4     0.00%          51                51     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_ok_message.rs                  22                22     0.00%           4                 4     0.00%          41                41     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_request_message.rs             65                65     0.00%           9                 9     0.00%         118               118     0.00%           0                 0         -
moqt-core/src/modules/messages/unannounce_message.rs                    12                12     0.00%           4                 4     0.00%          17                17     0.00%           0                 0         -
moqt-core/src/modules/messages/unsubscribe_message.rs                   19                19     0.00%           6                 6     0.00%          29                29     0.00%           0                 0         -
moqt-core/src/modules/messages/version_specific_parameters.rs           56                 9    83.93%          16                 1    93.75%         239                 4    98.33%           0                 0         -
moqt-core/src/modules/moqt_client.rs                                     9                 3    66.67%           6                 2    66.67%          27                 7    74.07%           0                 0         -
moqt-core/src/modules/server_processes/announce_message.rs              22                22     0.00%           2                 2     0.00%          32                32     0.00%           0                 0         -
moqt-core/src/modules/server_processes/client_setup_message.rs          15                15     0.00%           1                 1     0.00%          21                21     0.00%           0                 0         -
moqt-core/src/modules/server_processes/subscribe_message.rs             22                22     0.00%           2                 2     0.00%          40                40     0.00%           0                 0         -
moqt-core/src/modules/variable_bytes.rs                                 28                 5    82.14%           9                 0   100.00%         104                 8    92.31%           0                 0         -
moqt-core/src/modules/variable_integer.rs                               47                 1    97.87%          15                 0   100.00%         149                 1    99.33%           0                 0         -
moqt-server-sample/src/main.rs                                           6                 6     0.00%           3                 3     0.00%          31                31     0.00%           0                 0         -
moqt-server/src/lib.rs                                                 176               176     0.00%          22                22     0.00%         268               268     0.00%           0                 0         -
moqt-server/src/modules/buffer_manager.rs                               36                36     0.00%           4                 4     0.00%          62                62     0.00%           0                 0         -
moqt-server/src/modules/stream_manager.rs                               61                61     0.00%           7                 7     0.00%          78                78     0.00%           0                 0         -
moqt-server/src/modules/track_manager.rs                                64                64     0.00%           7                 7     0.00%         102               102     0.00%           0                 0         -
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                 1074               720    32.96%         210               107    49.05%        2517              1075    57.29%           0                 0         -

Coverage report details

tetter27 commented 3 months ago

@yuki-uchida 以下2点対応しました。

  1. SubscribeErrorへreason_phrase_lengthを実装
  2. TrackManagerRepository.get_publisher_session_id_by_track_namespaceの戻り値の名前をresultからsession_idへ変更
test-coverage-report[bot] commented 3 months ago
Filename                                                           Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
moqt-client-sample/src/lib.rs                                            3                 3     0.00%           3                 3     0.00%           5                 5     0.00%           0                 0         -
moqt-client-sample/src/utils.rs                                          1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/constants.rs                                       1                 1     0.00%           1                 1     0.00%           1                 1     0.00%           0                 0         -
moqt-core/src/modules/handlers/announce_handler.rs                      14                14     0.00%           2                 2     0.00%          26                26     0.00%           0                 0         -
moqt-core/src/modules/handlers/server_setup_handler.rs                  35                 6    82.86%           7                 0   100.00%         104                 3    97.12%           0                 0         -
moqt-core/src/modules/handlers/subscribe_handler.rs                     17                17     0.00%           2                 2     0.00%          37                37     0.00%           0                 0         -
moqt-core/src/modules/handlers/unannounce_handler.rs                    14                14     0.00%           2                 2     0.00%          19                19     0.00%           0                 0         -
moqt-core/src/modules/handlers/unsubscribe_handler.rs                    8                 8     0.00%           2                 2     0.00%          15                15     0.00%           0                 0         -
moqt-core/src/modules/message_handler.rs                                13                13     0.00%           2                 2     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/message_type.rs                                   14                14     0.00%           5                 5     0.00%          12                12     0.00%           0                 0         -
moqt-core/src/modules/messages/announce_error_message.rs                28                 8    71.43%           6                 1    83.33%          84                 3    96.43%           0                 0         -
moqt-core/src/modules/messages/announce_message.rs                      37                 9    75.68%           9                 2    77.78%         154                 6    96.10%           0                 0         -
moqt-core/src/modules/messages/announce_ok_message.rs                   15                 3    80.00%           6                 1    83.33%          45                 3    93.33%           0                 0         -
moqt-core/src/modules/messages/client_setup_message.rs                  46                12    73.91%           6                 1    83.33%         120                 7    94.17%           0                 0         -
moqt-core/src/modules/messages/object_message.rs                        57                15    73.68%          12                 2    83.33%         234                 6    97.44%           0                 0         -
moqt-core/src/modules/messages/server_setup_message.rs                  27                 6    77.78%           6                 1    83.33%          87                 3    96.55%           0                 0         -
moqt-core/src/modules/messages/setup_parameters.rs                      57                11    80.70%          17                 1    94.12%         152                 6    96.05%           0                 0         -
moqt-core/src/modules/messages/subscribe_error_message.rs               27                27     0.00%           4                 4     0.00%          51                51     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_ok_message.rs                  22                22     0.00%           4                 4     0.00%          41                41     0.00%           0                 0         -
moqt-core/src/modules/messages/subscribe_request_message.rs             65                65     0.00%           9                 9     0.00%         118               118     0.00%           0                 0         -
moqt-core/src/modules/messages/unannounce_message.rs                    12                12     0.00%           4                 4     0.00%          17                17     0.00%           0                 0         -
moqt-core/src/modules/messages/unsubscribe_message.rs                   19                19     0.00%           6                 6     0.00%          29                29     0.00%           0                 0         -
moqt-core/src/modules/messages/version_specific_parameters.rs           56                 9    83.93%          16                 1    93.75%         239                 4    98.33%           0                 0         -
moqt-core/src/modules/moqt_client.rs                                     9                 3    66.67%           6                 2    66.67%          27                 7    74.07%           0                 0         -
moqt-core/src/modules/server_processes/announce_message.rs              22                22     0.00%           2                 2     0.00%          32                32     0.00%           0                 0         -
moqt-core/src/modules/server_processes/client_setup_message.rs          15                15     0.00%           1                 1     0.00%          21                21     0.00%           0                 0         -
moqt-core/src/modules/server_processes/subscribe_message.rs             22                22     0.00%           2                 2     0.00%          40                40     0.00%           0                 0         -
moqt-core/src/modules/variable_bytes.rs                                 28                 5    82.14%           9                 0   100.00%         104                 8    92.31%           0                 0         -
moqt-core/src/modules/variable_integer.rs                               47                 1    97.87%          15                 0   100.00%         149                 1    99.33%           0                 0         -
moqt-server-sample/src/main.rs                                           6                 6     0.00%           3                 3     0.00%          31                31     0.00%           0                 0         -
moqt-server/src/lib.rs                                                 176               176     0.00%          22                22     0.00%         268               268     0.00%           0                 0         -
moqt-server/src/modules/buffer_manager.rs                               36                36     0.00%           4                 4     0.00%          62                62     0.00%           0                 0         -
moqt-server/src/modules/stream_manager.rs                               61                61     0.00%           7                 7     0.00%          78                78     0.00%           0                 0         -
moqt-server/src/modules/track_manager.rs                                64                64     0.00%           7                 7     0.00%         102               102     0.00%           0                 0         -
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                 1074               720    32.96%         210               107    49.05%        2517              1075    57.29%           0                 0         -

Coverage report details

yuki-uchida commented 3 months ago

僕がPR出した関係で自身でApprove押せないので、僕の方でマージしちゃいますね