JVC VN-E4U API Guide - Page 76

Customizing VN-E4's Built-in Viewer, Causes of Frame Rate Deterioration, Countermeasure 1

Page 76 highlights

11. Customizing VN-E4's Built-in Viewer 10. Advanced Topics (1) When frame rate drops deteriorates due to long network delay time Ⅵ Causes of Frame Rate Deterioration During transmission via TCP, VN-E4 sends out the following data by receiving the Ack of TCP. When network delay is long, reception of Ack will be delayed and sending rate will drop. This therefore leads to a drop in the frame rate. Ⅵ Countermeasure 1 One of the countermeasures to improve this situation is to increase the TCP window size. Use sendbuffer (API argument for sending data to VN-E4) to increase the outgoing buffer size of VN-E4. In addition, increase the window scale and incoming buffer size at the client's end as well. If the OS used by the client is Windows, window scale can be altered by changing the registry. Refer to the Windows manual for details on operation of Windows registry. Additionally, the total size that can be increased by the sendbuffer argument of API is up to 1MB. Subsequent client requests to increase the buffer size will be rejected if the 1 MB size has already been used up by other clients. Ⅵ Countermeasure 2 This problem can be avoided by receiving via multicast. Multicast uses UDP and Ack does not exist. As such, the sender will be able to continue sending without being affected by network delays. 76

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

76
10. Advanced Topics
(1) When frame rate drops deteriorates due to long network delay time
±
Causes of Frame Rate Deterioration
During transmission via TCP, VN-E4 sends out the following data by receiving the Ack of TCP. When network delay is long, reception of
Ack will be delayed and sending rate will drop. This therefore leads to a drop in the frame rate.
±
Countermeasure 1
One of the countermeasures to improve this situation is to increase the TCP window size. Use sendbuffer (API argument for sending data to
VN-E4) to increase the outgoing buffer size of VN-E4. In addition, increase the window scale and incoming buffer size at the client's end as
well. If the OS used by the client is Windows, window scale can be altered by changing the registry. Refer to the Windows manual for
details on operation of Windows registry.
Additionally, the total size that can be increased by the sendbuffer argument of API is up to 1MB. Subsequent client requests to increase the
buffer size will be rejected if the 1 MB size has already been used up by other clients.
±
Countermeasure 2
This problem can be avoided by receiving via multicast. Multicast uses UDP and Ack does not exist. As such, the sender will be able to
continue sending without being affected by network delays.
11. Customizing VN-E4's Built-in Viewer