Skip to content

Instantly share code, notes, and snippets.

Lexi is the love of my life, I love her more than she loves me

Sean DuBois Sean-Der

Lexi is the love of my life, I love her more than she loves me
Block or report user

Report or block Sean-Der

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:237fcf18e348749ca2676d200e680892
o=- 471506532038167729 2 IN IP4
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS L7E883xNBmOTumdCwEGvbbZKAa617fGWuop1
m=audio 60915 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4
a=rtcp:9 IN IP4
a=candidate:704553097 1 udp 2113937151 d1c8d7f6-f7cb-4fdf-b242-bd7431c64469.local 60915 typ host generation 0 network-cost 999
View bench.c
#include <srtp2/auth.h>
#include <srtp2/cipher.h>
#include <srtp2/crypto_types.h>
#include <srtp2/srtp.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
char SKEL_RTP_PACKET[17] = {0x80, 0x60, 0x69, 0x8f, 0xd9, 0xc2, 0x93, 0xda, 0x1c, 0x64, 0x27, 0x82, 0x98, 0x36, 0xbe, 0x88, 0x9e};
View gist:a1720422dfe233d3daf6623afb6bf9ae
diff --git a/candidate_base.go b/candidate_base.go
index b5cb216..6628711 100644
--- a/candidate_base.go
+++ b/candidate_base.go
@@ -95,6 +95,7 @@ func (c *candidateBase) recvLoop() {
+ fmt.Printf("Read %s -> %s", srcAddr, c.addr())
handleInboundCandidateMsg(c, buffer[:n], srcAddr, log)
View gist:89294713f5194304da9661bd584eef48
diff --git a/candidate_relay.go b/candidate_relay.go
index 12f9f92..769af0d 100644
--- a/candidate_relay.go
+++ b/candidate_relay.go
@@ -2,6 +2,7 @@ package ice
import (
+ "fmt"
View gist:0b341f505e4090ff87e24b7c2315e4ec
diff --git a/examples/pion-to-pion/answer/main.go b/examples/pion-to-pion/answer/main.go
index 556d532..d7a6c5e 100644
--- a/examples/pion-to-pion/answer/main.go
+++ b/examples/pion-to-pion/answer/main.go
@@ -22,9 +22,12 @@ func main() {
config := webrtc.Configuration{
ICEServers: []webrtc.ICEServer{
- URLs: []string{""},
+ URLs: []string{"turn:localhost"},
View gist:dbd0ed46c9d05798bdf4ecf66224fb07
ice ERROR: 2019/06/07 10:33:54 error processing checkCandidatesTimeout handler the agent is closed
--- FAIL: TestRelayOnlyConnection (12.21s)
util.go:38: Unexpected routines:
goroutine 9 [IO wait]:
internal/poll.runtime_pollWait(0x1f71dd8, 0x72, 0xffffffffffffffff)
/usr/local/Cellar/go/1.12.5/libexec/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc000462098, 0x72, 0x500, 0x5dc, 0xffffffffffffffff)
/usr/local/Cellar/go/1.12.5/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x9b
View gist:54ac26a29227f72899b6344c7914fd32
diff --git a/examples/data-channels/main.go b/examples/data-channels/main.go
index 4df8065..fd438d7 100644
--- a/examples/data-channels/main.go
+++ b/examples/data-channels/main.go
@@ -15,9 +15,12 @@ func main() {
config := webrtc.Configuration{
ICEServers: []webrtc.ICEServer{
- URLs: []string{""},
+ URLs: []string{"turn:localhost"},
Sean-Der / Dockerfile
Last active May 25, 2019
GStreamer AV1 Dockerfile and example pipeline
View Dockerfile
FROM debian:sid
RUN echo 'deb sid main contrib non-free\n\
deb-src sid main contrib non-free\n'\
>> /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y install git build-essential bison flex cmake
RUN apt-get -y build-dep gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
View main.go
package main
import (
Sean-Der / index.html
Last active May 6, 2019
Example for metal3d
View index.html
<video id="video"> </video>
<br />
<button onclick="start()">Call start</button>
function E(selector) {
return document.querySelector(selector);
You can’t perform that action at this time.