Files
go2rtc/internal
Sergey Krashevich 2b7682cdb3 refactor(dvrip): simplify broadcast loop structure
- replace traditional for loop with range-based for loop for clarity

refactor(ffmpeg): simplify cut function loop
- utilize range-based for loop instead of traditional for loop

refactor(ring): update API response mapping type
- change map type from `interface{}` to `any` for better type safety

refactor(stream): handle nil source in NewStream
- add nil check for source elements before processing

refactor(webrtc): unify payload handling in GetToken
- change map type from `interface{}` to `any` for consistency

refactor(ascii): optimize nested loops in Write function
- replace traditional for loops with range-based for loops for readability

refactor(bits): enhance readability in Reader methods
- replace traditional for loops with range-based for loops in Read functions

refactor(h264): modernize loop structures in DecodeConfig
- switch to range-based for loops for cleaner code

refactor(h265): streamline profile_tier_level loops
- utilize range-based for loops instead of traditional for loops

chore(core): remove commented-out test function for clarity

refactor(core): simplify RandString function loop
- change traditional for loop to range-based for loop

refactor(flvt): optimize timestamp handling in TestTimeToRTP
- switch to range-based for loop for iterating frames

refactor(nest): improve error handling in ExchangeSDP
- format error message with printf-style formatting for clarity

refactor(tapo): enhance securityEncode function
- change traditional for loop to range-based for loop for readability

fix(tcp): correct masking in websocket Write method
- replace traditional for loop with range-based for loop

refactor(tutk): modernize encoding loops in crypto functions
- utilize range-based for loops for better readability

refactor(tuya): unify data types in MQTT message struct
- change map type from `interface{}` to `any` for consistency

refactor(webrtc): standardize codec registration
- change map type from `interface{}` to `any` for type safety

refactor(yaml): simplify Unmarshal function signature
- update parameter type from `interface{}` to `any` for better clarity
2026-03-10 23:26:45 +03:00
..
2026-02-06 21:45:55 +03:00
2026-02-07 00:08:47 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 08:50:18 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 07:01:14 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 07:10:30 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 08:50:18 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 08:50:18 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-07 00:08:47 +03:00
2026-02-06 21:45:55 +03:00
2026-02-06 21:45:55 +03:00
2026-02-08 07:10:30 +03:00

Modules

go2rtc tries to name formats, protocols and codecs the same way they are named in FFmpeg. Some formats and protocols go2rtc supports exclusively. They have no equivalent in FFmpeg.

Modules implement communication APIs: authorization, encryption, command set, structure of media packets.

Formats describe the structure of the data being transmitted.

Protocols implement transport for data transmission.

module formats protocols input output ingest two-way
alsa pcm ioctl yes
bubble - http yes
doorbird mulaw http yes yes
dvrip - tcp yes yes
echo * * yes
eseecloud rtp http yes
exec * pipe, rtsp yes yes
expr * * yes
ffmpeg * pipe, rtsp yes
flussonic mp4 ws yes
gopro mpegts udp yes
hass * * yes
hls mpegts, mp4 http yes
homekit srtp hap yes yes no
http adts http, tcp yes
http flv http, tcp yes
http h264 http, tcp yes
http hevc http, tcp yes
http hls http, tcp yes
http mjpeg http, tcp yes
http mpjpeg http yes
http mpegts http, tcp yes
http wav http, tcp yes
http yuv4mpegpipe http, tcp yes
isapi alaw, mulaw http yes
ivideon mp4 ws yes
kasa h264, mulaw http yes
mjpeg ascii http yes
mjpeg jpeg http yes
mjpeg mpjpeg http yes yes
mjpeg yuv4mpegpipe http yes
mp4 mp4 http, ws yes
mpeg adts http yes
mpeg mpegts http yes yes
multitrans rtp tcp yes
nest srtp rtsp, webrtc yes no
onvif rtp * yes yes
ring srtp webrtc yes yes
roborock srtp webrtc yes yes
rtmp flv rtmp yes yes yes
rtmp flv http yes yes
rtsp rtsp rtsp yes yes yes yes
tapo mpegts http yes yes
tuya srtp webrtc yes yes
v4l2 rawvideo ioctl yes
webrtc srtp webrtc yes yes yes yes
webtorrent srtp webrtc yes yes
wyoming pcm tcp yes
wyze - tutk yes yes
xiaomi - cs2, tutk yes yes
yandex srtp webrtc yes