Jump to content
  • 0

load testing


Giacomo Andreani
 Share

Question

Hello I am not able to make any load test.

I follow the instruction here

but many things are not clear.

1) Ant Media Server and Test Server are in the same server? I belive not! in this case i don't understand 

./run.sh -f output.mp4 -m publisher -n 1 #publishes output.mp4 to the server with default name myStream

2) I want test instance which has different 5080 port. How i can do?

Is there a better explication how to do this test?

i made this test which is not usefull ... (I CHANGE MY REAL IP). but i Put any IP the result is the same....


bash run.sh -m player -n 10 -i stress -s 1xxxxxxxx -u true

[-m, player, -n, 10, -i, stress, -s, 1xxxxxxxx, -u, true]

Settings:


- webSockAdr:1xxxxxxxx

- is sequre:false

- label:nolabel

- stream id:stress

- stream source:camera

- mode:PLAYER

- use ui:true

- port:5080

- verbose:false

- load:10

ws://1xxxxxxxx:5080/WebRTCAppEE/websocket

ws://1xxxxxxxx:5080/WebRTCAppEE/websocket

start

Leaving main method

Jun 25, 2020 8:10:46 AM org.webrtc.Logging log

INFO: Tag:NativeLibrary - Message:Loading native library: jingle_peerconnection_so

Jun 25, 2020 8:10:46 AM org.webrtc.Logging log

INFO: Tag:NativeLibrary - Message:Loading library: jingle_peerconnection_so

Jun 25, 2020 8:10:46 AM org.webrtc.Logging log

INFO: Tag:PeerConnectionFactory - Message:PeerConnectionFactory was initialized without an injected Loggable. Any existing Loggable will be deleted.

Jun 25, 2020 8:10:46 AM org.webrtc.Logging log

INFO: Tag:JavaAudioDeviceModule - Message:createAudioDeviceModule

Jun 25, 2020 8:10:46 AM org.webrtc.Logging log

INFO: Tag:JavaAudioDeviceModule - Message:HW NS will not be used.

Jun 25, 2020 8:10:46 AM org.webrtc.Logging log

INFO: Tag:JavaAudioDeviceModule - Message:HW AEC will not be used.

Jun 25, 2020 8:10:46 AM io.antmedia.enterprise.webrtc.codec.VirtualVideoEncoderFactory getSupportedCodecs

INFO: getSupportedCodecs: H264 encoder factory: io.antmedia.enterprise.webrtc.codec.VirtualVideoEncoderFactory@56b575a1

Jun 25, 2020 8:10:46 AM io.antmedia.enterprise.webrtc.codec.VirtualVideoEncoderFactory getSupportedCodecs

INFO: getSupportedCodecs: H264 encoder factory: io.antmedia.enterprise.webrtc.codec.VirtualVideoEncoderFactory@56b575a1

Jun 25, 2020 8:10:46 AM io.antmedia.webrtctest.WebRTCManager lambda$initPeerConnection$1

INFO: Creating peerconnection hascode:894191102 time:1593065446520

Jun 25, 2020 8:10:56 AM io.antmedia.webrtctest.StatManager logStats

INFO: <- Logging stats ->

Jun 25, 2020 8:10:56 AM io.antmedia.webrtctest.StatManager logStats

INFO: stats: Number of Clients:0 Active Connections:0 Dropped Connections:0 Received Min frame period:2147483647ms, Max frame period: -2147483648ms, Mean frame period:0ms, cpu load: %0 time: 1593065456

Jun 25, 2020 8:10:56 AM io.antmedia.webrtctest.StatManager lambda$start$0

INFO: Seems all streams are stopped and breaking the stats loop

Jun 25, 2020 8:11:06 AM io.antmedia.webrtctest.StatManager logStats

INFO: <- Logging stats ->

Jun 25, 2020 8:11:06 AM io.antmedia.webrtctest.StatManager logStats

INFO: stats: Number of Clients:0 Active Connections:0 Dropped Connections:0 Received Min frame period:2147483647ms, Max frame period: -2147483648ms, Mean frame period:0ms, cpu load: %4 time: 1593065466

Jun 25, 2020 8:11:06 AM io.antmedia.webrtctest.StatManager lambda$start$0

INFO: Seems all streams are stopped and breaking the stats loop


Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
Hi Giacomo Andreani,

You can pass IP or host address with -s flag.
You can change the port with -p flag.

./run.sh -f output.mp4 -m publisher -n 1 -s AMS_IP -p AMS_PORT


You can see all flag definitions at the and of the page.


PS: Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/
Regards,
Burak Kekec
On Thu, 25 Jun at 9:14 AM , Giacomo Andreani <andreani.giacomo@gmail.com> wrote:
Hello I am not able to make any load test.

I follow the instruction here

but many things are not clear.

1) Ant Media Server and Test Server are in the same server? I belive not! in this case i don't understand 

./run.sh -f output.mp4 -m publisher -n 1 #publishes output.mp4 to the server with default name myStream

2) I want test instance which has different 5080 port. How i can do?

Is there a better explication how to do this test?

i made this test which is not usefull ... (I CHANGE MY REAL IP). but i Put any IP the result is the same....


bash run.sh -m player -n 10 -i stress -s 1xxxxxxxx -u true
[-m, player, -n, 10, -i, stress, -s, 1xxxxxxxx, -u, true]
Settings:

- webSockAdr:1xxxxxxxx
- is sequre:false
- label:nolabel
- stream id:stress
- stream source:camera
- mode:PLAYER
- use ui:true
- port:5080
- verbose:false
- load:10
ws://1xxxxxxxx:5080/WebRTCAppEE/websocket
ws://1xxxxxxxx:5080/WebRTCAppEE/websocket
start
Leaving main method
Jun 25, 2020 8:10:46 AM org.webrtc.Logging log
INFO: Tag:NativeLibrary - Message:Loading native library: jingle_peerconnection_so
Jun 25, 2020 8:10:46 AM org.webrtc.Logging log
INFO: Tag:NativeLibrary - Message:Loading library: jingle_peerconnection_so
Jun 25, 2020 8:10:46 AM org.webrtc.Logging log
INFO: Tag:PeerConnectionFactory - Message:PeerConnectionFactory was initialized without an injected Loggable. Any existing Loggable will be deleted.
Jun 25, 2020 8:10:46 AM org.webrtc.Logging log
INFO: Tag:JavaAudioDeviceModule - Message:createAudioDeviceModule
Jun 25, 2020 8:10:46 AM org.webrtc.Logging log
INFO: Tag:JavaAudioDeviceModule - Message:HW NS will not be used.
Jun 25, 2020 8:10:46 AM org.webrtc.Logging log
INFO: Tag:JavaAudioDeviceModule - Message:HW AEC will not be used.
Jun 25, 2020 8:10:46 AM io.antmedia.enterprise.webrtc.codec.VirtualVideoEncoderFactory getSupportedCodecs
INFO: getSupportedCodecs: H264 encoder factory: io.antmedia.enterprise.webrtc.codec.VirtualVideoEncoderFactory@56b575a1
Jun 25, 2020 8:10:46 AM io.antmedia.enterprise.webrtc.codec.VirtualVideoEncoderFactory getSupportedCodecs
INFO: getSupportedCodecs: H264 encoder factory: io.antmedia.enterprise.webrtc.codec.VirtualVideoEncoderFactory@56b575a1
Jun 25, 2020 8:10:46 AM io.antmedia.webrtctest.WebRTCManager lambda$initPeerConnection$1
INFO: Creating peerconnection hascode:894191102 time:1593065446520
Jun 25, 2020 8:10:56 AM io.antmedia.webrtctest.StatManager logStats
INFO: <- Logging stats ->
Jun 25, 2020 8:10:56 AM io.antmedia.webrtctest.StatManager logStats
INFO: stats: Number of Clients:0 Active Connections:0 Dropped Connections:0 Received Min frame period:2147483647ms, Max frame period: -2147483648ms, Mean frame period:0ms, cpu load: %0 time: 1593065456
Jun 25, 2020 8:10:56 AM io.antmedia.webrtctest.StatManager lambda$start$0
INFO: Seems all streams are stopped and breaking the stats loop
Jun 25, 2020 8:11:06 AM io.antmedia.webrtctest.StatManager logStats
INFO: <- Logging stats ->
Jun 25, 2020 8:11:06 AM io.antmedia.webrtctest.StatManager logStats
INFO: stats: Number of Clients:0 Active Connections:0 Dropped Connections:0 Received Min frame period:2147483647ms, Max frame period: -2147483648ms, Mean frame period:0ms, cpu load: %4 time: 1593065466
Jun 25, 2020 8:11:06 AM io.antmedia.webrtctest.StatManager lambda$start$0
INFO: Seems all streams are stopped and breaking the stats loop

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/a90f0bb4-99fc-4d09-a151-d8d7ab79af01o%40googlegroups.com.
10939:1264838
Link to comment
Share on other sites

  • 0
Hi jefferson bernardino,

If you send your server ip I can check.

PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/
Regards,
Burak Kekec
On Mon, 27 Jul at 9:09 PM , jefferson bernardino <jefferson.rbr@gmail.com> wrote:
I've tried this with "-s" and "-p" and didn't worked form me, always showing the same message:
Seems all streams are stopped and breaking the stats loop

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/4eec9923-f6f7-4e9f-b527-4abde416e6f8n%40googlegroups.com.
15227:1264838
Link to comment
Share on other sites

 Share

×
×
  • Create New...