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

pLocalCodecParameters->channel deprecated #140

Open
pliniopvv opened this issue Dec 29, 2024 · 0 comments
Open

pLocalCodecParameters->channel deprecated #140

pliniopvv opened this issue Dec 29, 2024 · 0 comments

Comments

@pliniopvv
Copy link

pliniopvv commented Dec 29, 2024

struct "AVCodecParameters" has no field "channels"C/C++(136)

Now have a AVChannelLayout before, in pLocalCodecParameters->ch_layout.nb_channels.

printf("Audio Codec: %d channels, sample rate %d", pLocalCodecParameters->channels, pLocalCodecParameters->sample_rate);

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

1 participant