ws-qvh
ws-qvh copied to clipboard
WS-QVH buffer format and help
Hi Can you help me, how ws-qvh works and what format, it is buffering its raw data. so i can use AVFOUNDATION ios library to mimic same.
Hi.
ws-qvh sends raw h264 NAL-units with additionally four bytes at the beginning ([]byte{00, 00, 00, 01}
) over Web Socket. One NALU per message.
That's all.
I have pure swift version using AVFoundation, I ll see if I can stream to websocket. how port is managed? random?
https://github.com/NetrisTV/ws-qvh/blob/dde948424463b4255c27e2897fa7c70eae691cc7/main.go#L23-L30