you should see two text-areas, 'Start Session' button and 'Copy browser SessionDescription to clipboard' Run bandwidth-estimation-from-disk with your browsers Session Description as stdin Open bandwidth-estimation-from-disk example page 3M -s 320x240 low.ivfįfmpeg -i $INPUT_FILE -g 30 -b:v 1M -s 858x480 med.ivfįfmpeg -i $INPUT_FILE -g 30 -b:v 2.5M -s 1280x720 high.ivfĭownload bandwidth-estimation-from-disk go get /pion/webrtc/v3/examples/bandwidth-estimation-from-disk Instructions Create IVF files named high.ivf med.ivf and low.ivf ffmpeg -i $INPUT_FILE -g 30 -b:v. It is then up to the sender to meet that number. This interfaceĮmits an int for how much bandwidth is available to send. Pion provides multiple Bandwidth Estimators, but they all satisfy one interface. Bandwidth-estimation-from-disk demonstrates how to use Pion's Bandwidth Estimation APIs.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |