Skip to content

Instantly share code, notes, and snippets.

View krowvin's full-sized avatar
:shipit:

Charles Graham krowvin

:shipit:
View GitHub Profile
@sdjnes
sdjnes / frigate-config.yml
Last active August 2, 2025 00:26
Tapo C100 Frigate setup with audio
...
go2rtc:
streams:
# Encode the main stream and sub-stream as h264 with AAC audio
{{stream_name}}:
- rtsp://{{camera_user}}:{{camera_password}}@{{camera_ip}}:554/stream1
- "ffmpeg:{{stream_name}}#audio=aac#video=h264#hardware"
{{stream_name}}_sub:
- rtsp://{{camera_user}}:{{camera_password}}@{{camera_ip}}:554/stream2
- "ffmpeg:{{stream_name}}_sub#audio=aac#video=h264#hardware"
@Lawouach
Lawouach / ws4py simple chat example
Created November 28, 2013 21:00
A more elaborated chat example using ws4py. It broadcasts to all clients when a message is sent. It also sends to a single client if the message is prefixed by "@Username: ..."
# -*- coding: utf-8 -*-
import argparse
import random
import os
import cherrypy
from ws4py.server.cherrypyserver import WebSocketPlugin, WebSocketTool
from ws4py.websocket import WebSocket
from ws4py.messaging import TextMessage