Skip to content

Instantly share code, notes, and snippets.

View TheOnlyArtz's full-sized avatar
:shipit:
Well Crystal is lit.

Amit Katz TheOnlyArtz

:shipit:
Well Crystal is lit.
View GitHub Profile
import turtle
def main():
win = turtle.Screen()
me = turtle.Turtle()
# Just call whatever function you want and run it
# taskOne()
taskTwo()
@vassjozsef
vassjozsef / user.cpp
Last active May 26, 2023 11:22
Create Audio Sending Stream
webrtc::AudioSendStream* createAudioSendStream(
uint32_t ssrc,
uint8_t payloadType,
webrtc::Transport* transport,
rtc::scoped_refptr<webrtc::AudioEncoderFactory> audioEncoderFactory,
webrtc::Call* call)
{
webrtc::AudioSendStream::Config config{transport};
config.rtp.ssrc = ssrc;
config.rtp.extensions = {{"urn:ietf:params:rtp-hdrext:ssrc-audio-level", 1}};