Results 70 comments of dosgo

I used pure golang to implement a scrcpy client that can be accessed through webrtc and can be ported to any platform https://github.com/dosgo/castX

![image](https://github.com/user-attachments/assets/0ee5834b-4c22-4ea1-82f7-cf8924e7f114)

I want to know how to control the display and hiding of windows so that they can be used with a third-party tray library.

> About the `headers_sent()` problem is that it isn't loaded the Adapterman functions before you use the FatFree framework. > > You need to place the `Adapterman::init()` at the beginning...

Use zend_set_user_opcode_handler(ZEND_EXIT, coro_exit_handler) just like swoole; to capture exie die, and then use ZEND_REPLACE_FUNCTION to add a hook. This should make it compatible without changing a single line of code,...

Currently I handled the pts interval issue myself and it works fine

![Image](https://github.com/user-attachments/assets/01b45cc7-5d0d-479d-8491-40c511efc5a3) I haven't tested acc. The timestamp should be caused by fixTimestamp function. The code uses System.nanoTime(). The encoder should generate a balanced interval. My other program uses MediaCodec.BufferInfo presentationTimeUs...

![Image](https://github.com/user-attachments/assets/f1911961-2d68-4b37-8fa9-b53d89c5118b)