ghodrat icon indicating copy to clipboard operation
ghodrat copied to clipboard

Error: unknown flag: --url : failed to execute root command unknown flag: --url

Open Madhan-Sadasivam opened this issue 4 years ago • 7 comments

Hi, Please help me with the below error.

image

Also please provide the command for .yml file based execution.

Madhan-Sadasivam avatar Nov 05 '21 05:11 Madhan-Sadasivam

Right now we only have Janus and .yml based execution. you need to create the following YAML configuration:

logger:
  development: true
  encoding: "console"
  level: "info"

tracer:
  enabled: false
  host: "localhost"
  port: 6831
  sample-rate: 0.1

call-count: 5

client:
  audio-file-address: "./static/audio.ogg"
  connection:
    stun-server: "stun:stun.l.google.com:19302"
    rtp-codec:
      clock-rate: 48000
      channels: 2
      payload-type: 111

janus:
  address: "<URL>"
  max-late: 10
  sample-rate: 48000

1995parham avatar Nov 05 '21 05:11 1995parham

Hi @1995parham, thanks for the quick response!! I will create the config.yml and try to execute.

I have to add '--config config.yml' flag in the command, am i right? please correct me if i'm wrong

Madhan-Sadasivam avatar Nov 05 '21 05:11 Madhan-Sadasivam

No there is no need for a config flag, it searches for config.yml next to your executable. again thanks for using our project :raised_hands:

1995parham avatar Nov 05 '21 05:11 1995parham

Thank you.!

Madhan-Sadasivam avatar Nov 05 '21 05:11 Madhan-Sadasivam

Right now we only have Janus and .yml based execution. you need to create the following YAML configuration:

logger:
  development: true
  encoding: "console"
  level: "info"

tracer:
  enabled: false
  host: "localhost"
  port: 6831
  sample-rate: 0.1

call-count: 5

client:
  audio-file-address: "./static/audio.ogg"
  connection:
    stun-server: "stun:stun.l.google.com:19302"
    rtp-codec:
      clock-rate: 48000
      channels: 2
      payload-type: 111

janus:
  address: "<URL>"
  max-late: 10
  sample-rate: 48000

Hi @1995parham , please share the config.yml for testing videobridge plugin in janus, I pulled the lastes code from code and got the video.ivf file.

Also please share if any, details of each option in the config.yml file and how we can change these options for testing different scenarios.

Thank You.!

Madhan-Sadasivam avatar Nov 12 '21 12:11 Madhan-Sadasivam

Sure, these are our new features which handle video and also testing with pion which are added by @mohammadne Jan. I think he could help us here.

1995parham avatar Nov 12 '21 12:11 1995parham

Hi @Madhan-Sadasivam thanks for using ghodrat

in case of pion media-server we support both audio and video calls but in case of Janus we currently support audio call via its audiobridge but we are glad to add this new feature also if you have any consideration to add videobridge, pull requests are always open .

mohammadne avatar Nov 17 '21 06:11 mohammadne