Comments (3)
Thanks for your feedback.
I'm going to work on a PR, to orient myself, from what I've seen, it would be necessary to add the management of the resolutions at the level of the script /cmd/livekit-cli/join.go.
It would be necessary to add a parameter of resolution with the publishSocket function and interprete "resolution" parameter from the cli (a bit like it was done here: /pkg/loadtester/loadtester.go at the PublishVideoTrack level)
We would therefore have the possibility of managing the resolution in this way:
$ livekit-cli join-room --room yourroom --identity bot \
--publish --resolution high unix:/tmp/myvideo_high.h264.sock \
--publish --resolution medium unix:/tmp/myvideo_medium.h264.sock \
--publish --resolution low unix:/tmp/myvideo_low.h264.sock \
--publish unix:/tmp/myvideo.opus.sock
from livekit-cli.
sounds good! feel free to find me in our slack community's #dev channel if you'd like to discuss in real time.
I think --publish
should be used to identify unique tracks. It would be great to do something like this instead:
--publish-simulcast 1280x720=h264:///tmp/myvideo_high.sock,640x360=h264:///tmp/myvideo_medium.sock,320x180=h264:///tmp/myvideo_low.sock
here we would pass in multiple parameters of the track separated with comma. it'd be possible to also set track name this way, i.e. name=var
#67 adds the ability to use TCP sockets too, and there is a proposed improvement to the syntax, which I've adopted here
from livekit-cli.
yeah it should be possible. the CLI will just need a few param changes to make it accept multiple streams. any suggestions what would be a good syntax to pass in?
If you are interested in creating a PR for it, I'd take it!
from livekit-cli.
Related Issues (20)
- Ability to load test at 1080p HOT 2
- Could not start writing - "IVF signature mismatc" HOT 3
- Subscribers parameter is not working on load test HOT 3
- Load test publishers don't trigger ActiveSpeakersChanged event HOT 3
- how to share screen with livekit-cli HOT 1
- livekit-cli 1.2.4 was not completed HOT 3
- Error starting RTMP Stream HOT 1
- --identity-prefix option of load-test does not work. HOT 1
- 1.2.8 release was not completed HOT 1
- livkit-cli to support the video-codec vp9
- [Question] My config is not working HOT 1
- live-kit-cli: vp8 TCP input gives "error"="IVF signature mismatch" HOT 3
- 1.3.3 release was not completed HOT 5
- Does anyone try publish AV1 sucessfully work on livekit-cli with publish over TCP port ? HOT 3
- egress start record not working "twirp error deadline_exceeded: request timed out" HOT 1
- data is not a H264 bitstream via GStreamer HOT 1
- I need help with some error message HOT 1
- Error in Ubuntu Installation
- Using access token with livekit-cli HOT 1
- livekit-cli load-test failing with panic HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livekit-cli.