snapp-incubator / ghodrat

WebRTC media servers stress testing tool
42 stars 5 forks source link

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

Open Madhan-Sadasivam opened 2 years ago

Madhan-Sadasivam commented 2 years ago

Hi, Please help me with the below error.

image

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

1995parham commented 2 years ago

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
Madhan-Sadasivam commented 2 years ago

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

1995parham commented 2 years ago

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:

Madhan-Sadasivam commented 2 years ago

Thank you.!

Madhan-Sadasivam commented 2 years ago

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.!

1995parham commented 2 years ago

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.

mohammadne commented 2 years ago

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 .