Communication apparatus, control method for communication apparatus, and storage medium
A communication apparatus including an audio capturing unit wirelessly communicate with an external apparatus and transmit captured audio data. The apparatus stores the captured audio data and control deletion of the store audio data according to a predetermined rule. In a case where a wireless communication state with the external apparatus relating to transmission of the captured audio data does not satisfy a predetermined condition, the apparatus performs control so that the stored audio data is not deleted according to the predetermined rule.
1 . A communication apparatus that includes an audio capturing unit, comprising:
a communication unit configured to wirelessly communicate with an external apparatus and transmit audio data captured by the audio capturing unit;
a storage unit configured to store the audio data captured by the audio capturing unit; and
a control unit configured to control deletion of the audio data stored in the storage unit according to a predetermined rule, wherein
in a case where a wireless communication state with the external apparatus relating to transmission of the captured audio data does not satisfy a predetermined condition, the control unit performs control so that the audio data stored in the storage unit is not deleted according to the predetermined rule,
wherein
the communication unit transmits first audio data in response to the audio capturing unit capturing the first audio data and receives second audio data obtained by the external apparatus returning the first audio data transmitted, and
the control unit determines whether or not the wireless communication state relating to transmission of the captured audio data satisfies the predetermined condition according to a match rate between the first audio data transmitted and the second audio data returned by the external apparatus.
2 . The communication apparatus of claim 1 , wherein
controlling deletion of the audio data according to the predetermined rule includes deleting the audio data according to time elapsed from when stored in the storage unit.
3 . The communication apparatus of claim 1 , wherein
in a case where the wireless communication state relating to transmission of the captured audio data does not satisfy the predetermined condition, the control unit further adds information indicating prohibition of deletion according to the predetermined rule to the audio data stored in the storage unit.
4 . The communication apparatus of claim 1 , wherein
in a case where the wireless communication state relating to transmission of the captured audio data does not satisfy the predetermined condition, the control unit further delays deletion of the audio data according to the predetermined rule.
5 . The communication apparatus of claim 1 , further comprising:
a determination unit configured to determine whether or not the wireless communication state relating to transmission of the captured audio data satisfies the predetermined condition.
6 . The communication apparatus of claim 1 , wherein
in a case where information indicating that the wireless communication state relating to transmission of the captured audio data does not satisfy the predetermined condition is received from the external apparatus, the control unit performs control so that the audio data stored in the storage unit is not deleted according to the predetermined rule.
7 . The communication apparatus of claim 1 , wherein
in a case where information indicating prohibition of deletion according to the predetermined rule is received from the external apparatus, the control unit performs control so that the audio data stored in the storage unit is not deleted according to the predetermined rule.
8 . The communication apparatus of claim 1 , wherein
in a case where a received signal strength indicator of an electromagnetic wave signal emitted from the external apparatus is less than a received signal strength indicator threshold, the wireless communication state with the external apparatus does not satisfy the predetermined condition.
9 . The communication apparatus of claim 8 , wherein
the control unit changes the received signal strength indicator threshold depending on a difference between a received signal strength indicator and a noise floor.
10 . A method of controlling a communication apparatus that includes an audio capturing unit, comprising:
wirelessly communicating with an external apparatus and transmitting audio data captured by the audio capturing unit;
storing the audio data captured by the audio capturing unit in a storage unit; and
controlling deletion of the audio data stored in the storage unit according to a predetermined rule, wherein
in a case where a wireless communication state with the external apparatus relating to transmission of captured audio data does not satisfy a predetermined condition, in the controlling, control is performed so that the audio data stored in the storage unit is not deleted according to the predetermined rule,
wherein
the communicating with the external apparatus includes transmitting first audio data in response to the audio capturing unit capturing the first audio data and receiving second audio data obtained by the external apparatus returning the first audio data transmitted, and
the controlling deletion of the audio data includes determining whether or not the wireless communication state relating to transmission of the captured audio data satisfies the predetermined condition according to a match rate between the first audio data transmitted and the second audio data returned by the external apparatus.
11 . A non-transitory computer-readable storage medium comprising instructions for performing a method of controlling a communication apparatus that includes an audio capturing unit, the method comprising:
wirelessly communicating with an external apparatus and transmitting audio data captured by the audio capturing unit;
storing the audio data captured by the audio capturing unit in a storage unit; and
controlling deletion of the audio data stored in the storage unit according to a predetermined rule, wherein
in a case where a wireless communication state with the external apparatus relating to transmission of captured audio data does not satisfy a predetermined condition, in the controlling, control is performed so that the audio data stored in the storage unit is not deleted according to the predetermined rule,
wherein
the communicating with the external apparatus includes transmitting first audio data in response to the audio capturing unit capturing the first audio data and receiving second audio data obtained by the external apparatus returning the first audio data transmitted, and
the controlling deletion of the audio data includes determining whether or not the wireless communication state relating to transmission of the captured audio data satisfies the predetermined condition according to a match rate between the first audio data transmitted and the second audio data returned by the external apparatus.