The screen is breaking.
I'm making a video chat app. I did play live stream use VLCKit, As the same time, i did stream my camera screen use HaishinKit
So, I used these options not to encode and decode hardware at the same time.
rtmpMedia.addOptions([
"codec": "avcodec",
"avcodec-hw":"none",
"network-caching": 1250,
])
A few minutes later, the rendering of the screen was broken and the video almost stopped playing. Because at first, the Latency was about 2 to 3 seconds, but after a little while, it takes 10 seconds. Of course, latency can be a network-related problem, but I think it can be a machine performance problem or an option problem. Is there a problem if I play and stream at the same time? Or is it a problem that can be adjusted to some options?