Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter settings #264

Open
carmanlwf opened this issue Feb 14, 2020 · 1 comment
Open

Parameter settings #264

carmanlwf opened this issue Feb 14, 2020 · 1 comment

Comments

@carmanlwf
Copy link

This is a great library thanks for you work
But I have some doubts about how to use it, such as how to set to use rtsp-tcp, or set to enable hardware decoding。
like use vlc
const char *const vlc_args[] = {
"--ignore-config", "--avcodec-hw=any", "--rtsp-tcp",
};
or
libvlc_media_add_option(m_pMedia, ":rtsp=tcp");
libvlc_media_add_option(m_pMedia, ":codec=ffmpeg");
libvlc_media_add_option(m_pMedia, ":avcodec-threads=1");
libvlc_media_add_option(m_pMedia, ":network-caching=200");
libvlc_media_add_option(m_pMedia, ":avcodec-hw=any");
Look forward to your reply

@dayuanyuan1989
Copy link

#267 (comment)

use _media->setOption

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants