how to add customized opus codec to webrtc

53 views
Skip to first unread message

Andrew Wang

unread,
Oct 18, 2023, 6:28:09 AM10/18/23
to discuss-webrtc
Hi,

I want to add customized opus codec to webrtc, and use another variable rtc_opus_custome_dir to point to the customized opus codec. When using gn gen, there are some error messages, e.g.

ERROR at //build/config/BUILDCONFIG.gn:569:5: Duplicate output file.
    target(_target_type, _target_name) {
    ^-----------------------------------
Two or more targets generate the same output:
  opus_compare

This is can often be fixed by changing one of the target names, or by
setting an output_name on one of them.

Collisions:
  //third_party/opus-v1.4:opus_compare
  //third_party/opus:opus_compare

See //build/config/BUILDCONFIG.gn:569:5: Collision.
    target(_target_type, _target_name) {
    ^-----------------------------------
ninja: Entering directory `out/rel'
ninja: error: loading 'build.ninja': No such file or directory

The same target can't be used in different directory, is that right?

Thanks

Regards

Andrew


Reply all
Reply to author
Forward
0 new messages