You didn't mention what model you're testing on. There's a known issue with sleeps/waits under 10 ms on the previous gen Roku 2 XD and XS, that probably carried over to the streaming stick as well.
"merthin" wrote:
Also, does "wait(0, port)" is the same as doing port.GetMessage()?
No. Wait(0, port) will block until it receives a message.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)