├── .format.txt ├── vendor ├── github.com │ ├── gobwas │ │ ├── ws │ │ │ ├── server_test.s │ │ │ ├── .gitignore │ │ │ └── dialer_tls_go18.go │ │ └── pool │ │ │ └── pbufio │ │ │ └── pbufio_go110.go │ ├── wlynxg │ │ └── anet │ │ │ ├── .gitignore │ │ │ ├── android_api_level.go │ │ │ └── android_api_level_cgo.go │ ├── mgutz │ │ └── ansi │ │ │ └── .gitignore │ ├── mattn │ │ ├── go-pointer │ │ │ ├── doc.go │ │ │ └── README.md │ │ ├── go-isatty │ │ │ ├── doc.go │ │ │ ├── .travis.yml │ │ │ ├── isatty_others.go │ │ │ └── isatty_tcgets.go │ │ └── go-colorable │ │ │ └── .travis.yml │ ├── bluenviron │ │ ├── gortsplib │ │ │ └── v4 │ │ │ │ ├── .dockerignore │ │ │ │ ├── .gitignore │ │ │ │ ├── pkg │ │ │ │ ├── auth │ │ │ │ │ ├── auth.go │ │ │ │ │ └── nonce.go │ │ │ │ ├── rtptime │ │ │ │ │ └── rtptime.go │ │ │ │ ├── format │ │ │ │ │ ├── rtpac3 │ │ │ │ │ │ └── rtpac3.go │ │ │ │ │ ├── rtpav1 │ │ │ │ │ │ └── rtpav1.go │ │ │ │ │ ├── rtpvp8 │ │ │ │ │ │ └── rtpvp8.go │ │ │ │ │ ├── rtpvp9 │ │ │ │ │ │ └── rtpvp9.go │ │ │ │ │ ├── rtph264 │ │ │ │ │ │ └── rtph264.go │ │ │ │ │ ├── rtph265 │ │ │ │ │ │ └── rtph265.go │ │ │ │ │ ├── rtplpcm │ │ │ │ │ │ └── rtplpcm.go │ │ │ │ │ ├── rtpmpeg4audio │ │ │ │ │ │ └── rtpmpeg4audio.go │ │ │ │ │ ├── rtpmpeg4video │ │ │ │ │ │ └── rtpmpeg4video.go │ │ │ │ │ ├── rtpmpeg1audio │ │ │ │ │ │ └── rtpmpeg1audio.go │ │ │ │ │ ├── rtpmpeg1video │ │ │ │ │ │ └── rtpmpeg1video.go │ │ │ │ │ ├── rtpmjpeg │ │ │ │ │ │ └── rtpmjpeg.go │ │ │ │ │ └── rtpsimpleaudio │ │ │ │ │ │ ├── rtpsimpleaudio.go │ │ │ │ │ │ └── decoder.go │ │ │ │ ├── liberrors │ │ │ │ │ └── liberrors.go │ │ │ │ └── base │ │ │ │ │ └── path.go │ │ │ │ ├── client_stats.go │ │ │ │ ├── empty_timer.go │ │ │ │ ├── stats_conn.go │ │ │ │ ├── constants.go │ │ │ │ ├── restrict_network.go │ │ │ │ └── transport.go │ │ └── mediacommon │ │ │ └── v2 │ │ │ └── pkg │ │ │ ├── codecs │ │ │ ├── mpeg1audio │ │ │ │ └── mpeg1_audio.go │ │ │ ├── av1 │ │ │ │ ├── obu_type.go │ │ │ │ └── av1.go │ │ │ ├── vp8 │ │ │ │ └── vp8.go │ │ │ ├── vp9 │ │ │ │ └── vp9.go │ │ │ ├── ac3 │ │ │ │ └── ac3.go │ │ │ ├── jpeg │ │ │ │ ├── start_of_image.go │ │ │ │ ├── jpeg.go │ │ │ │ └── define_restart_interval.go │ │ │ ├── h264 │ │ │ │ ├── is_random_access.go │ │ │ │ └── h264.go │ │ │ ├── mpeg4audio │ │ │ │ ├── object_type.go │ │ │ │ ├── mpeg4_audio.go │ │ │ │ └── sample_rates.go │ │ │ └── h265 │ │ │ │ ├── is_random_access.go │ │ │ │ └── h265.go │ │ │ └── bits │ │ │ └── write.go │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_check_no_terminal.go │ │ │ ├── terminal_check_unix.go │ │ │ ├── terminal_check_solaris.go │ │ │ ├── terminal_check_bsd.go │ │ │ ├── terminal_check_notappengine.go │ │ │ └── appveyor.yml │ ├── pion │ │ ├── mdns │ │ │ ├── .goreleaser.yml │ │ │ ├── mdns.go │ │ │ ├── renovate.json │ │ │ ├── v2 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── mdns.go │ │ │ │ ├── .gitignore │ │ │ │ ├── codecov.yml │ │ │ │ └── errors.go │ │ │ ├── .gitignore │ │ │ ├── codecov.yml │ │ │ └── errors.go │ │ ├── turn │ │ │ ├── v2 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── .gitignore │ │ │ │ ├── codecov.yml │ │ │ │ └── internal │ │ │ │ │ ├── client │ │ │ │ │ └── trylock.go │ │ │ │ │ └── server │ │ │ │ │ └── stun.go │ │ │ └── v4 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── .gitignore │ │ │ │ ├── codecov.yml │ │ │ │ └── internal │ │ │ │ └── client │ │ │ │ └── client.go │ │ ├── webrtc │ │ │ ├── v3 │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── .codacy.yaml │ │ │ │ ├── package.json │ │ │ │ ├── rtpreceiveparameters.go │ │ │ │ ├── sctpcapabilities.go │ │ │ │ ├── rtpsendparameters.go │ │ │ │ ├── icegatheroptions.go │ │ │ │ ├── dtlsparameters.go │ │ │ │ ├── rtpcapabilities.go │ │ │ │ ├── iceparameters.go │ │ │ │ ├── rtpreceiver_js.go │ │ │ │ ├── datachannelmessage.go │ │ │ │ ├── icecandidateinit.go │ │ │ │ ├── rtpdecodingparameters.go │ │ │ │ ├── rtpencodingparameters.go │ │ │ │ ├── rtpsender_js.go │ │ │ │ ├── ice_go.go │ │ │ │ ├── .gitignore │ │ │ │ └── codecov.yml │ │ │ └── v4 │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── .codacy.yaml │ │ │ │ ├── rtpreceiveparameters.go │ │ │ │ ├── sctpcapabilities.go │ │ │ │ ├── rtpsendparameters.go │ │ │ │ ├── icegatheroptions.go │ │ │ │ ├── dtlsparameters.go │ │ │ │ ├── rtpcapabilities.go │ │ │ │ ├── package.json │ │ │ │ ├── iceparameters.go │ │ │ │ ├── datachannelmessage.go │ │ │ │ ├── icecandidateinit.go │ │ │ │ ├── rtpdecodingparameters.go │ │ │ │ ├── rtpencodingparameters.go │ │ │ │ ├── rtptransceiverinit.go │ │ │ │ ├── ice_go.go │ │ │ │ ├── .gitignore │ │ │ │ ├── codecov.yml │ │ │ │ ├── rtpreceiver_js.go │ │ │ │ └── rtpsender_js.go │ │ ├── transport │ │ │ ├── v2 │ │ │ │ ├── vnet │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── vnet.go │ │ │ │ │ └── errors.go │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── packetio │ │ │ │ │ ├── hardlimit.go │ │ │ │ │ └── no_hardlimit.go │ │ │ │ ├── connctx │ │ │ │ │ └── pipe.go │ │ │ │ ├── .gitignore │ │ │ │ └── codecov.yml │ │ │ └── v3 │ │ │ │ ├── vnet │ │ │ │ ├── .gitignore │ │ │ │ ├── vnet.go │ │ │ │ └── errors.go │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── packetio │ │ │ │ ├── hardlimit.go │ │ │ │ └── no_hardlimit.go │ │ │ │ ├── deadline │ │ │ │ ├── timer.go │ │ │ │ └── timer_generic.go │ │ │ │ ├── netctx │ │ │ │ └── pipe.go │ │ │ │ ├── .gitignore │ │ │ │ ├── codecov.yml │ │ │ │ └── utils │ │ │ │ └── xor │ │ │ │ └── xor_generic.go │ │ ├── rtp │ │ │ ├── .goreleaser.yml │ │ │ ├── renovate.json │ │ │ ├── rtp.go │ │ │ ├── codecs │ │ │ │ ├── codecs.go │ │ │ │ └── av1 │ │ │ │ │ └── obu │ │ │ │ │ └── errors.go │ │ │ ├── partitionheadchecker.go │ │ │ ├── rand.go │ │ │ ├── .gitignore │ │ │ └── codecov.yml │ │ ├── dtls │ │ │ ├── v2 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── dtls.go │ │ │ │ ├── compression_method.go │ │ │ │ ├── packet.go │ │ │ │ ├── pkg │ │ │ │ │ └── crypto │ │ │ │ │ │ └── signaturehash │ │ │ │ │ │ └── errors.go │ │ │ │ ├── internal │ │ │ │ │ └── ciphersuite │ │ │ │ │ │ ├── types │ │ │ │ │ │ └── authentication_type.go │ │ │ │ │ │ ├── tls_psk_with_aes_128_ccm.go │ │ │ │ │ │ ├── tls_psk_with_aes_128_ccm8.go │ │ │ │ │ │ └── tls_psk_with_aes_256_ccm8.go │ │ │ │ ├── .editorconfig │ │ │ │ ├── .gitignore │ │ │ │ ├── codecov.yml │ │ │ │ ├── errors_noerrno.go │ │ │ │ └── resume.go │ │ │ └── v3 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── dtls.go │ │ │ │ ├── compression_method.go │ │ │ │ ├── packet.go │ │ │ │ ├── internal │ │ │ │ └── ciphersuite │ │ │ │ │ └── types │ │ │ │ │ └── authentication_type.go │ │ │ │ ├── .editorconfig │ │ │ │ ├── resume.go │ │ │ │ ├── .gitignore │ │ │ │ ├── codecov.yml │ │ │ │ ├── pkg │ │ │ │ └── crypto │ │ │ │ │ └── signaturehash │ │ │ │ │ └── errors.go │ │ │ │ └── errors_noerrno.go │ │ ├── ice │ │ │ ├── v2 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── .gitignore │ │ │ │ └── codecov.yml │ │ │ └── v4 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── .gitignore │ │ │ │ └── codecov.yml │ │ ├── logging │ │ │ ├── .goreleaser.yml │ │ │ ├── renovate.json │ │ │ ├── .gitignore │ │ │ └── codecov.yml │ │ ├── rtcp │ │ │ ├── .goreleaser.yml │ │ │ ├── renovate.json │ │ │ ├── .gitignore │ │ │ └── codecov.yml │ │ ├── sctp │ │ │ ├── .goreleaser.yml │ │ │ ├── renovate.json │ │ │ ├── sctp.go │ │ │ ├── chunk.go │ │ │ ├── .gitignore │ │ │ ├── codecov.yml │ │ │ ├── param_ecn_capable.go │ │ │ └── param_random.go │ │ ├── sdp │ │ │ └── v3 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── sdp.go │ │ │ │ ├── .gitignore │ │ │ │ └── codecov.yml │ │ ├── srtp │ │ │ ├── v2 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── stream.go │ │ │ │ ├── .gitignore │ │ │ │ └── codecov.yml │ │ │ └── v3 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── stream.go │ │ │ │ ├── .gitignore │ │ │ │ └── codecov.yml │ │ ├── stun │ │ │ ├── .goreleaser.yml │ │ │ ├── renovate.json │ │ │ ├── v3 │ │ │ │ ├── .goreleaser.yml │ │ │ │ ├── renovate.json │ │ │ │ ├── internal │ │ │ │ │ └── hmac │ │ │ │ │ │ └── vendor.sh │ │ │ │ ├── fingerprint_debug.go │ │ │ │ ├── .gitignore │ │ │ │ ├── integrity_debug.go │ │ │ │ └── codecov.yml │ │ │ ├── internal │ │ │ │ └── hmac │ │ │ │ │ └── vendor.sh │ │ │ ├── fingerprint_debug.go │ │ │ ├── .gitignore │ │ │ ├── integrity_debug.go │ │ │ └── codecov.yml │ │ ├── datachannel │ │ │ ├── .goreleaser.yml │ │ │ ├── renovate.json │ │ │ ├── .gitignore │ │ │ └── codecov.yml │ │ ├── interceptor │ │ │ ├── .goreleaser.yml │ │ │ ├── renovate.json │ │ │ ├── pkg │ │ │ │ ├── report │ │ │ │ │ ├── report.go │ │ │ │ │ └── ticker.go │ │ │ │ ├── nack │ │ │ │ │ ├── errors.go │ │ │ │ │ └── nack.go │ │ │ │ └── rfc8888 │ │ │ │ │ └── ticker.go │ │ │ ├── .gitignore │ │ │ └── codecov.yml │ │ └── randutil │ │ │ ├── renovate.json │ │ │ └── codecov.yml │ ├── google │ │ ├── gopacket │ │ │ ├── layers │ │ │ │ ├── gen_linted.sh │ │ │ │ └── .lint_blacklist │ │ │ ├── .travis.gofmt.sh │ │ │ ├── .travis.govet.sh │ │ │ ├── .travis.install.sh │ │ │ └── .travis.script.sh │ │ └── uuid │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTORS │ │ │ ├── doc.go │ │ │ └── node_js.go │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── x-cray │ │ └── logrus-prefixed-formatter │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ └── Makefile │ ├── ghettovoice │ │ └── gosip │ │ │ └── sip │ │ │ ├── transport.go │ │ │ ├── parser │ │ │ └── README.md │ │ │ └── transaction.go │ ├── stretchr │ │ └── testify │ │ │ ├── require │ │ │ ├── require_forward.go.tmpl │ │ │ ├── require.go.tmpl │ │ │ └── forward_requirements.go │ │ │ └── assert │ │ │ ├── assertion_format.go.tmpl │ │ │ ├── assertion_forward.go.tmpl │ │ │ ├── errors.go │ │ │ ├── assertion_compare_legacy.go │ │ │ ├── assertion_compare_can_convert.go │ │ │ └── forward_assertions.go │ ├── konsorten │ │ └── go-windows-terminal-sequences │ │ │ └── sequences_dummy.go │ ├── tevino │ │ └── abool │ │ │ └── .gitignore │ ├── haivision │ │ └── srtgo │ │ │ ├── netutils_unix.go │ │ │ ├── logging_c.go │ │ │ ├── callback.h │ │ │ └── callback_c.go │ └── satori │ │ └── go.uuid │ │ └── .travis.yml ├── golang.org │ └── x │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── ptrace_ios.go │ │ │ ├── vgetrandom_unsupported.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── endian_big.go │ │ │ ├── ptrace_darwin.go │ │ │ ├── constants.go │ │ │ ├── endian_little.go │ │ │ ├── mmap_nomremap.go │ │ │ ├── vgetrandom_linux.go │ │ │ ├── auxv_unsupported.go │ │ │ ├── aliases.go │ │ │ ├── readdirent_getdents.go │ │ │ ├── pagesize_unix.go │ │ │ ├── sysvshm_unix_other.go │ │ │ ├── asm_aix_ppc64.s │ │ │ ├── syscall_linux_gc_arm.go │ │ │ ├── asm_solaris_amd64.s │ │ │ ├── fcntl_linux_32bit.go │ │ │ ├── syscall_linux_alarm.go │ │ │ ├── gccgo_linux_amd64.go │ │ │ ├── syscall_linux_gc.go │ │ │ ├── syscall_hurd_386.go │ │ │ └── sysvshm_linux.go │ │ ├── plan9 │ │ │ ├── asm.s │ │ │ ├── pwd_go15_plan9.go │ │ │ ├── pwd_plan9.go │ │ │ ├── race0.go │ │ │ ├── mksysnum_plan9.sh │ │ │ └── str.go │ │ ├── cpu │ │ │ ├── cpu_other_arm.go │ │ │ ├── cpu_zos.go │ │ │ ├── cpu_other_arm64.go │ │ │ ├── cpu_mipsx.go │ │ │ ├── cpu_other_riscv64.go │ │ │ ├── cpu_other_mips64x.go │ │ │ ├── cpu_gc_arm64.go │ │ │ ├── cpu_other_ppc64x.go │ │ │ ├── cpu_gccgo_arm64.go │ │ │ ├── cpu_linux_noinit.go │ │ │ ├── cpu_other_x86.go │ │ │ ├── cpu_linux.go │ │ │ ├── cpu_mips64x.go │ │ │ ├── cpu_loong64.s │ │ │ ├── cpu_openbsd_arm64.s │ │ │ ├── cpu_ppc64x.go │ │ │ ├── endian_big.go │ │ │ ├── runtime_auxv_go121.go │ │ │ ├── runtime_auxv.go │ │ │ ├── endian_little.go │ │ │ ├── asm_aix_ppc64.s │ │ │ ├── cpu_wasm.go │ │ │ ├── cpu_gc_x86.go │ │ │ └── cpu_linux_mips64x.go │ │ └── windows │ │ │ ├── empty.s │ │ │ ├── aliases.go │ │ │ ├── mksyscall.go │ │ │ ├── race0.go │ │ │ └── str.go │ │ ├── term │ │ ├── codereview.cfg │ │ ├── term_unix_other.go │ │ └── term_unix_bsd.go │ │ ├── crypto │ │ └── curve25519 │ │ │ └── internal │ │ │ └── field │ │ │ ├── sync.checkpoint │ │ │ ├── fe_arm64_noasm.go │ │ │ ├── fe_amd64_noasm.go │ │ │ ├── README │ │ │ ├── fe_arm64.go │ │ │ └── fe_amd64.go │ │ └── net │ │ ├── ipv4 │ │ ├── zsys_netbsd.go │ │ ├── zsys_openbsd.go │ │ ├── zsys_dragonfly.go │ │ ├── zsys_aix_ppc64.go │ │ ├── sys_stub.go │ │ ├── control_windows.go │ │ ├── sys_bpf_stub.go │ │ ├── control_stub.go │ │ ├── icmp_stub.go │ │ └── sys_asmreqn_stub.go │ │ ├── internal │ │ └── socket │ │ │ ├── empty.s │ │ │ ├── sys_linux_amd64.go │ │ │ ├── sys_linux_arm.go │ │ │ ├── sys_linux_arm64.go │ │ │ ├── sys_linux_mips.go │ │ │ ├── sys_linux_ppc.go │ │ │ ├── sys_linux_ppc64.go │ │ │ ├── sys_linux_mips64.go │ │ │ ├── sys_linux_mips64le.go │ │ │ ├── sys_linux_mipsle.go │ │ │ ├── sys_linux_ppc64le.go │ │ │ ├── sys_linux_loong64.go │ │ │ ├── sys_linux_riscv64.go │ │ │ ├── norace.go │ │ │ ├── cmsghdr_zos_s390x.go │ │ │ ├── msghdr_openbsd.go │ │ │ ├── sys_linux_386.s │ │ │ ├── sys_linux_s390x.s │ │ │ ├── cmsghdr_solaris_64bit.go │ │ │ ├── iovec_stub.go │ │ │ ├── sys_zos_s390x.s │ │ │ ├── cmsghdr_linux_32bit.go │ │ │ ├── cmsghdr_bsd.go │ │ │ ├── msghdr_bsdvar.go │ │ │ ├── iovec_solaris_64bit.go │ │ │ ├── cmsghdr_linux_64bit.go │ │ │ ├── rawconn_nommsg.go │ │ │ ├── cmsghdr.go │ │ │ ├── sys_bsd.go │ │ │ ├── iovec_32bit.go │ │ │ ├── rawconn_nomsg.go │ │ │ ├── zsys_freebsd_386.go │ │ │ ├── zsys_freebsd_arm.go │ │ │ ├── zsys_openbsd_386.go │ │ │ ├── zsys_openbsd_arm.go │ │ │ ├── zsys_freebsd_riscv64.go │ │ │ ├── zsys_openbsd_mips64.go │ │ │ ├── zsys_openbsd_ppc64.go │ │ │ ├── zsys_openbsd_riscv64.go │ │ │ ├── iovec_64bit.go │ │ │ ├── sys.go │ │ │ ├── msghdr_linux_32bit.go │ │ │ └── zsys_zos_s390x.go │ │ ├── bpf │ │ └── setter.go │ │ └── ipv6 │ │ ├── sys_stub.go │ │ ├── control_windows.go │ │ ├── sys_bpf_stub.go │ │ ├── control_stub.go │ │ └── sys_asmreq_stub.go └── gopkg.in │ └── yaml.v3 │ └── NOTICE ├── bbb.flv ├── avatar.aac ├── avatar.flv ├── avatar.h264 ├── avatar.h265 ├── avatar.ogg └── .gitignore /.format.txt: -------------------------------------------------------------------------------- 1 | done 2 | -------------------------------------------------------------------------------- /vendor/github.com/gobwas/ws/server_test.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/wlynxg/anet/.gitignore: -------------------------------------------------------------------------------- 1 | .idea -------------------------------------------------------------------------------- /vendor/github.com/mgutz/ansi/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-pointer/doc.go: -------------------------------------------------------------------------------- 1 | package pointer 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /bbb.flv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ossrs/srs-bench/HEAD/bbb.flv -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /avatar.aac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ossrs/srs-bench/HEAD/avatar.aac -------------------------------------------------------------------------------- /avatar.flv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ossrs/srs-bench/HEAD/avatar.flv -------------------------------------------------------------------------------- /avatar.h264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ossrs/srs-bench/HEAD/avatar.h264 -------------------------------------------------------------------------------- /avatar.h265: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ossrs/srs-bench/HEAD/avatar.h265 -------------------------------------------------------------------------------- /avatar.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ossrs/srs-bench/HEAD/avatar.ogg -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage*.txt 2 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | builds: 2 | - skip: true 3 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v2/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | builds: 2 | - skip: true 3 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["standard"] 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["standard"] 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/gobwas/ws/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | reports/ 3 | cpu.out 4 | mem.out 5 | ws.test 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/mdns.go: -------------------------------------------------------------------------------- 1 | // Package mdns implements mDNS (multicast DNS) 2 | package mdns 3 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/internal/field/sync.checkpoint: -------------------------------------------------------------------------------- 1 | b0c49ae9f59d233526f8934262c5bbbe14d4358d 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | objs 3 | *.ogg 4 | *.ivf 5 | *.h264 6 | .DS_Store 7 | 8 | .format.txt 9 | .DS_Store 10 | *.log 11 | *.pcapng -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/auth/auth.go: -------------------------------------------------------------------------------- 1 | // Package auth contains utilities to perform authentication. 2 | package auth 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/rtptime/rtptime.go: -------------------------------------------------------------------------------- 1 | // Package rtptime contains a time decoder and encoder. 2 | package rtptime 3 | -------------------------------------------------------------------------------- /vendor/github.com/google/gopacket/layers/gen_linted.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | for i in *.go; do golint $i | grep -q . || echo $i; done > .linted 4 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpac3/rtpac3.go: -------------------------------------------------------------------------------- 1 | // Package rtpac3 contains a RTP/AC-3 decoder and encoder. 2 | package rtpac3 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpav1/rtpav1.go: -------------------------------------------------------------------------------- 1 | // Package rtpav1 contains a RTP/AV1 decoder and encoder. 2 | package rtpav1 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpvp8/rtpvp8.go: -------------------------------------------------------------------------------- 1 | // Package rtpvp8 contains a RTP/VP8 decoder and encoder. 2 | package rtpvp8 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpvp9/rtpvp9.go: -------------------------------------------------------------------------------- 1 | // Package rtpvp9 contains a RTP/VP9 decoder and encoder. 2 | package rtpvp9 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtph264/rtph264.go: -------------------------------------------------------------------------------- 1 | // Package rtph264 contains a RTP/H264 decoder and encoder. 2 | package rtph264 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtph265/rtph265.go: -------------------------------------------------------------------------------- 1 | // Package rtph265 contains a RTP/H265 decoder and encoder. 2 | package rtph265 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtplpcm/rtplpcm.go: -------------------------------------------------------------------------------- 1 | // Package rtplpcm contains a RTP/LPCM decoder and encoder. 2 | package rtplpcm 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/liberrors/liberrors.go: -------------------------------------------------------------------------------- 1 | // Package liberrors contains errors returned by the library. 2 | package liberrors 3 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4.3 5 | - 1.5.3 6 | - tip 7 | 8 | script: 9 | - go test -v ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/wlynxg/anet/android_api_level.go: -------------------------------------------------------------------------------- 1 | //go:build !(android && cgo) 2 | 3 | package anet 4 | 5 | func androidDeviceApiLevel() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/vnet/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | *.sw[poe] 5 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/vnet/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | *.sw[poe] 5 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpmpeg4audio/rtpmpeg4audio.go: -------------------------------------------------------------------------------- 1 | // Package rtpmpeg4audio contains a RTP/MPEG-4 Audio decoder and encoder. 2 | package rtpmpeg4audio 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpmpeg4video/rtpmpeg4video.go: -------------------------------------------------------------------------------- 1 | // Package rtpmpeg4video contains a RTP/MPEG-4 Video decoder and encoder. 2 | package rtpmpeg4video 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/mpeg1audio/mpeg1_audio.go: -------------------------------------------------------------------------------- 1 | // Package mpeg1audio contains utilities to work with MPEG-1/2 audio codecs. 2 | package mpeg1audio 3 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/ice/v2/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/ice/v4/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/logging/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/v2/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtcp/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtcp/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sctp/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sctp/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sdp/v3/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v2/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v3/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/v3/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v4/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpmpeg1audio/rtpmpeg1audio.go: -------------------------------------------------------------------------------- 1 | // Package rtpmpeg1audio contains a RTP/MPEG-1/2 Audio decoder and encoder. 2 | package rtpmpeg1audio 3 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpmpeg1video/rtpmpeg1video.go: -------------------------------------------------------------------------------- 1 | // Package rtpmpeg1video contains a RTP/MPEG-1/2 Video decoder and encoder. 2 | package rtpmpeg1video 3 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | bmatsuo 3 | shawnps 4 | theory 5 | jboverfelt 6 | dsymonds 7 | cd1 8 | wallclockbuilder 9 | dansouza 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/datachannel/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/ice/v2/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/ice/v4/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/logging/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/v2/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sdp/v3/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v2/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v3/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/v3/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v2/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v4/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | builds: 5 | - skip: true 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/datachannel/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "github>pion/renovate-config" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/client_stats.go: -------------------------------------------------------------------------------- 1 | package gortsplib 2 | 3 | // ClientStats are client statistics 4 | type ClientStats struct { 5 | Conn StatsConn 6 | Session StatsSession 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpmjpeg/rtpmjpeg.go: -------------------------------------------------------------------------------- 1 | // Package rtpmjpeg contains a RTP/M-JPEG decoder and encoder. 2 | package rtpmjpeg 3 | 4 | const ( 5 | maxDimension = 2040 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/gobwas/ws/dialer_tls_go18.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package ws 4 | 5 | import "crypto/tls" 6 | 7 | func tlsCloneConfig(c *tls.Config) *tls.Config { 8 | return c.Clone() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sctp/sctp.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package sctp implements the SCTP spec 5 | package sctp 6 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - tip 8 | 9 | script: 10 | - make check 11 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/.codacy.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | # SPDX-FileCopyrightText: 2023 The Pion community 3 | # SPDX-License-Identifier: MIT 4 | 5 | exclude_paths: 6 | - examples/examples.json 7 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/.codacy.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | # SPDX-FileCopyrightText: 2023 The Pion community 3 | # SPDX-License-Identifier: MIT 4 | 5 | exclude_paths: 6 | - examples/examples.json 7 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpsimpleaudio/rtpsimpleaudio.go: -------------------------------------------------------------------------------- 1 | // Package rtpsimpleaudio contains a RTP decoder and encoder for audio codecs that fit in a single packet. 2 | package rtpsimpleaudio 3 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/v2/mdns.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package mdns implements mDNS (multicast DNS) 5 | package mdns 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/rtp.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package rtp provides RTP packetizer and depacketizer 5 | package rtp 6 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/empty_timer.go: -------------------------------------------------------------------------------- 1 | package gortsplib 2 | 3 | import ( 4 | "time" 5 | ) 6 | 7 | func emptyTimer() *time.Timer { 8 | t := time.NewTimer(0) 9 | <-t.C 10 | return t 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sdp/v3/sdp.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package sdp implements Session Description Protocol (SDP) 5 | package sdp 6 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/av1/obu_type.go: -------------------------------------------------------------------------------- 1 | package av1 2 | 3 | // OBUType is an OBU type. 4 | type OBUType uint8 5 | 6 | // OBU types. 7 | const ( 8 | OBUTypeSequenceHeader OBUType = 1 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/x-cray/logrus-prefixed-formatter/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.5 5 | - 1.6 6 | - 1.7 7 | 8 | install: 9 | - make deps 10 | 11 | script: 12 | - make test 13 | 14 | sudo: false 15 | -------------------------------------------------------------------------------- /vendor/github.com/google/gopacket/.travis.gofmt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd "$(dirname $0)" 4 | if [ -n "$(go fmt ./...)" ]; then 5 | echo "Go code is not formatted, run 'go fmt github.com/google/stenographer/...'" >&2 6 | exit 1 7 | fi 8 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/vnet/vnet.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package vnet provides a virtual network layer for pion 5 | package vnet 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/vnet/vnet.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package vnet provides a virtual network layer for pion 5 | package vnet 6 | -------------------------------------------------------------------------------- /vendor/github.com/ghettovoice/gosip/sip/transport.go: -------------------------------------------------------------------------------- 1 | package sip 2 | 3 | type Transport interface { 4 | Messages() <-chan Message 5 | Send(msg Message) error 6 | IsReliable(network string) bool 7 | IsStreamed(network string) bool 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/dtls.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package dtls implements Datagram Transport Layer Security (DTLS) 1.2 5 | package dtls 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/dtls.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package dtls implements Datagram Transport Layer Security (DTLS) 1.2 5 | package dtls 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/codecs/codecs.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package codecs implements codec specific RTP payloader/depayloaders 5 | package codecs 6 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/stats_conn.go: -------------------------------------------------------------------------------- 1 | package gortsplib 2 | 3 | // StatsConn are connection statistics. 4 | type StatsConn struct { 5 | // received bytes 6 | BytesReceived uint64 7 | // sent bytes 8 | BytesSent uint64 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/vp8/vp8.go: -------------------------------------------------------------------------------- 1 | // Package vp8 contains utilities to work with the VP8 codec. 2 | package vp8 3 | 4 | const ( 5 | // MaxFrameSize is the maximum size of a frame. 6 | MaxFrameSize = 2 * 1024 * 1024 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/vp9/vp9.go: -------------------------------------------------------------------------------- 1 | // Package vp9 contains utilities to work with the VP9 codec. 2 | package vp9 3 | 4 | const ( 5 | // MaxFrameSize is the maximum size of a frame. 6 | MaxFrameSize = 2 * 1024 * 1024 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) { 3 | if h, ok := a.t.(tHelper); ok { h.Helper() } 4 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentFormat}} 2 | func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool { 3 | if h, ok := t.(tHelper); ok { h.Helper() } 4 | return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | if h, ok := a.t.(tHelper); ok { h.Helper() } 4 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.Comment}} 2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { 3 | if h, ok := t.(tHelper); ok { h.Helper() } 4 | if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return } 5 | t.FailNow() 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/ac3/ac3.go: -------------------------------------------------------------------------------- 1 | // Package ac3 contains utilities to work with the AC-3 codec. 2 | package ac3 3 | 4 | const ( 5 | // SamplesPerFrame is the number of samples contained inside a frame. 6 | SamplesPerFrame = 1536 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/internal/hmac/vendor.sh: -------------------------------------------------------------------------------- 1 | #!/bin/env bash 2 | 3 | # SPDX-FileCopyrightText: 2023 The Pion community 4 | # SPDX-License-Identifier: MIT 5 | 6 | cp -v $GOROOT/src/crypto/hmac/{hmac,hmac_test}.go . 7 | git diff {hmac,hmac_test}.go 8 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/constants.go: -------------------------------------------------------------------------------- 1 | package gortsplib 2 | 3 | const ( 4 | // same size as GStreamer's rtspsrc 5 | udpKernelReadBufferSize = 0x80000 6 | 7 | // 1500 (UDP MTU) - 20 (IP header) - 8 (UDP header) 8 | udpMaxPayloadSize = 1472 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/pkg/report/report.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package report provides interceptors to implement sending sender and receiver reports. 5 | package report 6 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/v3/internal/hmac/vendor.sh: -------------------------------------------------------------------------------- 1 | #!/bin/env bash 2 | 3 | # SPDX-FileCopyrightText: 2023 The Pion community 4 | # SPDX-License-Identifier: MIT 5 | 6 | cp -v $GOROOT/src/crypto/hmac/{hmac,hmac_test}.go . 7 | git diff {hmac,hmac_test}.go 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/github.com/gobwas/pool/pbufio/pbufio_go110.go: -------------------------------------------------------------------------------- 1 | // +build go1.10 2 | 3 | package pbufio 4 | 5 | import "bufio" 6 | 7 | func writerSize(bw *bufio.Writer) int { 8 | return bw.Size() 9 | } 10 | 11 | func readerSize(br *bufio.Reader) int { 12 | return br.Size() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webrtc", 3 | "repository": "git@github.com:pion/webrtc.git", 4 | "private": true, 5 | "devDependencies": { 6 | "wrtc": "0.4.7" 7 | }, 8 | "dependencies": { 9 | "request": "2.88.2" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-colorable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | 5 | before_install: 6 | - go get github.com/mattn/goveralls 7 | - go get golang.org/x/tools/cmd/cover 8 | script: 9 | - $HOME/gopath/bin/goveralls -repotoken xnXqRGwgW3SXIguzxf90ZSK1GPYZPaGrw 10 | -------------------------------------------------------------------------------- /vendor/github.com/ghettovoice/gosip/sip/parser/README.md: -------------------------------------------------------------------------------- 1 | # SIP parser 2 | 3 | > Package implements SIP protocol parser compatible with [RFC 3261](https://tools.ietf.org/html/rfc3261) 4 | 5 | Originally forked from [gossip](https://github.com/StefanKopieczek/gossip) library by @StefanKopieczek. 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux && arm 6 | 7 | package cpu 8 | 9 | func archInit() {} 10 | -------------------------------------------------------------------------------- /vendor/github.com/google/gopacket/.travis.govet.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd "$(dirname $0)" 4 | DIRS=". layers pcap pcapgo tcpassembly tcpassembly/tcpreader routing ip4defrag bytediff macs defrag/lcmdefrag" 5 | set -e 6 | for subdir in $DIRS; do 7 | pushd $subdir 8 | go vet 9 | popd 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin 2 | 3 | package sequences 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | func EnableVirtualTerminalProcessing(stream uintptr, enable bool) error { 10 | return fmt.Errorf("windows only package") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_zos.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | func archInit() { 8 | doinit() 9 | Initialized = true 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/packetio/hardlimit.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build packetioSizeHardlimit 5 | // +build packetioSizeHardlimit 6 | 7 | package packetio 8 | 9 | const sizeHardLimit = true 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/packetio/hardlimit.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build packetioSizeHardlimit 5 | // +build packetioSizeHardlimit 6 | 7 | package packetio 8 | 9 | const sizeHardLimit = true 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/packetio/no_hardlimit.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build !packetioSizeHardlimit 5 | // +build !packetioSizeHardlimit 6 | 7 | package packetio 8 | 9 | const sizeHardLimit = false 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/packetio/no_hardlimit.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build !packetioSizeHardlimit 5 | // +build !packetioSizeHardlimit 6 | 7 | package packetio 8 | 9 | const sizeHardLimit = false 10 | -------------------------------------------------------------------------------- /vendor/github.com/google/gopacket/.travis.install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ev 4 | 5 | go get github.com/google/gopacket 6 | go get github.com/google/gopacket/layers 7 | go get github.com/google/gopacket/tcpassembly 8 | go get github.com/google/gopacket/reassembly 9 | go get github.com/google/gopacket/pcapgo 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/deadline/timer.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package deadline 5 | 6 | import ( 7 | "time" 8 | ) 9 | 10 | type timer interface { 11 | Stop() bool 12 | Reset(time.Duration) bool 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/zsys_netbsd.go: -------------------------------------------------------------------------------- 1 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 | // cgo -godefs defs_netbsd.go 3 | 4 | package ipv4 5 | 6 | const ( 7 | sizeofIPMreq = 0x8 8 | ) 9 | 10 | type ipMreq struct { 11 | Multiaddr [4]byte /* in_addr */ 12 | Interface [4]byte /* in_addr */ 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/zsys_openbsd.go: -------------------------------------------------------------------------------- 1 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 | // cgo -godefs defs_openbsd.go 3 | 4 | package ipv4 5 | 6 | const ( 7 | sizeofIPMreq = 0x8 8 | ) 9 | 10 | type ipMreq struct { 11 | Multiaddr [4]byte /* in_addr */ 12 | Interface [4]byte /* in_addr */ 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && go1.12 6 | 7 | // This exists solely so we can linkname in symbols from syscall. 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/zsys_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 | // cgo -godefs defs_dragonfly.go 3 | 4 | package ipv4 5 | 6 | const ( 7 | sizeofIPMreq = 0x8 8 | ) 9 | 10 | type ipMreq struct { 11 | Multiaddr [4]byte /* in_addr */ 12 | Interface [4]byte /* in_addr */ 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux && !netbsd && !openbsd && arm64 6 | 7 | package cpu 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | 5 | os: 6 | - linux 7 | - osx 8 | 9 | before_install: 10 | - go get github.com/mattn/goveralls 11 | - go get golang.org/x/tools/cmd/cover 12 | script: 13 | - $HOME/gopath/bin/goveralls -repotoken 3gHdORO5k5ziZcWMBxnd9LrMZaJs8m9x5 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sctp/chunk.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package sctp 5 | 6 | type chunk interface { 7 | unmarshal(raw []byte) error 8 | marshal() ([]byte, error) 9 | check() (bool, error) 10 | 11 | valueLength() int 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v2/stream.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package srtp 5 | 6 | type readStream interface { 7 | init(child streamSession, ssrc uint32) error 8 | 9 | Read(buf []byte) (int, error) 10 | GetSSRC() uint32 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v3/stream.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package srtp 5 | 6 | type readStream interface { 7 | init(child streamSession, ssrc uint32) error 8 | 9 | Read(buf []byte) (int, error) 10 | GetSSRC() uint32 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix 2 | 3 | package logrus 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETS 8 | 9 | func isTerminal(fd int) bool { 10 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 11 | return err == nil 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x12b 9 | sysSENDMMSG = 0x133 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x16d 9 | sysSENDMMSG = 0x176 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0xf3 9 | sysSENDMMSG = 0x10d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_solaris.go: -------------------------------------------------------------------------------- 1 | package logrus 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | // IsTerminal returns true if the given file descriptor is a terminal. 8 | func isTerminal(fd int) bool { 9 | _, err := unix.IoctlGetTermio(fd, unix.TCGETA) 10 | return err == nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mipsx.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build mips || mipsle 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func initOptions() {} 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux && riscv64 6 | 7 | package cpu 8 | 9 | func archInit() { 10 | Initialized = true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/jpeg/start_of_image.go: -------------------------------------------------------------------------------- 1 | package jpeg 2 | 3 | // StartOfImage is a SOI marker. 4 | type StartOfImage struct{} 5 | 6 | // Marshal encodes the marker. 7 | func (StartOfImage) Marshal(buf []byte) []byte { 8 | buf = append(buf, []byte{0xFF, MarkerStartOfImage}...) 9 | return buf 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_mips64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux && (mips64 || mips64le) 6 | 7 | package cpu 8 | 9 | func archInit() { 10 | Initialized = true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/rtpreceiveparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPReceiveParameters contains the RTP stack settings used by receivers 7 | type RTPReceiveParameters struct { 8 | Encodings []RTPDecodingParameters 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/sctpcapabilities.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // SCTPCapabilities indicates the capabilities of the SCTPTransport. 7 | type SCTPCapabilities struct { 8 | MaxMessageSize uint32 `json:"maxMessageSize"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/rtpreceiveparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPReceiveParameters contains the RTP stack settings used by receivers. 7 | type RTPReceiveParameters struct { 8 | Encodings []RTPDecodingParameters 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/sctpcapabilities.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // SCTPCapabilities indicates the capabilities of the SCTPTransport. 7 | type SCTPCapabilities struct { 8 | MaxMessageSize uint32 `json:"maxMessageSize"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | 3 | package logrus 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TIOCGETA 8 | 9 | func isTerminal(fd int) bool { 10 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 11 | return err == nil 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_loong64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build loong64 6 | 7 | package socket 8 | 9 | const ( 10 | sysRECVMMSG = 0xf3 11 | sysSENDMMSG = 0x10d 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build riscv64 6 | 7 | package socket 8 | 9 | const ( 10 | sysRECVMMSG = 0xf3 11 | sysSENDMMSG = 0x10d 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/partitionheadchecker.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package rtp 5 | 6 | // PartitionHeadChecker is the interface that checks whether the packet is keyframe or not. 7 | type PartitionHeadChecker interface { 8 | IsPartitionHead([]byte) bool 9 | } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/norace.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !race 6 | 7 | package socket 8 | 9 | func (m *Message) raceRead() { 10 | } 11 | func (m *Message) raceWrite() { 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/google/gopacket/.travis.script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ev 4 | 5 | go test github.com/google/gopacket 6 | go test github.com/google/gopacket/layers 7 | go test github.com/google/gopacket/tcpassembly 8 | go test github.com/google/gopacket/reassembly 9 | go test github.com/google/gopacket/pcapgo 10 | go test github.com/google/gopacket/pcap 11 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/netctx/pipe.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package netctx 5 | 6 | import ( 7 | "net" 8 | ) 9 | 10 | // Pipe creates piped pair of Conn. 11 | func Pipe() (Conn, Conn) { 12 | ca, cb := net.Pipe() 13 | return NewConn(ca), NewConn(cb) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/rtpsendparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPSendParameters contains the RTP stack settings used by receivers 7 | type RTPSendParameters struct { 8 | RTPParameters 9 | Encodings []RTPEncodingParameters 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/rtpsendparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPSendParameters contains the RTP stack settings used by receivers. 7 | type RTPSendParameters struct { 8 | RTPParameters 9 | Encodings []RTPEncodingParameters 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/connctx/pipe.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package connctx 5 | 6 | import ( 7 | "net" 8 | ) 9 | 10 | // Pipe creates piped pair of ConnCtx. 11 | func Pipe() (ConnCtx, ConnCtx) { 12 | ca, cb := net.Pipe() 13 | return New(ca), New(cb) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows,!nacl,!plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func checkIfTerminal(w io.Writer) bool { 11 | switch v := w.(type) { 12 | case *os.File: 13 | return isTerminal(int(v.Fd())) 14 | default: 15 | return false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | package cpu 8 | 9 | func getisar0() uint64 10 | func getisar1() uint64 11 | func getpfr0() uint64 12 | func getzfr0() uint64 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_ios.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build ios 6 | 7 | package unix 8 | 9 | func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { 10 | return ENOTSUP 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.12 6 | 7 | // This file is here to allow bodyless functions with go:linkname for Go 1.11 8 | // and earlier (see https://golang.org/issue/23311). 9 | -------------------------------------------------------------------------------- /vendor/github.com/pion/randutil/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "config:base" 4 | ], 5 | "postUpdateOptions": [ 6 | "gomodTidy" 7 | ], 8 | "commitBody": "Generated by renovateBot", 9 | "packageRules": [ 10 | { 11 | "packagePatterns": ["^golang.org/x/"], 12 | "schedule": ["on the first day of the month"] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/deadline/timer_generic.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build !js 5 | // +build !js 6 | 7 | package deadline 8 | 9 | import ( 10 | "time" 11 | ) 12 | 13 | func afterFunc(d time.Duration, f func()) timer { 14 | return time.AfterFunc(d, f) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | type Errno = syscall.Errno 12 | type SysProcAttr = syscall.SysProcAttr 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/compression_method.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package dtls 5 | 6 | import "github.com/pion/dtls/v2/pkg/protocol" 7 | 8 | func defaultCompressionMethods() []*protocol.CompressionMethod { 9 | return []*protocol.CompressionMethod{ 10 | {}, 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/compression_method.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package dtls 5 | 6 | import "github.com/pion/dtls/v3/pkg/protocol" 7 | 8 | func defaultCompressionMethods() []*protocol.CompressionMethod { 9 | return []*protocol.CompressionMethod{ 10 | {}, 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/zsys_aix_ppc64.go: -------------------------------------------------------------------------------- 1 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 | // cgo -godefs defs_aix.go 3 | 4 | // Added for go1.11 compatibility 5 | //go:build aix 6 | 7 | package ipv4 8 | 9 | const ( 10 | sizeofIPMreq = 0x8 11 | ) 12 | 13 | type ipMreq struct { 14 | Multiaddr [4]byte /* in_addr */ 15 | Interface [4]byte /* in_addr */ 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_ppc64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !linux && (ppc64 || ppc64le) 6 | 7 | package cpu 8 | 9 | func archInit() { 10 | PPC64.IsPOWER8 = true 11 | Initialized = true 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/h264/is_random_access.go: -------------------------------------------------------------------------------- 1 | package h264 2 | 3 | // IsRandomAccess checks whether the access unit can be randomly accessed. 4 | func IsRandomAccess(au [][]byte) bool { 5 | for _, nalu := range au { 6 | typ := NALUType(nalu[0] & 0x1F) 7 | if typ == NALUTypeIDR { 8 | return true 9 | } 10 | } 11 | return false 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/mpeg4audio/object_type.go: -------------------------------------------------------------------------------- 1 | package mpeg4audio 2 | 3 | // ObjectType is a MPEG-4 Audio object type. 4 | // Specification: ISO 14496-3, Table 1.17 5 | type ObjectType int 6 | 7 | // supported types. 8 | const ( 9 | ObjectTypeAACLC ObjectType = 2 10 | ObjectTypeSBR ObjectType = 5 11 | ObjectTypePS ObjectType = 29 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/setter.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package bpf 6 | 7 | // A Setter is a type which can attach a compiled BPF filter to itself. 8 | type Setter interface { 9 | SetBPF(filter []RawInstruction) error 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/cmsghdr_zos_s390x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func (h *cmsghdr) set(l, lvl, typ int) { 8 | h.Len = int32(l) 9 | h.Level = int32(lvl) 10 | h.Type = int32(typ) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/icegatheroptions.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // ICEGatherOptions provides options relating to the gathering of ICE candidates. 7 | type ICEGatherOptions struct { 8 | ICEServers []ICEServer 9 | ICEGatherPolicy ICETransportPolicy 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/icegatheroptions.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // ICEGatherOptions provides options relating to the gathering of ICE candidates. 7 | type ICEGatherOptions struct { 8 | ICEServers []ICEServer 9 | ICEGatherPolicy ICETransportPolicy 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gccgo 6 | 7 | package cpu 8 | 9 | func getisar0() uint64 { return 0 } 10 | func getisar1() uint64 { return 0 } 11 | func getpfr0() uint64 { return 0 } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && !arm && !arm64 && !loong64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x && !riscv64 6 | 7 | package cpu 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux || !go1.24 6 | 7 | package unix 8 | 9 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) { 10 | return -1, false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && linux && gc 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //go:noescape 12 | func gettimeofday(tv *Timeval) (err syscall.Errno) 13 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/av1/av1.go: -------------------------------------------------------------------------------- 1 | // Package av1 contains utilities to work with the AV1 codec. 2 | package av1 3 | 4 | const ( 5 | // MaxTemporalUnitSize is the maximum size of a temporal unit. 6 | MaxTemporalUnitSize = 3 * 1024 * 1024 7 | 8 | // MaxOBUsPerTemporalUnit is the maximum number of OBUs per temporal unit. 9 | MaxOBUsPerTemporalUnit = 10 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/packet.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package dtls 5 | 6 | import "github.com/pion/dtls/v2/pkg/protocol/recordlayer" 7 | 8 | type packet struct { 9 | record *recordlayer.RecordLayer 10 | shouldEncrypt bool 11 | resetLocalSequenceNumber bool 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/rand.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package rtp 5 | 6 | import ( 7 | "github.com/pion/randutil" 8 | ) 9 | 10 | // Use global random generator to properly seed by crypto grade random. 11 | var globalMathRandomGenerator = randutil.NewMathRandomGenerator() // nolint:gochecknoglobals 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/dtlsparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // DTLSParameters holds information relating to DTLS configuration. 7 | type DTLSParameters struct { 8 | Role DTLSRole `json:"role"` 9 | Fingerprints []DTLSFingerprint `json:"fingerprints"` 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/dtlsparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // DTLSParameters holds information relating to DTLS configuration. 7 | type DTLSParameters struct { 8 | Role DTLSRole `json:"role"` 9 | Fingerprints []DTLSFingerprint `json:"fingerprints"` 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && !ios 6 | 7 | package unix 8 | 9 | func ptrace(request int, pid int, addr uintptr, data uintptr) error { 10 | return ptrace1(request, pid, addr, data) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/pkg/nack/errors.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package nack 5 | 6 | import "github.com/pion/interceptor/internal/rtpbuffer" 7 | 8 | // ErrInvalidSize is returned by newReceiveLog/newRTPBuffer, when an incorrect buffer size is supplied. 9 | var ErrInvalidSize = rtpbuffer.ErrInvalidSize 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64_noasm.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !arm64 || !gc || purego 6 | 7 | package field 8 | 9 | func (v *Element) carryPropagate() *Element { 10 | return v.carryPropagateGeneric() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func (h *msghdr) setIov(vs []iovec) { 8 | l := len(vs) 9 | if l == 0 { 10 | return 11 | } 12 | h.Iov = &vs[0] 13 | h.Iovlen = uint32(l) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_x86.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build 386 || amd64p32 || (amd64 && (!darwin || !gc)) 6 | 7 | package cpu 8 | 9 | func darwinSupportsAVX512() bool { 10 | panic("only implemented for gc && amd64 && darwin") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/errors.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // AnError is an error instance useful for testing. If the code does not care 8 | // about error specifics, and only needs to return the error for example, this 9 | // error should be used to make the test code more readable. 10 | var AnError = errors.New("assert.AnError general error for testing") 11 | -------------------------------------------------------------------------------- /vendor/github.com/tevino/abool/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·socketcall(SB),NOSPLIT,$0-36 8 | JMP syscall·socketcall(SB) 9 | 10 | TEXT ·rawsocketcall(SB),NOSPLIT,$0-36 11 | JMP syscall·rawsocketcall(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || linux || solaris || zos 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TCGETS 12 | const ioctlWriteTermios = unix.TCSETS 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_s390x.s: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·socketcall(SB),NOSPLIT,$0-72 8 | JMP syscall·socketcall(SB) 9 | 10 | TEXT ·rawsocketcall(SB),NOSPLIT,$0-72 11 | JMP syscall·rawsocketcall(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !386 && !amd64 && !amd64p32 && !arm64 6 | 7 | package cpu 8 | 9 | func archInit() { 10 | if err := readHWCAP(); err != nil { 11 | return 12 | } 13 | doinit() 14 | Initialized = true 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mips64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build mips64 || mips64le 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func initOptions() { 12 | options = []option{ 13 | {Name: "msa", Feature: &MIPS64X.HasMSA}, 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/auth/nonce.go: -------------------------------------------------------------------------------- 1 | package auth 2 | 3 | import ( 4 | "crypto/rand" 5 | "encoding/hex" 6 | ) 7 | 8 | // GenerateNonce generates a nonce that can be used in Validate(). 9 | func GenerateNonce() (string, error) { 10 | byts := make([]byte, 16) 11 | _, err := rand.Read(byts) 12 | if err != nil { 13 | return "", err 14 | } 15 | 16 | return hex.EncodeToString(byts), nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/mpeg4audio/mpeg4_audio.go: -------------------------------------------------------------------------------- 1 | // Package mpeg4audio contains utilities to work with MPEG-4 audio codecs. 2 | package mpeg4audio 3 | 4 | const ( 5 | // MaxAccessUnitSize is the maximum size of an access unit. 6 | MaxAccessUnitSize = 5 * 1024 7 | 8 | // SamplesPerAccessUnit is the number of samples contained inside an access unit. 9 | SamplesPerAccessUnit = 1024 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/cmsghdr_solaris_64bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && solaris 6 | 7 | package socket 8 | 9 | func (h *cmsghdr) set(l, lvl, typ int) { 10 | h.Len = uint32(l) 11 | h.Level = int32(lvl) 12 | h.Type = int32(typ) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/pkg/rfc8888/ticker.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package rfc8888 5 | 6 | import "time" 7 | 8 | type ticker interface { 9 | Ch() <-chan time.Time 10 | Stop() 11 | } 12 | 13 | type timeTicker struct { 14 | *time.Ticker 15 | } 16 | 17 | func (t *timeTicker) Ch() <-chan time.Time { 18 | return t.C 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !zos 6 | 7 | package socket 8 | 9 | type iovec struct{} 10 | 11 | func (v *iovec) set(b []byte) {} 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_zos_s390x.s: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·syscall_syscall(SB),NOSPLIT,$0 8 | JMP syscall·_syscall(SB) 9 | 10 | TEXT ·syscall_syscall6(SB),NOSPLIT,$0 11 | JMP syscall·_syscall6(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64_noasm.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !amd64 || !gc || purego 6 | 7 | package field 8 | 9 | func feMul(v, x, y *Element) { feMulGeneric(v, x, y) } 10 | 11 | func feSquare(v, x *Element) { feSquareGeneric(v, x) } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin || dragonfly || freebsd || netbsd || openbsd 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TIOCGETA 12 | const ioctlWriteTermios = unix.TIOCSETA 13 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/base/path.go: -------------------------------------------------------------------------------- 1 | package base 2 | 3 | import ( 4 | "strings" 5 | ) 6 | 7 | // PathSplitQuery splits a path from a query. 8 | // 9 | // Deprecated: not useful anymore. 10 | func PathSplitQuery(pathAndQuery string) (string, string) { 11 | i := strings.Index(pathAndQuery, "?") 12 | if i >= 0 { 13 | return pathAndQuery[:i], pathAndQuery[i+1:] 14 | } 15 | 16 | return pathAndQuery, "" 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/haivision/srtgo/netutils_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package srtgo 4 | 5 | import ( 6 | "syscall" 7 | 8 | "golang.org/x/sys/unix" 9 | ) 10 | 11 | const ( 12 | sizeofSockAddrInet4 = syscall.SizeofSockaddrInet4 13 | sizeofSockAddrInet6 = syscall.SizeofSockaddrInet6 14 | sizeofSockaddrAny = syscall.SizeofSockaddrAny 15 | afINET4 = unix.AF_INET 16 | afINET6 = unix.AF_INET6 17 | ) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/internal/field/README: -------------------------------------------------------------------------------- 1 | This package is kept in sync with crypto/ed25519/internal/edwards25519/field in 2 | the standard library. 3 | 4 | If there are any changes in the standard library that need to be synced to this 5 | package, run sync.sh. It will not overwrite any local changes made since the 6 | previous sync, so it's ok to land changes in this package first, and then sync 7 | to the standard library later. 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/mmap_nomremap.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | var mapper = &mmapper{ 10 | active: make(map[*byte][]byte), 11 | mmap: mmap, 12 | munmap: munmap, 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build generate 6 | 7 | package windows 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go setupapi_windows.go 10 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/restrict_network.go: -------------------------------------------------------------------------------- 1 | package gortsplib 2 | 3 | import ( 4 | "net" 5 | ) 6 | 7 | // do not listen on IPv6 when address is 0.0.0.0. 8 | func restrictNetwork(network string, address string) (string, string) { 9 | host, _, err := net.SplitHostPort(address) 10 | if err == nil { 11 | if host == "0.0.0.0" { 12 | return network + "4", address 13 | } 14 | } 15 | 16 | return network, address 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/packet.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package dtls 5 | 6 | import ( 7 | "github.com/pion/dtls/v3/pkg/protocol/recordlayer" 8 | ) 9 | 10 | type packet struct { 11 | record *recordlayer.RecordLayer 12 | shouldEncrypt bool 13 | shouldWrapCID bool 14 | resetLocalSequenceNumber bool 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/vgetrandom_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && go1.24 6 | 7 | package unix 8 | 9 | import _ "unsafe" 10 | 11 | //go:linkname vgetrandom runtime.vgetrandom 12 | //go:noescape 13 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) 14 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/h265/is_random_access.go: -------------------------------------------------------------------------------- 1 | package h265 2 | 3 | // IsRandomAccess checks whether the access unit can be randomly accessed. 4 | func IsRandomAccess(au [][]byte) bool { 5 | for _, nalu := range au { 6 | typ := NALUType((nalu[0] >> 1) & 0b111111) 7 | switch typ { 8 | case NALUType_IDR_W_RADL, NALUType_IDR_N_LP, NALUType_CRA_NUT: 9 | return true 10 | } 11 | } 12 | return false 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/cmsghdr_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (arm || mips || mipsle || 386 || ppc) && linux 6 | 7 | package socket 8 | 9 | func (h *cmsghdr) set(l, lvl, typ int) { 10 | h.Len = uint32(l) 11 | h.Level = int32(lvl) 12 | h.Type = int32(typ) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/sys_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos 6 | 7 | package ipv4 8 | 9 | var ( 10 | ctlOpts = [ctlMax]ctlOpt{} 11 | 12 | sockOpts = map[int]*sockOpt{} 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/sys_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos 6 | 7 | package ipv6 8 | 9 | var ( 10 | ctlOpts = [ctlMax]ctlOpt{} 11 | 12 | sockOpts = map[int]*sockOpt{} 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_loong64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | // func get_cpucfg(reg uint32) uint32 8 | TEXT ·get_cpucfg(SB), NOSPLIT|NOFRAME, $0 9 | MOVW reg+0(FP), R5 10 | // CPUCFG R5, R4 = 0x00006ca4 11 | WORD $0x00006ca4 12 | MOVW R4, ret+8(FP) 13 | RET 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/rtpcapabilities.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPCapabilities represents the capabilities of a transceiver 7 | // 8 | // https://w3c.github.io/webrtc-pc/#rtcrtpcapabilities 9 | type RTPCapabilities struct { 10 | Codecs []RTPCodecCapability 11 | HeaderExtensions []RTPHeaderExtensionCapability 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/rtpcapabilities.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPCapabilities represents the capabilities of a transceiver 7 | // 8 | // https://w3c.github.io/webrtc-pc/#rtcrtpcapabilities 9 | type RTPCapabilities struct { 10 | Codecs []RTPCodecCapability 11 | HeaderExtensions []RTPHeaderExtensionCapability 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/cmsghdr_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || netbsd || openbsd 6 | 7 | package socket 8 | 9 | func (h *cmsghdr) set(l, lvl, typ int) { 10 | h.Len = uint32(l) 11 | h.Level = int32(lvl) 12 | h.Type = int32(typ) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/control_windows.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package ipv4 6 | 7 | import "golang.org/x/net/internal/socket" 8 | 9 | func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error { 10 | // TODO(mikio): implement this 11 | return errNotImplemented 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/control_windows.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package ipv6 6 | 7 | import "golang.org/x/net/internal/socket" 8 | 9 | func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error { 10 | // TODO(mikio): implement this 11 | return errNotImplemented 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/.gitignore: -------------------------------------------------------------------------------- 1 | ### JetBrains IDE ### 2 | ##################### 3 | .idea/ 4 | 5 | ### Emacs Temporary Files ### 6 | ############################# 7 | *~ 8 | 9 | ### Folders ### 10 | ############### 11 | bin/ 12 | vendor/ 13 | node_modules/ 14 | 15 | ### Files ### 16 | ############# 17 | *.ivf 18 | *.ogg 19 | tags 20 | cover.out 21 | *.sw[poe] 22 | *.wasm 23 | examples/sfu-ws/cert.pem 24 | examples/sfu-ws/key.pem 25 | wasm_exec.js 26 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v2/.gitignore: -------------------------------------------------------------------------------- 1 | ### JetBrains IDE ### 2 | ##################### 3 | .idea/ 4 | 5 | ### Emacs Temporary Files ### 6 | ############################# 7 | *~ 8 | 9 | ### Folders ### 10 | ############### 11 | bin/ 12 | vendor/ 13 | node_modules/ 14 | 15 | ### Files ### 16 | ############# 17 | *.ivf 18 | *.ogg 19 | tags 20 | cover.out 21 | *.sw[poe] 22 | *.wasm 23 | examples/sfu-ws/cert.pem 24 | examples/sfu-ws/key.pem 25 | wasm_exec.js 26 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webrtc", 3 | "repository": "git@github.com:pion/webrtc.git", 4 | "private": true, 5 | "devDependencies": { 6 | "@roamhq/wrtc": "^0.9.0" 7 | }, 8 | "dependencies": { 9 | "request": "2.88.2" 10 | }, 11 | "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build arm64 && gc && !purego 6 | 7 | package field 8 | 9 | //go:noescape 10 | func carryPropagate(v *Element) 11 | 12 | func (v *Element) carryPropagate() *Element { 13 | carryPropagate(v) 14 | return v 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 8 | JMP libc_sysctl(SB) 9 | 10 | GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 11 | DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_ppc64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build ppc64 || ppc64le 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 128 10 | 11 | func initOptions() { 12 | options = []option{ 13 | {Name: "darn", Feature: &PPC64.HasDARN}, 14 | {Name: "scv", Feature: &PPC64.HasSCV}, 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/haivision/srtgo/logging_c.go: -------------------------------------------------------------------------------- 1 | package srtgo 2 | 3 | /* 4 | #cgo LDFLAGS: -lsrt 5 | #include 6 | 7 | extern void srtLogCBWrapper (void* opaque, int level, char* file, int line, char* area, char* message); 8 | 9 | void srtLogCB(void* opaque, int level, const char* file, int line, const char* area, const char* message) 10 | { 11 | srtLogCBWrapper(opaque, level, (char*)file, line, (char*)area,(char*) message); 12 | } 13 | */ 14 | import "C" 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/auxv_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.21 && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Auxv() ([][2]uintptr, error) { 12 | return nil, syscall.ENOTSUP 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || netbsd 6 | 7 | package socket 8 | 9 | func (h *msghdr) setIov(vs []iovec) { 10 | l := len(vs) 11 | if l == 0 { 12 | return 13 | } 14 | h.Iov = &vs[0] 15 | h.Iovlen = int32(l) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | 7 | package cpu 8 | 9 | // IsBigEndian records whether the GOARCH's byte order is big endian. 10 | const IsBigEndian = true 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | type Signal = syscall.Signal 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/iceparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // ICEParameters includes the ICE username fragment 7 | // and password and other ICE-related parameters. 8 | type ICEParameters struct { 9 | UsernameFragment string `json:"usernameFragment"` 10 | Password string `json:"password"` 11 | ICELite bool `json:"iceLite"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/rtpreceiver_js.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build js && wasm 5 | // +build js,wasm 6 | 7 | package webrtc 8 | 9 | import "syscall/js" 10 | 11 | // RTPReceiver allows an application to inspect the receipt of a TrackRemote 12 | type RTPReceiver struct { 13 | // Pointer to the underlying JavaScript RTCRTPReceiver object. 14 | underlying js.Value 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/iceparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // ICEParameters includes the ICE username fragment 7 | // and password and other ICE-related parameters. 8 | type ICEParameters struct { 9 | UsernameFragment string `json:"usernameFragment"` 10 | Password string `json:"password"` 11 | ICELite bool `json:"iceLite"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/runtime_auxv_go121.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.21 6 | 7 | package cpu 8 | 9 | import ( 10 | _ "unsafe" // for linkname 11 | ) 12 | 13 | //go:linkname runtime_getAuxv runtime.getAuxv 14 | func runtime_getAuxv() []uintptr 15 | 16 | func init() { 17 | getAuxvFn = runtime_getAuxv 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/h265/h265.go: -------------------------------------------------------------------------------- 1 | // Package h265 contains utilities to work with the H265 codec. 2 | package h265 3 | 4 | const ( 5 | // MaxAccessUnitSize is the maximum size of an access unit. 6 | // With a 50 Mbps 2160p60 H265 video, the maximum size does not seem to exceed 8 MiB. 7 | MaxAccessUnitSize = 8 * 1024 * 1024 8 | 9 | // MaxNALUsPerAccessUnit is the maximum number of NALUs per access unit. 10 | MaxNALUsPerAccessUnit = 21 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | 7 | coverage: 8 | status: 9 | project: 10 | default: 11 | # Allow decreasing 2% of total coverage to avoid noise. 12 | threshold: 2% 13 | patch: 14 | default: 15 | target: 70% 16 | only_pulls: true 17 | 18 | ignore: 19 | - "examples/*" 20 | - "examples/**/*" 21 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/errors.go: -------------------------------------------------------------------------------- 1 | package mdns 2 | 3 | import "errors" 4 | 5 | var ( 6 | errJoiningMulticastGroup = errors.New("mDNS: failed to join multicast group") 7 | errConnectionClosed = errors.New("mDNS: connection is closed") 8 | errContextElapsed = errors.New("mDNS: context has elapsed") 9 | errNilConfig = errors.New("mDNS: config must not be nil") 10 | errFailedCast = errors.New("mDNS: failed to cast listener to UDPAddr") 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/sys_bpf_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux 6 | 7 | package ipv4 8 | 9 | import ( 10 | "golang.org/x/net/bpf" 11 | "golang.org/x/net/internal/socket" 12 | ) 13 | 14 | func (so *sockOpt) setAttachFilter(c *socket.Conn, f []bpf.RawInstruction) error { 15 | return errNotImplemented 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/sys_bpf_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux 6 | 7 | package ipv6 8 | 9 | import ( 10 | "golang.org/x/net/bpf" 11 | "golang.org/x/net/internal/socket" 12 | ) 13 | 14 | func (so *sockOpt) setAttachFilter(c *socket.Conn, f []bpf.RawInstruction) error { 15 | return errNotImplemented 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package uuid generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security 8 | // Services. 9 | // 10 | // A UUID is a 16 byte (128 bit) array. UUIDs may be used as keys to 11 | // maps or compared directly. 12 | package uuid 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/randutil/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | 7 | coverage: 8 | status: 9 | project: 10 | default: 11 | # Allow decreasing 2% of total coverage to avoid noise. 12 | threshold: 2% 13 | patch: 14 | default: 15 | target: 70% 16 | only_pulls: true 17 | 18 | ignore: 19 | - "examples/*" 20 | - "examples/**/*" 21 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v2/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | 7 | coverage: 8 | status: 9 | project: 10 | default: 11 | # Allow decreasing 2% of total coverage to avoid noise. 12 | threshold: 2% 13 | patch: 14 | default: 15 | target: 70% 16 | only_pulls: true 17 | 18 | ignore: 19 | - "examples/*" 20 | - "examples/**/*" 21 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/datachannelmessage.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // DataChannelMessage represents a message received from the 7 | // data channel. IsString will be set to true if the incoming 8 | // message is of the string type. Otherwise the message is of 9 | // a binary type. 10 | type DataChannelMessage struct { 11 | IsString bool 12 | Data []byte 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/icecandidateinit.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // ICECandidateInit is used to serialize ice candidates 7 | type ICECandidateInit struct { 8 | Candidate string `json:"candidate"` 9 | SDPMid *string `json:"sdpMid"` 10 | SDPMLineIndex *uint16 `json:"sdpMLineIndex"` 11 | UsernameFragment *string `json:"usernameFragment"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/datachannelmessage.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // DataChannelMessage represents a message received from the 7 | // data channel. IsString will be set to true if the incoming 8 | // message is of the string type. Otherwise the message is of 9 | // a binary type. 10 | type DataChannelMessage struct { 11 | IsString bool 12 | Data []byte 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_solaris_64bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && solaris 6 | 7 | package socket 8 | 9 | import "unsafe" 10 | 11 | func (v *iovec) set(b []byte) { 12 | l := len(b) 13 | if l == 0 { 14 | return 15 | } 16 | v.Base = (*int8)(unsafe.Pointer(&b[0])) 17 | v.Len = uint64(l) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/pkg/format/rtpsimpleaudio/decoder.go: -------------------------------------------------------------------------------- 1 | package rtpsimpleaudio 2 | 3 | import ( 4 | "github.com/pion/rtp" 5 | ) 6 | 7 | // Decoder is a RTP/simple audio decoder. 8 | type Decoder struct{} 9 | 10 | // Init initializes the decoder. 11 | func (d *Decoder) Init() error { 12 | return nil 13 | } 14 | 15 | // Decode decodes an audio frame from a RTP packet. 16 | func (d *Decoder) Decode(pkt *rtp.Packet) ([]byte, error) { 17 | return pkt.Payload, nil 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/vnet/errors.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package vnet 5 | 6 | type timeoutError struct { 7 | msg string 8 | } 9 | 10 | func newTimeoutError(msg string) error { 11 | return &timeoutError{ 12 | msg: msg, 13 | } 14 | } 15 | 16 | func (e *timeoutError) Error() string { 17 | return e.msg 18 | } 19 | 20 | func (e *timeoutError) Timeout() bool { 21 | return true 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/vnet/errors.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package vnet 5 | 6 | type timeoutError struct { 7 | msg string 8 | } 9 | 10 | func newTimeoutError(msg string) error { 11 | return &timeoutError{ 12 | msg: msg, 13 | } 14 | } 15 | 16 | func (e *timeoutError) Error() string { 17 | return e.msg 18 | } 19 | 20 | func (e *timeoutError) Timeout() bool { 21 | return true 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/icecandidateinit.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // ICECandidateInit is used to serialize ice candidates. 7 | type ICECandidateInit struct { 8 | Candidate string `json:"candidate"` 9 | SDPMid *string `json:"sdpMid"` 10 | SDPMLineIndex *uint16 `json:"sdpMLineIndex"` 11 | UsernameFragment *string `json:"usernameFragment"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/readdirent_getdents.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd 6 | 7 | package unix 8 | 9 | // ReadDirent reads directory entries from fd and writes them into buf. 10 | func ReadDirent(fd int, buf []byte) (n int, err error) { 11 | return Getdents(fd, buf) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/rtpdecodingparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPDecodingParameters provides information relating to both encoding and decoding. 7 | // This is a subset of the RFC since Pion WebRTC doesn't implement decoding itself 8 | // http://draft.ortc.org/#dom-rtcrtpdecodingparameters 9 | type RTPDecodingParameters struct { 10 | RTPCodingParameters 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/rtpencodingparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPEncodingParameters provides information relating to both encoding and decoding. 7 | // This is a subset of the RFC since Pion WebRTC doesn't implement encoding itself 8 | // http://draft.ortc.org/#dom-rtcrtpencodingparameters 9 | type RTPEncodingParameters struct { 10 | RTPCodingParameters 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/rtpdecodingparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPDecodingParameters provides information relating to both encoding and decoding. 7 | // This is a subset of the RFC since Pion WebRTC doesn't implement decoding itself 8 | // http://draft.ortc.org/#dom-rtcrtpdecodingparameters 9 | type RTPDecodingParameters struct { 10 | RTPCodingParameters 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/rtpencodingparameters.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPEncodingParameters provides information relating to both encoding and decoding. 7 | // This is a subset of the RFC since Pion WebRTC doesn't implement encoding itself 8 | // http://draft.ortc.org/#dom-rtcrtpencodingparameters 9 | type RTPEncodingParameters struct { 10 | RTPCodingParameters 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/runtime_auxv.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | // getAuxvFn is non-nil on Go 1.21+ (via runtime_auxv_go121.go init) 8 | // on platforms that use auxv. 9 | var getAuxvFn func() []uintptr 10 | 11 | func getAuxv() []uintptr { 12 | if getAuxvFn == nil { 13 | return nil 14 | } 15 | return getAuxvFn() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/pagesize_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | // For Unix, get the pagesize from the runtime. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getpagesize() int { 14 | return syscall.Getpagesize() 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/rtpsender_js.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build js && wasm 5 | // +build js,wasm 6 | 7 | package webrtc 8 | 9 | import "syscall/js" 10 | 11 | // RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer 12 | type RTPSender struct { 13 | // Pointer to the underlying JavaScript RTCRTPSender object. 14 | underlying js.Value 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/satori/go.uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.6.x 5 | - 1.7.x 6 | - 1.8.x 7 | - 1.9.x 8 | - 1.10.x 9 | - 1.11.x 10 | - tip 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | fast_finish: true 15 | before_install: 16 | - go get github.com/mattn/goveralls 17 | - go get golang.org/x/tools/cmd/cover 18 | script: 19 | - $HOME/gopath/bin/goveralls -service=travis-ci 20 | notifications: 21 | email: false 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (arm64 || amd64 || loong64 || ppc64 || ppc64le || mips64 || mips64le || riscv64 || s390x) && linux 6 | 7 | package socket 8 | 9 | func (h *cmsghdr) set(l, lvl, typ int) { 10 | h.Len = uint64(l) 11 | h.Level = int32(lvl) 12 | h.Type = int32(typ) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/rawconn_nommsg.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux 6 | 7 | package socket 8 | 9 | func (c *Conn) recvMsgs(ms []Message, flags int) (int, error) { 10 | return 0, errNotImplemented 11 | } 12 | 13 | func (c *Conn) sendMsgs(ms []Message, flags int) (int, error) { 14 | return 0, errNotImplemented 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin && !ios) || zos 6 | 7 | package unix 8 | 9 | // SysvShmCtl performs control operations on the shared memory segment 10 | // specified by id. 11 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 12 | return shmctl(id, cmd, desc) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/rtptransceiverinit.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package webrtc 5 | 6 | // RTPTransceiverInit dictionary is used when calling the WebRTC function addTransceiver() 7 | // to provide configuration options for the new transceiver. 8 | type RTPTransceiverInit struct { 9 | Direction RTPTransceiverDirection 10 | SendEncodings []RTPEncodingParameters 11 | // Streams []*Track 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh || wasm 6 | 7 | package cpu 8 | 9 | // IsBigEndian records whether the GOARCH's byte order is big endian. 10 | const IsBigEndian = false 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.5 6 | 7 | package plan9 8 | 9 | import "syscall" 10 | 11 | func fixwd() { 12 | syscall.Fixwd() 13 | } 14 | 15 | func Getwd() (wd string, err error) { 16 | return syscall.Getwd() 17 | } 18 | 19 | func Chdir(path string) error { 20 | return syscall.Chdir(path) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/haivision/srtgo/callback.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int srtListenCBWrapper(void* opaque, SRTSOCKET ns, int hs_version, struct sockaddr* peeraddr, char* streamid); 4 | void srtConnectCBWrapper(void* opaque, SRTSOCKET ns, int errorcode, struct sockaddr* peeraddr, int token); 5 | 6 | int srtListenCB(void* opaque, SRTSOCKET ns, int hs_version, const struct sockaddr* peeraddr, const char* streamid); 7 | void srtConnectCB(void* opaque, SRTSOCKET ns, int errorcode, const struct sockaddr* peeraddr, int token); -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/pkg/report/ticker.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package report 5 | 6 | import "time" 7 | 8 | // Ticker is an interface for *time.Ticker for use with the SenderTicker option. 9 | type Ticker interface { 10 | Ch() <-chan time.Time 11 | Stop() 12 | } 13 | 14 | type timeTicker struct { 15 | *time.Ticker 16 | } 17 | 18 | func (t *timeTicker) Ch() <-chan time.Time { 19 | return t.C 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/cmsghdr.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package socket 8 | 9 | func (h *cmsghdr) len() int { return int(h.Len) } 10 | func (h *cmsghdr) lvl() int { return int(h.Level) } 11 | func (h *cmsghdr) typ() int { return int(h.Type) } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 11 | // 12 | 13 | TEXT ·syscall6(SB),NOSPLIT,$0-88 14 | JMP syscall·syscall6(SB) 15 | 16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSyscall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 11 | // 12 | 13 | TEXT ·syscall6(SB),NOSPLIT,$0-88 14 | JMP syscall·syscall6(SB) 15 | 16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSyscall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build arm && gc && linux 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // Underlying system call writes to newoffset via pointer. 12 | // Implemented in assembly to avoid allocation. 13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/pkg/crypto/signaturehash/errors.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package signaturehash 5 | 6 | import "errors" 7 | 8 | var ( 9 | errNoAvailableSignatureSchemes = errors.New("connection can not be created, no SignatureScheme satisfy this Config") 10 | errInvalidSignatureAlgorithm = errors.New("invalid signature algorithm") 11 | errInvalidHashAlgorithm = errors.New("invalid hash algorithm") 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/internal/ciphersuite/types/authentication_type.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package types 5 | 6 | // AuthenticationType controls what authentication method is using during the handshake 7 | type AuthenticationType int 8 | 9 | // AuthenticationType Enums 10 | const ( 11 | AuthenticationTypeCertificate AuthenticationType = iota + 1 12 | AuthenticationTypePreSharedKey 13 | AuthenticationTypeAnonymous 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/internal/ciphersuite/types/authentication_type.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package types 5 | 6 | // AuthenticationType controls what authentication method is using during the handshake. 7 | type AuthenticationType int 8 | 9 | // AuthenticationType Enums. 10 | const ( 11 | AuthenticationTypeCertificate AuthenticationType = iota + 1 12 | AuthenticationTypePreSharedKey 13 | AuthenticationTypeAnonymous 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go: -------------------------------------------------------------------------------- 1 | //go:build !go1.17 2 | // +build !go1.17 3 | 4 | // TODO: once support for Go 1.16 is dropped, this file can be 5 | // merged/removed with assertion_compare_go1.17_test.go and 6 | // assertion_compare_can_convert.go 7 | 8 | package assert 9 | 10 | import "reflect" 11 | 12 | // Older versions of Go does not have the reflect.Value.CanConvert 13 | // method. 14 | func canConvert(value reflect.Value, to reflect.Type) bool { 15 | return false 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go: -------------------------------------------------------------------------------- 1 | // Code generated by command: go run fe_amd64_asm.go -out ../fe_amd64.s -stubs ../fe_amd64.go -pkg field. DO NOT EDIT. 2 | 3 | //go:build amd64 && gc && !purego 4 | 5 | package field 6 | 7 | // feMul sets out = a * b. It works like feMulGeneric. 8 | // 9 | //go:noescape 10 | func feMul(out *Element, a *Element, b *Element) 11 | 12 | // feSquare sets out = a * a. It works like feSquareGeneric. 13 | // 14 | //go:noescape 15 | func feSquare(out *Element, a *Element) 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 11 | // 12 | 13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 14 | JMP syscall·sysvicall6(SB) 15 | 16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSysvicall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc) 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_alarm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64) 6 | 7 | package unix 8 | 9 | // SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH 10 | // values. 11 | 12 | //sys Alarm(seconds uint) (remaining uint, err error) 13 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/jpeg/jpeg.go: -------------------------------------------------------------------------------- 1 | // Package jpeg contains utilities to work with the JPEG codec. 2 | package jpeg 3 | 4 | // standard JPEG markers. 5 | const ( 6 | MarkerStartOfImage = 0xD8 7 | MarkerDefineQuantizationTable = 0xDB 8 | MarkerDefineHuffmanTable = 0xC4 9 | MarkerDefineRestartInterval = 0xDD 10 | MarkerStartOfFrame1 = 0xC0 11 | MarkerStartOfScan = 0xDA 12 | MarkerEndOfImage = 0xD9 13 | MarkerComment = 0xFE 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_compare_can_convert.go: -------------------------------------------------------------------------------- 1 | //go:build go1.17 2 | // +build go1.17 3 | 4 | // TODO: once support for Go 1.16 is dropped, this file can be 5 | // merged/removed with assertion_compare_go1.17_test.go and 6 | // assertion_compare_legacy.go 7 | 8 | package assert 9 | 10 | import "reflect" 11 | 12 | // Wrapper around reflect.Value.CanConvert, for compatibility 13 | // reasons. 14 | func canConvert(value reflect.Value, to reflect.Type) bool { 15 | return value.CanConvert(to) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/jpeg/define_restart_interval.go: -------------------------------------------------------------------------------- 1 | package jpeg 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | // DefineRestartInterval is a DRI marker. 8 | type DefineRestartInterval struct { 9 | Interval uint16 10 | } 11 | 12 | // Unmarshal decodes the marker. 13 | func (m *DefineRestartInterval) Unmarshal(buf []byte) error { 14 | if len(buf) != 2 { 15 | return fmt.Errorf("unsupported DRI size of %d", len(buf)) 16 | } 17 | 18 | m.Interval = uint16(buf[0])<<8 | uint16(buf[1]) 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_others.go: -------------------------------------------------------------------------------- 1 | // +build appengine js nacl 2 | 3 | package isatty 4 | 5 | // IsTerminal returns true if the file descriptor is terminal which 6 | // is always false on js and appengine classic which is a sandboxed PaaS. 7 | func IsTerminal(fd uintptr) bool { 8 | return false 9 | } 10 | 11 | // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2 12 | // terminal. This is also always false on this environment. 13 | func IsCygwinTerminal(fd uintptr) bool { 14 | return false 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/ice_go.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build !js 5 | // +build !js 6 | 7 | package webrtc 8 | 9 | // NewICETransport creates a new NewICETransport. 10 | // This constructor is part of the ORTC API. It is not 11 | // meant to be used together with the basic WebRTC API. 12 | func (api *API) NewICETransport(gatherer *ICEGatherer) *ICETransport { 13 | return NewICETransport(gatherer, api.settingEngine.LoggerFactory) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/ice_go.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build !js 5 | // +build !js 6 | 7 | package webrtc 8 | 9 | // NewICETransport creates a new NewICETransport. 10 | // This constructor is part of the ORTC API. It is not 11 | // meant to be used together with the basic WebRTC API. 12 | func (api *API) NewICETransport(gatherer *ICEGatherer) *ICETransport { 13 | return NewICETransport(gatherer, api.settingEngine.LoggerFactory) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/control_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos 6 | 7 | package ipv4 8 | 9 | import "golang.org/x/net/internal/socket" 10 | 11 | func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error { 12 | return errNotImplemented 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/control_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos 6 | 7 | package ipv6 8 | 9 | import "golang.org/x/net/internal/socket" 10 | 11 | func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error { 12 | return errNotImplemented 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/fingerprint_debug.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build debug 5 | // +build debug 6 | 7 | package stun 8 | 9 | import "fmt" 10 | 11 | // CRCMismatch represents CRC check error. 12 | type CRCMismatch struct { 13 | Expected uint32 14 | Actual uint32 15 | } 16 | 17 | func (m CRCMismatch) Error() string { 18 | return fmt.Sprintf("CRC mismatch: %x (expected) != %x (actual)", 19 | m.Expected, 20 | m.Actual, 21 | ) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/v3/fingerprint_debug.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build debug 5 | // +build debug 6 | 7 | package stun 8 | 9 | import "fmt" 10 | 11 | // CRCMismatch represents CRC check error. 12 | type CRCMismatch struct { 13 | Expected uint32 14 | Actual uint32 15 | } 16 | 17 | func (m CRCMismatch) Error() string { 18 | return fmt.Sprintf("CRC mismatch: %x (expected) != %x (actual)", 19 | m.Expected, 20 | m.Actual, 21 | ) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris 6 | 7 | package socket 8 | 9 | func recvmmsg(s uintptr, hs []mmsghdr, flags int) (int, error) { 10 | return 0, errNotImplemented 11 | } 12 | 13 | func sendmmsg(s uintptr, hs []mmsghdr, flags int) (int, error) { 14 | return 0, errNotImplemented 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_wasm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build wasm 6 | 7 | package cpu 8 | 9 | // We're compiling the cpu package for an unknown (software-abstracted) CPU. 10 | // Make CacheLinePad an empty struct and hope that the usual struct alignment 11 | // rules are good enough. 12 | 13 | const cacheLineSize = 0 14 | 15 | func initOptions() {} 16 | 17 | func archInit() {} 18 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org/ 2 | # SPDX-FileCopyrightText: 2023 The Pion community 3 | # SPDX-License-Identifier: MIT 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | end_of_line = lf 12 | 13 | [*.go] 14 | indent_style = tab 15 | indent_size = 4 16 | 17 | [{*.yml,*.yaml}] 18 | indent_style = space 19 | indent_size = 2 20 | 21 | # Makefiles always use tabs for indentation 22 | [Makefile] 23 | indent_style = tab 24 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org/ 2 | # SPDX-FileCopyrightText: 2023 The Pion community 3 | # SPDX-License-Identifier: MIT 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | end_of_line = lf 12 | 13 | [*.go] 14 | indent_style = tab 15 | indent_size = 4 16 | 17 | [{*.yml,*.yaml}] 18 | indent_style = space 19 | indent_size = 2 20 | 21 | # Makefiles always use tabs for indentation 22 | [Makefile] 23 | indent_style = tab 24 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/forward_assertions.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | // Assertions provides assertion methods around the 4 | // TestingT interface. 5 | type Assertions struct { 6 | t TestingT 7 | } 8 | 9 | // New makes a new Assertions object for the specified TestingT. 10 | func New(t TestingT) *Assertions { 11 | return &Assertions{ 12 | t: t, 13 | } 14 | } 15 | 16 | //go:generate sh -c "cd ../_codegen && go build && cd - && ../_codegen/_codegen -output-package=assert -template=assertion_forward.go.tmpl -include-format-funcs" 17 | -------------------------------------------------------------------------------- /vendor/github.com/x-cray/logrus-prefixed-formatter/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | 26 | # IDEA files 27 | .idea 28 | *.iml 29 | 30 | # OS X 31 | .DS_Store 32 | 33 | # Unit testing 34 | *.coverprofile 35 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/pwd_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.5 6 | 7 | package plan9 8 | 9 | func fixwd() { 10 | } 11 | 12 | func Getwd() (wd string, err error) { 13 | fd, err := open(".", O_RDONLY) 14 | if err != nil { 15 | return "", err 16 | } 17 | defer Close(fd) 18 | return Fd2path(fd) 19 | } 20 | 21 | func Chdir(path string) error { 22 | return chdir(path) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/pkg/nack/nack.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package nack provides interceptors to implement sending and receiving negative acknowledgements 5 | package nack 6 | 7 | import "github.com/pion/interceptor" 8 | 9 | func streamSupportNack(info *interceptor.StreamInfo) bool { 10 | for _, fb := range info.RTCPFeedback { 11 | if fb.Type == "nack" && fb.Parameter == "" { 12 | return true 13 | } 14 | } 15 | 16 | return false 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/forward_requirements.go: -------------------------------------------------------------------------------- 1 | package require 2 | 3 | // Assertions provides assertion methods around the 4 | // TestingT interface. 5 | type Assertions struct { 6 | t TestingT 7 | } 8 | 9 | // New makes a new Assertions object for the specified TestingT. 10 | func New(t TestingT) *Assertions { 11 | return &Assertions{ 12 | t: t, 13 | } 14 | } 15 | 16 | //go:generate sh -c "cd ../_codegen && go build && cd - && ../_codegen/_codegen -output-package=require -template=require_forward.go.tmpl -include-format-funcs" 17 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/mpeg4audio/sample_rates.go: -------------------------------------------------------------------------------- 1 | package mpeg4audio 2 | 3 | var sampleRates = []int{ 4 | 96000, 5 | 88200, 6 | 64000, 7 | 48000, 8 | 44100, 9 | 32000, 10 | 24000, 11 | 22050, 12 | 16000, 13 | 12000, 14 | 11025, 15 | 8000, 16 | 7350, 17 | } 18 | 19 | var reverseSampleRates = map[int]int{ 20 | 96000: 0, 21 | 88200: 1, 22 | 64000: 2, 23 | 48000: 3, 24 | 44100: 4, 25 | 32000: 5, 26 | 24000: 6, 27 | 22050: 7, 28 | 16000: 8, 29 | 12000: 9, 30 | 11025: 10, 31 | 8000: 11, 32 | 7350: 12, 33 | } 34 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/resume.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package dtls 5 | 6 | import ( 7 | "net" 8 | ) 9 | 10 | // Resume imports an already established dtls connection using a specific dtls state. 11 | func Resume(state *State, conn net.PacketConn, rAddr net.Addr, config *Config) (*Conn, error) { 12 | if err := state.initCipherSuite(); err != nil { 13 | return nil, err 14 | } 15 | 16 | return createConn(conn, rAddr, config, state.isClient, state) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/mediacommon/v2/pkg/codecs/h264/h264.go: -------------------------------------------------------------------------------- 1 | // Package h264 contains utilities to work with the H264 codec. 2 | package h264 3 | 4 | const ( 5 | // MaxAccessUnitSize is the maximum size of an access unit. 6 | // With a 50 Mbps 2160p60 H264 video, the maximum size does not seem to exceed 8 MiB. 7 | MaxAccessUnitSize = 8 * 1024 * 1024 8 | 9 | // MaxNALUsPerAccessUnit is the maximum number of NALUs per access unit. 10 | // with x264, tune=zerolatency and 4K resolution, NALU count is lower than 25. 11 | MaxNALUsPerAccessUnit = 25 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (arm || mips || mipsle || 386 || ppc) && (darwin || dragonfly || freebsd || linux || netbsd || openbsd) 6 | 7 | package socket 8 | 9 | import "unsafe" 10 | 11 | func (v *iovec) set(b []byte) { 12 | l := len(b) 13 | if l == 0 { 14 | return 15 | } 16 | v.Base = (*byte)(unsafe.Pointer(&b[0])) 17 | v.Len = uint32(l) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/sys_asmreq_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows 6 | 7 | package ipv6 8 | 9 | import ( 10 | "net" 11 | 12 | "golang.org/x/net/internal/socket" 13 | ) 14 | 15 | func (so *sockOpt) setIPMreq(c *socket.Conn, ifi *net.Interface, grp net.IP) error { 16 | return errNotImplemented 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gccgo && linux && amd64 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //extern gettimeofday 12 | func realGettimeofday(*Timeval, *byte) int32 13 | 14 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 15 | r := realGettimeofday(tv, nil) 16 | if r < 0 { 17 | return syscall.GetErrno() 18 | } 19 | return 0 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/ice/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/ice/v4/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/logging/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtcp/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sctp/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sdp/v3/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v3/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/v3/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v4/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/rawconn_nomsg.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos 6 | 7 | package socket 8 | 9 | func (c *Conn) recvMsg(m *Message, flags int) error { 10 | return errNotImplemented 11 | } 12 | 13 | func (c *Conn) sendMsg(m *Message, flags int) error { 14 | return errNotImplemented 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-pointer/README.md: -------------------------------------------------------------------------------- 1 | # go-pointer 2 | 3 | Utility for cgo 4 | 5 | ## Usage 6 | 7 | https://github.com/golang/proposal/blob/master/design/12416-cgo-pointers.md 8 | 9 | In go 1.6, cgo argument can't be passed Go pointer. 10 | 11 | ``` 12 | var s string 13 | C.pass_pointer(pointer.Save(&s)) 14 | v := *(pointer.Restore(C.get_from_pointer()).(*string)) 15 | ``` 16 | 17 | ## Installation 18 | 19 | ``` 20 | go get github.com/mattn/go-pointer 21 | ``` 22 | 23 | ## License 24 | 25 | MIT 26 | 27 | ## Author 28 | 29 | Yasuhiro Matsumoto (a.k.a mattn) 30 | -------------------------------------------------------------------------------- /vendor/github.com/pion/datachannel/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023 The Pion community 2 | # SPDX-License-Identifier: MIT 3 | 4 | ### JetBrains IDE ### 5 | ##################### 6 | .idea/ 7 | 8 | ### Emacs Temporary Files ### 9 | ############################# 10 | *~ 11 | 12 | ### Folders ### 13 | ############### 14 | bin/ 15 | vendor/ 16 | node_modules/ 17 | 18 | ### Files ### 19 | ############# 20 | *.ivf 21 | *.ogg 22 | tags 23 | cover.out 24 | *.sw[poe] 25 | *.wasm 26 | examples/sfu-ws/cert.pem 27 | examples/sfu-ws/key.pem 28 | wasm_exec.js 29 | -------------------------------------------------------------------------------- /vendor/github.com/x-cray/logrus-prefixed-formatter/Makefile: -------------------------------------------------------------------------------- 1 | NAME=logrus-prefixed-formatter 2 | PACKAGES=$(shell go list ./...) 3 | 4 | deps: 5 | @echo "--> Installing dependencies" 6 | @go get -d -v -t ./... 7 | 8 | test-deps: 9 | @which ginkgo 2>/dev/null ; if [ $$? -eq 1 ]; then \ 10 | go get -u -v github.com/onsi/ginkgo/ginkgo; \ 11 | fi 12 | 13 | test: test-deps 14 | @echo "--> Running tests" 15 | @ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race 16 | 17 | format: 18 | @echo "--> Running go fmt" 19 | @go fmt $(PACKAGES) 20 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/node_js.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build js 6 | 7 | package uuid 8 | 9 | // getHardwareInterface returns nil values for the JS version of the code. 10 | // This removes the "net" dependency, because it is not used in the browser. 11 | // Using the "net" library inflates the size of the transpiled JS code by 673k bytes. 12 | func getHardwareInterface(name string) (string, []byte) { return "", nil } 13 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/integrity_debug.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build debug 5 | // +build debug 6 | 7 | package stun 8 | 9 | import "fmt" 10 | 11 | // IntegrityErr occurs when computed HMAC differs from expected. 12 | type IntegrityErr struct { 13 | Expected []byte 14 | Actual []byte 15 | } 16 | 17 | func (i *IntegrityErr) Error() string { 18 | return fmt.Sprintf( 19 | "Integrity check failed: 0x%x (expected) !- 0x%x (actual)", 20 | i.Expected, i.Actual, 21 | ) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/wlynxg/anet/android_api_level_cgo.go: -------------------------------------------------------------------------------- 1 | //go:build android && cgo 2 | 3 | package anet 4 | 5 | // #include 6 | import "C" 7 | 8 | import "sync" 9 | 10 | var ( 11 | apiLevel int 12 | once sync.Once 13 | ) 14 | 15 | // Returns the API level of the device we're actually running on, or -1 on failure. 16 | // The returned value is equivalent to the Java Build.VERSION.SDK_INT API. 17 | func androidDeviceApiLevel() int { 18 | once.Do(func() { 19 | apiLevel = int(C.android_get_device_api_level()) 20 | }) 21 | 22 | return apiLevel 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/codecs/av1/obu/errors.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package obu 5 | 6 | import "errors" 7 | 8 | var ( 9 | // ErrInvalidOBUHeader is returned when an OBU header has forbidden bits set. 10 | ErrInvalidOBUHeader = errors.New("invalid OBU header") 11 | // ErrShortHeader is returned when an OBU header is not large enough. 12 | // This can happen when an extension header is expected but not present. 13 | ErrShortHeader = errors.New("OBU header is not large enough") 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/v3/integrity_debug.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build debug 5 | // +build debug 6 | 7 | package stun 8 | 9 | import "fmt" 10 | 11 | // IntegrityErr occurs when computed HMAC differs from expected. 12 | type IntegrityErr struct { 13 | Expected []byte 14 | Actual []byte 15 | } 16 | 17 | func (i *IntegrityErr) Error() string { 18 | return fmt.Sprintf( 19 | "Integrity check failed: 0x%x (expected) !- 0x%x (actual)", 20 | i.Expected, i.Actual, 21 | ) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/ice/v2/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/ice/v4/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtcp/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/rtp/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sctp/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sdp/v3/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/haivision/srtgo/callback_c.go: -------------------------------------------------------------------------------- 1 | package srtgo 2 | 3 | /* 4 | #cgo LDFLAGS: -lsrt 5 | #include "callback.h" 6 | 7 | int srtListenCB(void* opaque, SRTSOCKET ns, int hs_version, const struct sockaddr* peeraddr, const char* streamid) 8 | { 9 | return srtListenCBWrapper(opaque, ns, hs_version, (struct sockaddr*)peeraddr, (char*)streamid); 10 | } 11 | 12 | void srtConnectCB(void* opaque, SRTSOCKET ns, int errorcode, const struct sockaddr* peeraddr, int token) 13 | { 14 | srtConnectCBWrapper(opaque, ns, errorcode, (struct sockaddr*)peeraddr, token); 15 | } 16 | */ 17 | import "C" 18 | -------------------------------------------------------------------------------- /vendor/github.com/pion/datachannel/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/interceptor/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/logging/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/v2/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sctp/param_ecn_capable.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package sctp 5 | 6 | type paramECNCapable struct { 7 | paramHeader 8 | } 9 | 10 | func (r *paramECNCapable) marshal() ([]byte, error) { 11 | r.typ = ecnCapable 12 | r.raw = []byte{} 13 | 14 | return r.paramHeader.marshal() 15 | } 16 | 17 | func (r *paramECNCapable) unmarshal(raw []byte) (param, error) { 18 | err := r.paramHeader.unmarshal(raw) 19 | if err != nil { 20 | return nil, err 21 | } 22 | 23 | return r, nil 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v2/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/srtp/v3/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/stun/v3/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v4/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v3/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build plan9 && !race 6 | 7 | package plan9 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc 6 | 7 | package unix 8 | 9 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail. 10 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 11 | 12 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't 13 | // fail. 14 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 15 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_tcgets.go: -------------------------------------------------------------------------------- 1 | // +build linux aix 2 | // +build !appengine 3 | // +build !android 4 | 5 | package isatty 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | // IsTerminal return true if the file descriptor is terminal. 10 | func IsTerminal(fd uintptr) bool { 11 | _, err := unix.IoctlGetTermios(int(fd), unix.TCGETS) 12 | return err == nil 13 | } 14 | 15 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 16 | // terminal. This is also always false on this environment. 17 | func IsCygwinTerminal(fd uintptr) bool { 18 | return false 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/pkg/crypto/signaturehash/errors.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package signaturehash 5 | 6 | import "errors" 7 | 8 | var ( 9 | errNoAvailableSignatureSchemes = errors.New("connection can not be created, no SignatureScheme satisfy this Config") 10 | errInvalidSignatureAlgorithm = errors.New("invalid signature algorithm") 11 | errInvalidHashAlgorithm = errors.New("invalid hash algorithm") 12 | errInvalidPrivateKey = errors.New("invalid private key type") 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/pion/mdns/v2/errors.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package mdns 5 | 6 | import "errors" 7 | 8 | var ( 9 | errJoiningMulticastGroup = errors.New("mDNS: failed to join multicast group") 10 | errConnectionClosed = errors.New("mDNS: connection is closed") 11 | errContextElapsed = errors.New("mDNS: context has elapsed") 12 | errNilConfig = errors.New("mDNS: config must not be nil") 13 | errFailedCast = errors.New("mDNS: failed to cast listener to UDPAddr") 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v2/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/codecov.yml: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE 3 | # 4 | # It is automatically copied from https://github.com/pion/.goassets repository. 5 | # 6 | # SPDX-FileCopyrightText: 2023 The Pion community 7 | # SPDX-License-Identifier: MIT 8 | 9 | coverage: 10 | status: 11 | project: 12 | default: 13 | # Allow decreasing 2% of total coverage to avoid noise. 14 | threshold: 2% 15 | patch: 16 | default: 17 | target: 70% 18 | only_pulls: true 19 | 20 | ignore: 21 | - "examples/*" 22 | - "examples/**/*" 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gc_x86.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (386 || amd64 || amd64p32) && gc 6 | 7 | package cpu 8 | 9 | // cpuid is implemented in cpu_gc_x86.s for gc compiler 10 | // and in cpu_gccgo.c for gccgo. 11 | func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) 12 | 13 | // xgetbv with ecx = 0 is implemented in cpu_gc_x86.s for gc compiler 14 | // and in cpu_gccgo.c for gccgo. 15 | func xgetbv() (eax, edx uint32) 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/mksysnum_plan9.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 2009 The Go Authors. All rights reserved. 3 | # Use of this source code is governed by a BSD-style 4 | # license that can be found in the LICENSE file. 5 | 6 | COMMAND="mksysnum_plan9.sh $@" 7 | 8 | cat <>0x03] |= byte(v << (res - n)) 8 | *pos += n 9 | return 10 | } 11 | 12 | buf[*pos>>3] |= byte(v >> (n - res)) 13 | *pos += res 14 | n -= res 15 | 16 | for n >= 8 { 17 | buf[*pos>>3] = byte(v >> (n - 8)) 18 | *pos += 8 19 | n -= 8 20 | } 21 | 22 | if n > 0 { 23 | buf[*pos>>3] = byte((v & (1< 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build js && wasm 5 | // +build js,wasm 6 | 7 | package webrtc 8 | 9 | import "syscall/js" 10 | 11 | // RTPReceiver allows an application to inspect the receipt of a TrackRemote 12 | type RTPReceiver struct { 13 | // Pointer to the underlying JavaScript RTCRTPReceiver object. 14 | underlying js.Value 15 | } 16 | 17 | // JSValue returns the underlying RTCRtpReceiver 18 | func (r *RTPReceiver) JSValue() js.Value { 19 | return r.underlying 20 | } -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/zsys_freebsd_riscv64.go: -------------------------------------------------------------------------------- 1 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 | // cgo -godefs defs_freebsd.go 3 | 4 | package socket 5 | 6 | type iovec struct { 7 | Base *byte 8 | Len uint64 9 | } 10 | 11 | type msghdr struct { 12 | Name *byte 13 | Namelen uint32 14 | Iov *iovec 15 | Iovlen int32 16 | Control *byte 17 | Controllen uint32 18 | Flags int32 19 | } 20 | 21 | type cmsghdr struct { 22 | Len uint32 23 | Level int32 24 | Type int32 25 | } 26 | 27 | const ( 28 | sizeofIovec = 0x10 29 | sizeofMsghdr = 0x30 30 | ) 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/zsys_openbsd_mips64.go: -------------------------------------------------------------------------------- 1 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 | // cgo -godefs defs_openbsd.go 3 | 4 | package socket 5 | 6 | type iovec struct { 7 | Base *byte 8 | Len uint64 9 | } 10 | 11 | type msghdr struct { 12 | Name *byte 13 | Namelen uint32 14 | Iov *iovec 15 | Iovlen uint32 16 | Control *byte 17 | Controllen uint32 18 | Flags int32 19 | } 20 | 21 | type cmsghdr struct { 22 | Len uint32 23 | Level int32 24 | Type int32 25 | } 26 | 27 | const ( 28 | sizeofIovec = 0x10 29 | sizeofMsghdr = 0x30 30 | ) 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/zsys_openbsd_ppc64.go: -------------------------------------------------------------------------------- 1 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 | // cgo -godefs defs_openbsd.go 3 | 4 | package socket 5 | 6 | type iovec struct { 7 | Base *byte 8 | Len uint64 9 | } 10 | 11 | type msghdr struct { 12 | Name *byte 13 | Namelen uint32 14 | Iov *iovec 15 | Iovlen uint32 16 | Control *byte 17 | Controllen uint32 18 | Flags int32 19 | } 20 | 21 | type cmsghdr struct { 22 | Len uint32 23 | Level int32 24 | Type int32 25 | } 26 | 27 | const ( 28 | sizeofIovec = 0x10 29 | sizeofMsghdr = 0x30 30 | ) 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/zsys_openbsd_riscv64.go: -------------------------------------------------------------------------------- 1 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 | // cgo -godefs defs_openbsd.go 3 | 4 | package socket 5 | 6 | type iovec struct { 7 | Base *byte 8 | Len uint64 9 | } 10 | 11 | type msghdr struct { 12 | Name *byte 13 | Namelen uint32 14 | Iov *iovec 15 | Iovlen uint32 16 | Control *byte 17 | Controllen uint32 18 | Flags int32 19 | } 20 | 21 | type cmsghdr struct { 22 | Len uint32 23 | Level int32 24 | Type int32 25 | } 26 | 27 | const ( 28 | sizeofIovec = 0x10 29 | sizeofMsghdr = 0x30 30 | ) 31 | -------------------------------------------------------------------------------- /vendor/github.com/google/gopacket/layers/.lint_blacklist: -------------------------------------------------------------------------------- 1 | dot11.go 2 | eap.go 3 | endpoints.go 4 | enums_generated.go 5 | enums.go 6 | ethernet.go 7 | geneve.go 8 | icmp4.go 9 | icmp6.go 10 | igmp.go 11 | ip4.go 12 | ip6.go 13 | layertypes.go 14 | linux_sll.go 15 | llc.go 16 | lldp.go 17 | mpls.go 18 | ndp.go 19 | ntp.go 20 | ospf.go 21 | pflog.go 22 | pppoe.go 23 | prism.go 24 | radiotap.go 25 | rudp.go 26 | sctp.go 27 | sflow.go 28 | tcp.go 29 | tcpip.go 30 | tls.go 31 | tls_alert.go 32 | tls_appdata.go 33 | tls_cipherspec.go 34 | tls_hanshake.go 35 | tls_test.go 36 | udp.go 37 | udplite.go 38 | usb.go 39 | vrrp.go 40 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v2/internal/client/trylock.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import ( 4 | "sync/atomic" 5 | ) 6 | 7 | // TryLock implement the classic "try-lock" operation. 8 | type TryLock struct { 9 | n int32 10 | } 11 | 12 | // Lock tries to lock the try-lock. If successful, it returns true. 13 | // Otherwise, it returns false immediately. 14 | func (c *TryLock) Lock() error { 15 | if !atomic.CompareAndSwapInt32(&c.n, 0, 1) { 16 | return errDoubleLock 17 | } 18 | return nil 19 | } 20 | 21 | // Unlock unlocks the try-lock. 22 | func (c *TryLock) Unlock() { 23 | atomic.StoreInt32(&c.n, 0) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_hurd_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build 386 && hurd 6 | 7 | package unix 8 | 9 | const ( 10 | TIOCGETA = 0x62251713 11 | ) 12 | 13 | type Winsize struct { 14 | Row uint16 15 | Col uint16 16 | Xpixel uint16 17 | Ypixel uint16 18 | } 19 | 20 | type Termios struct { 21 | Iflag uint32 22 | Oflag uint32 23 | Cflag uint32 24 | Lflag uint32 25 | Cc [20]uint8 26 | Ispeed int32 27 | Ospeed int32 28 | } 29 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (mips64 || mips64le) 6 | 7 | package cpu 8 | 9 | // HWCAP bits. These are exposed by the Linux kernel 5.4. 10 | const ( 11 | // CPU features 12 | hwcap_MIPS_MSA = 1 << 1 13 | ) 14 | 15 | func doinit() { 16 | // HWCAP feature bits 17 | MIPS64X.HasMSA = isSet(hwCap, hwcap_MIPS_MSA) 18 | } 19 | 20 | func isSet(hwc uint, value uint) bool { 21 | return hwc&value != 0 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/transport/v3/utils/xor/xor_generic.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2013 The Go Authors. All rights reserved. 2 | // SPDX-License-Identifier: BSD-3-Clause 3 | // SPDX-FileCopyrightText: 2024 The Pion community 4 | // SPDX-License-Identifier: MIT 5 | 6 | //go:build go1.20 && !arm && !gccgo 7 | 8 | // Package xor provides the XorBytes function. 9 | package xor 10 | 11 | import ( 12 | "crypto/subtle" 13 | ) 14 | 15 | // XorBytes calls [crypto/suble.XORBytes]. 16 | // 17 | //revive:disable-next-line 18 | func XorBytes(dst, a, b []byte) int { 19 | return subtle.XORBytes(dst, a, b) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/sys_asmreqn_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !darwin && !freebsd && !linux 6 | 7 | package ipv4 8 | 9 | import ( 10 | "net" 11 | 12 | "golang.org/x/net/internal/socket" 13 | ) 14 | 15 | func (so *sockOpt) getIPMreqn(c *socket.Conn) (*net.Interface, error) { 16 | return nil, errNotImplemented 17 | } 18 | 19 | func (so *sockOpt) setIPMreqn(c *socket.Conn, ifi *net.Interface, grp net.IP) error { 20 | return errNotImplemented 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/str.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build plan9 6 | 7 | package plan9 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + itoa(-val) 12 | } 13 | var buf [32]byte // big enough for int64 14 | i := len(buf) - 1 15 | for val >= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/internal/ciphersuite/tls_psk_with_aes_128_ccm.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package ciphersuite 5 | 6 | import ( 7 | "github.com/pion/dtls/v2/pkg/crypto/ciphersuite" 8 | "github.com/pion/dtls/v2/pkg/crypto/clientcertificate" 9 | ) 10 | 11 | // NewTLSPskWithAes128Ccm returns the TLS_PSK_WITH_AES_128_CCM CipherSuite 12 | func NewTLSPskWithAes128Ccm() *Aes128Ccm { 13 | return newAes128Ccm(clientcertificate.Type(0), TLS_PSK_WITH_AES_128_CCM, true, ciphersuite.CCMTagLength, KeyExchangeAlgorithmPsk, false) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/pion/sctp/param_random.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package sctp 5 | 6 | type paramRandom struct { 7 | paramHeader 8 | randomData []byte 9 | } 10 | 11 | func (r *paramRandom) marshal() ([]byte, error) { 12 | r.typ = random 13 | r.raw = r.randomData 14 | 15 | return r.paramHeader.marshal() 16 | } 17 | 18 | func (r *paramRandom) unmarshal(raw []byte) (param, error) { 19 | err := r.paramHeader.unmarshal(raw) 20 | if err != nil { 21 | return nil, err 22 | } 23 | r.randomData = r.raw 24 | 25 | return r, nil 26 | } 27 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v2/internal/server/stun.go: -------------------------------------------------------------------------------- 1 | package server 2 | 3 | import ( 4 | "github.com/pion/stun" 5 | "github.com/pion/turn/v2/internal/ipnet" 6 | ) 7 | 8 | func handleBindingRequest(r Request, m *stun.Message) error { 9 | r.Log.Debugf("received BindingRequest from %s", r.SrcAddr.String()) 10 | 11 | ip, port, err := ipnet.AddrIPPort(r.SrcAddr) 12 | if err != nil { 13 | return err 14 | } 15 | 16 | attrs := buildMsg(m.TransactionID, stun.BindingSuccess, &stun.XORMappedAddress{ 17 | IP: ip, 18 | Port: port, 19 | }, stun.Fingerprint) 20 | 21 | return buildAndSend(r.Conn, r.SrcAddr, attrs...) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_64bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (arm64 || amd64 || loong64 || ppc64 || ppc64le || mips64 || mips64le || riscv64 || s390x) && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || zos) 6 | 7 | package socket 8 | 9 | import "unsafe" 10 | 11 | func (v *iovec) set(b []byte) { 12 | l := len(b) 13 | if l == 0 { 14 | return 15 | } 16 | v.Base = (*byte)(unsafe.Pointer(&b[0])) 17 | v.Len = uint64(l) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/str.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows 6 | 7 | package windows 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + itoa(-val) 12 | } 13 | var buf [32]byte // big enough for int64 14 | i := len(buf) - 1 15 | for val >= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/internal/ciphersuite/tls_psk_with_aes_128_ccm8.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package ciphersuite 5 | 6 | import ( 7 | "github.com/pion/dtls/v2/pkg/crypto/ciphersuite" 8 | "github.com/pion/dtls/v2/pkg/crypto/clientcertificate" 9 | ) 10 | 11 | // NewTLSPskWithAes128Ccm8 returns the TLS_PSK_WITH_AES_128_CCM_8 CipherSuite 12 | func NewTLSPskWithAes128Ccm8() *Aes128Ccm { 13 | return newAes128Ccm(clientcertificate.Type(0), TLS_PSK_WITH_AES_128_CCM_8, true, ciphersuite.CCMTagLength8, KeyExchangeAlgorithmPsk, false) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/internal/ciphersuite/tls_psk_with_aes_256_ccm8.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package ciphersuite 5 | 6 | import ( 7 | "github.com/pion/dtls/v2/pkg/crypto/ciphersuite" 8 | "github.com/pion/dtls/v2/pkg/crypto/clientcertificate" 9 | ) 10 | 11 | // NewTLSPskWithAes256Ccm8 returns the TLS_PSK_WITH_AES_256_CCM_8 CipherSuite 12 | func NewTLSPskWithAes256Ccm8() *Aes256Ccm { 13 | return newAes256Ccm(clientcertificate.Type(0), TLS_PSK_WITH_AES_256_CCM_8, true, ciphersuite.CCMTagLength8, KeyExchangeAlgorithmPsk, false) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/pion/webrtc/v4/rtpsender_js.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build js && wasm 5 | // +build js,wasm 6 | 7 | package webrtc 8 | 9 | import "syscall/js" 10 | 11 | // RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer 12 | type RTPSender struct { 13 | // Pointer to the underlying JavaScript RTCRTPSender object. 14 | underlying js.Value 15 | } 16 | 17 | // JSValue returns the underlying RTCRtpSender 18 | func (s *RTPSender) JSValue() js.Value { 19 | return s.underlying 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | import ( 8 | "encoding/binary" 9 | "unsafe" 10 | ) 11 | 12 | // NativeEndian is the machine native endian implementation of ByteOrder. 13 | var NativeEndian binary.ByteOrder 14 | 15 | func init() { 16 | i := uint32(1) 17 | b := (*[4]byte)(unsafe.Pointer(&i)) 18 | if b[0] == 1 { 19 | NativeEndian = binary.LittleEndian 20 | } else { 21 | NativeEndian = binary.BigEndian 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v3/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/github.com/bluenviron/gortsplib/v4/transport.go: -------------------------------------------------------------------------------- 1 | package gortsplib 2 | 3 | // Transport is a RTSP transport protocol. 4 | type Transport int 5 | 6 | // transport protocols. 7 | const ( 8 | TransportUDP Transport = iota 9 | TransportUDPMulticast 10 | TransportTCP 11 | ) 12 | 13 | var transportLabels = map[Transport]string{ 14 | TransportUDP: "UDP", 15 | TransportUDPMulticast: "UDP-multicast", 16 | TransportTCP: "TCP", 17 | } 18 | 19 | // String implements fmt.Stringer. 20 | func (t Transport) String() string { 21 | if l, ok := transportLabels[t]; ok { 22 | return l 23 | } 24 | return "unknown" 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/ghettovoice/gosip/sip/transaction.go: -------------------------------------------------------------------------------- 1 | package sip 2 | 3 | type TransactionKey string 4 | 5 | func (key TransactionKey) String() string { 6 | return string(key) 7 | } 8 | 9 | type Transaction interface { 10 | Origin() Request 11 | Key() TransactionKey 12 | String() string 13 | Errors() <-chan error 14 | Done() <-chan bool 15 | } 16 | 17 | type ServerTransaction interface { 18 | Transaction 19 | Respond(res Response) error 20 | Acks() <-chan Request 21 | Cancels() <-chan Request 22 | } 23 | 24 | type ClientTransaction interface { 25 | Transaction 26 | Responses() <-chan Response 27 | Cancel() error 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/errors_noerrno.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !nacl && !nacljs && !netbsd && !openbsd && !solaris && !windows 5 | // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!nacl,!nacljs,!netbsd,!openbsd,!solaris,!windows 6 | 7 | // For systems without syscall.Errno. 8 | // Build targets must be inverse of errors_errno.go 9 | 10 | package dtls 11 | 12 | import ( 13 | "os" 14 | ) 15 | 16 | func isOpErrorTemporary(err *os.SyscallError) bool { 17 | return false 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v2/resume.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | package dtls 5 | 6 | import ( 7 | "context" 8 | "net" 9 | ) 10 | 11 | // Resume imports an already established dtls connection using a specific dtls state 12 | func Resume(state *State, conn net.Conn, config *Config) (*Conn, error) { 13 | if err := state.initCipherSuite(); err != nil { 14 | return nil, err 15 | } 16 | c, err := createConn(context.Background(), conn, config, state.isClient, state) 17 | if err != nil { 18 | return nil, err 19 | } 20 | 21 | return c, nil 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/pion/dtls/v3/errors_noerrno.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !nacl && !nacljs && !netbsd && !openbsd && !solaris && !windows 5 | // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!nacl,!nacljs,!netbsd,!openbsd,!solaris,!windows 6 | 7 | // For systems without syscall.Errno. 8 | // Build targets must be inverse of errors_errno.go 9 | 10 | package dtls 11 | 12 | import ( 13 | "os" 14 | ) 15 | 16 | func isOpErrorTemporary(err *os.SyscallError) bool { 17 | return false 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/pion/turn/v4/internal/client/client.go: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2023 The Pion community 2 | // SPDX-License-Identifier: MIT 3 | 4 | // Package client implements the API for a TURN client 5 | package client 6 | 7 | import ( 8 | "net" 9 | 10 | "github.com/pion/stun/v3" 11 | ) 12 | 13 | // Client is an interface for the public turn.Client in order to break cyclic dependencies. 14 | type Client interface { 15 | WriteTo(data []byte, to net.Addr) (int, error) 16 | PerformTransaction(msg *stun.Message, to net.Addr, dontWait bool) (TransactionResult, error) 17 | OnDeallocated(relayedAddr net.Addr) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (arm || mips || mipsle || 386 || ppc) && linux 6 | 7 | package socket 8 | 9 | import "unsafe" 10 | 11 | func (h *msghdr) setIov(vs []iovec) { 12 | l := len(vs) 13 | if l == 0 { 14 | return 15 | } 16 | h.Iov = &vs[0] 17 | h.Iovlen = uint32(l) 18 | } 19 | 20 | func (h *msghdr) setControl(b []byte) { 21 | h.Control = (*byte)(unsafe.Pointer(&b[0])) 22 | h.Controllen = uint32(len(b)) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/zsys_zos_s390x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | type iovec struct { 8 | Base *byte 9 | Len uint64 10 | } 11 | 12 | type msghdr struct { 13 | Name *byte 14 | Iov *iovec 15 | Control *byte 16 | Flags int32 17 | Namelen uint32 18 | Iovlen int32 19 | Controllen uint32 20 | } 21 | 22 | type cmsghdr struct { 23 | Len int32 24 | Level int32 25 | Type int32 26 | } 27 | 28 | const sizeofCmsghdr = 12 29 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux 6 | 7 | package unix 8 | 9 | import "runtime" 10 | 11 | // SysvShmCtl performs control operations on the shared memory segment 12 | // specified by id. 13 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 14 | if runtime.GOARCH == "arm" || 15 | runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" { 16 | cmd |= ipc_64 17 | } 18 | 19 | return shmctl(id, cmd, desc) 20 | } 21 | --------------------------------------------------------------------------------