diff options
| author | Anton <anton@picapica.im> | 2026-11-24 02:40:10 +0400 |
|---|---|---|
| committer | Anton <anton@picapica.im> | 2026-11-24 02:40:10 +0400 |
| commit | 48417c1da102dc9eb332227237805b8e28f81f97 (patch) | |
| tree | 53defd47a60bf505a3431a0ae4193b1e40b29c2e /doc/proto-doc-audiovideo.txt | |
| parent | 3922dcc4c4822cc626d62f73ddefbe4fce8e94e5 (diff) | |
| parent | 98d341e2e55852f075001c6c2d084d025a97383f (diff) | |
| download | pica-pica-master.tar.gz pica-pica-master.zip | |
Diffstat (limited to 'doc/proto-doc-audiovideo.txt')
| -rw-r--r-- | doc/proto-doc-audiovideo.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/proto-doc-audiovideo.txt b/doc/proto-doc-audiovideo.txt new file mode 100644 index 0000000..4ccc667 --- /dev/null +++ b/doc/proto-doc-audiovideo.txt @@ -0,0 +1,38 @@ +Audio and Video Calls. + +Call request (ring) +[0x70 0x70] +[2 pseudo-random octets] + +Call answer (pick up) +[0x71 0x71] +[2 pseudo-random octets] + +Call reject +[0x72 0x72] +[2 pseudo-random octets] + +Call hang up (finished) +[0x73 0x73] +[2 pseudo-random octets] + +Audio stream parameters +[0x74 0x74] +[codec - 20 octet string, left-aligned, padded with zeroes, +"opus", "adpcm_g722", "pcm_alaw" named as in ffmpeg] +[sample rate, uint16_t little-endian] + +Video stream parameters +[0x75 0x75] +[codec - 20 octet string, left-aligned, padded with zeroes, e.g. +"hevc", "h264", "mjpeg", "vp9", named as in ffmpeg] +[width, uint16_t, little-endian] +[height, uint16_t, little-endian] + +Voice (audio) packet +[0x76 0x76][length 2 octets][data] + +Video packet +[0x77 0x77][length 2 octets][data] + + |
