Adobe-Runtime-Support
Adobe-Runtime-Support copied to clipboard
On Mac, the frequency of ProgressEvent.SOCKET_DATA event calls is affected by the framerate.
Problem Description
In Mac, the frequency of ProgressEvent.SOCKET_DATA event calls is affected by the framerate. For example, if the average framerate is 10 and the socket recv event actually occurs 30 times per second, then It looks like the only 10 events will be called in a second. ( The remaining events are called after.) (On Window, all of them would be called in a second.)
- Air SDK Version :
50.2.3.8
Steps to Reproduce
- I add a event listener to a socket..
var socket:Socket = new Socket();
...
socket.addEventListener(ProgressEvent.SOCKET_DATA, onReceiveData);
...
socket.connect(host, port);
- Change framerate for reproduce
public function Main() {
...
stage.frameRate = 10;
...
}
- it runs on...
- OS :
MacOS 14 Sonoma