bluejune
Well-known member
- Joined
- Apr 8, 2018
- Messages
- 144
- Reaction score
- 190
SPS request packet is sent periodically (every 1sec) in the timerTask.Thank you BlueJune,
I tried your updated code.
Unfortunately it does not improve the quality issue. My BT was turned off. There is a lot of WiFi interference in my house, but when I use the phone app the video quality is better than that. There may be some missing/extra bytes in the binary output file. Maybe the SPS info should be resent periodicaly or we should set a coding rate like deadprogram suggested here.
I'm having a lot of fun.
Hugh
And I have no video quality issue like your screenshot with updated codes.
###############################################################################
# timerTask
###############################################################################
def _timerTask(self, arg):
self._sendCmd(0x60, self.TELLO_CMD_STICK, None)
self.rcCtr = self.rcCtr + 1
#every 1sec
if self.rcCtr % 50 == 0:
self._sendCmd(0x60, self.TELLO_CMD_REQ_VIDEO_SPS_PPS, None)