pion / explainer Goto Github PK
View Code? Open in Web Editor NEWExplainer parses WebRTC Offers/Answers then provides summaries and suggestions
Home Page: https://pe.pion.ly/
License: MIT License
Explainer parses WebRTC Offers/Answers then provides summaries and suggestions
Home Page: https://pe.pion.ly/
License: MIT License
Replace GitHub actions workflow and other assets with pion/.goassets repo
tinygo build -o wasm.wasm -target wasm -size full github.com/pion/explainer/pkg/wasm/
code rodata data bss | flash ram | package
------------------------------- | --------------- | -------
26786 0 7750 81310 | 34536 89060 | (unknown)
8 0 0 0 | 8 0 | /home/sean/go/src/github.com/tinygo/tinygo/lib/wasi-libc/libc-top-half/musl/src/exit
1938 0 0 0 | 1938 0 | /home/sean/go/src/github.com/tinygo/tinygo/lib/wasi-libc/libc-top-half/musl/src/string
3282 0 0 0 | 3282 0 | bufio
13 0 0 0 | 13 0 | bytes
3246 0 0 0 | 3246 0 | encoding/base64
60 0 0 0 | 60 0 | encoding/binary
429 0 0 0 | 429 0 | errors
3093 0 0 0 | 3093 0 | github.com/CosmWasm/tinyjson/buffer
23307 0 8 0 | 23315 8 | github.com/CosmWasm/tinyjson/jlexer
1759 0 256 0 | 2015 256 | github.com/CosmWasm/tinyjson/jwriter
3189 0 0 0 | 3189 0 | github.com/pion/explainer
9958 0 0 0 | 9958 0 | github.com/pion/explainer/internal/sdp
87 0 0 0 | 87 0 | internal/bytealg
1291 0 0 4 | 1291 4 | internal/task
2109 0 0 500000 | 2109 500000 | main
33 0 0 0 | 33 0 | os
11186 0 0 0 | 11186 0 | reflect
11600 0 12 156 | 11612 168 | runtime
8118 0 0 0 | 8118 0 | strconv
254 0 0 0 | 254 0 | strings
812 0 0 0 | 812 0 | sync
11789 0 0 40 | 11789 40 | syscall/js
181 0 0 0 | 181 0 | time
30 0 0 0 | 30 0 | unicode/utf16
732 0 288 0 | 1020 288 | unicode/utf8
------------------------------- | --------------- | -------
125290 0 8314 581510 | 133604 589824 | total
We should see if we can drop the github.com/CosmWasm/tinyjson/jlexer
dependency. We are adding 35Kb just for that. I think it would be fine to just have code that walks the entire string and extracts sdp+type.
This is our current gzip size
tinygo build -o wasm.wasm -target wasm -no-debug --panic trap github.com/pion/explainer/pkg/wasm
gzip -9 < wasm.wasm | wc -c
34059
It might be nice to have an API that accepts anything and does heuristics. If that fails it will return an error.
That could be frustrating for users that already have a SessionDescription/JSON though? We could provide two APIs (one for JSON/one for text?)
We should return line numbers if possible for every warning/error/suggestion.
When we build a SDP Explorer
it would allow people to highlight a field and it could tell people exactly what it means.
List of all the things we can surface to users.
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>pion/renovate-config)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.