Some devices cannot play stream

446 views
Skip to first unread message

ejgp...@gmail.com

unread,
Jul 22, 2021, 8:37:35 AM7/22/21
to Ant Media Server
Hi, Good Day,

I just want to know if what can be the problem when some devices, specially mobile phones cannot play the streams?

I tried to remote inspect using chrome (a mobile phone is connected), then I noticed
that the webrtc adaptor callback is always getting 'play_finished'.

This is with or without VPN.

Let me know if I can provide something to help with the checking.

Also, We use enterprise edition in aws ec2, so it is paid,
And we already submitted an email, but no one replies.

Regards,

ejgp...@gmail.com

unread,
Jul 22, 2021, 10:16:44 AM7/22/21
to Ant Media Server
Console Log:

sent message:{"command":"play","streamId":"117023572753342422146943","room":"","trackList":[],"viewerInfo":""}
websocket_adaptor.js:55 received remote description type for stream id: 117023572753342422146943 type: offer
webrtc_adaptor.js:1082 stream id in init peer connection: 117023572753342422146943 close stream id: 117023572753342422146943
webrtc_adaptor.js:972 onTrack
webrtc_adaptor.js:977 Received remote stream
webrtc_adaptor.js:972 onTrack
webrtc_adaptor.js:1312 try to create answer for stream id: 117023572753342422146943
2webrtc_adaptor.js:1389 Candidate is added for stream 117023572753342422146943
webrtc_adaptor.js:1317 created answer for stream id: 117023572753342422146943
websocket_adaptor.js:136 sent message:{"command":"takeConfiguration","streamId":"117023572753342422146943","type":"answer","sdp":"v=0\r\no=- 1564323692204006060 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 110\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:AcbI\r\na=ice-pwd:LTt2bkGXg8JeTmVf5kJvqTbp\r\na=ice-options:trickle\r\na=fingerprint:sha-256 A3:74:D2:0F:25:83:AD:59:CC:C1:DF:AC:0A:00:B1:86:7F:F1:43:FB:56:99:F4:DE:B8:59:77:31:8A:90:05:DE\r\na=setup:active\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:110 telephone-event/48000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:AcbI\r\na=ice-pwd:LTt2bkGXg8JeTmVf5kJvqTbp\r\na=ice-options:trickle\r\na=fingerprint:sha-256 A3:74:D2:0F:25:83:AD:59:CC:C1:DF:AC:0A:00:B1:86:7F:F1:43:FB:56:99:F4:DE:B8:59:77:31:8A:90:05:DE\r\na=setup:active\r\na=mid:video\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 red/90000\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 ulpfec/90000\r\n"}
2webrtc_adaptor.js:1389 Candidate is added for stream 117023572753342422146943
VM18 player.html:465 pong notification received
VM18 player.html:297 play finished
12VM18 player.html:465 pong notification received

ejgp...@gmail.com

unread,
Jul 22, 2021, 10:26:33 AM7/22/21
to Ant Media Server
Server Log:

2021-07-22 14:05:50,352 [vert.x-eventloop-thread-0] INFO  i.a.enterprise.webrtc.WebRTCClient - setting remote description for stream Id 117023572753342422146943 for 313263760
2021-07-22 14:05:50,352 [network_thread - 11935] INFO  org.webrtc.Logging - Tag:WebRtcAudioTrackExternal - Message:GetPlayoutUnderrunCount
2021-07-22 14:05:50,352 [network_thread - 11935] INFO  i.a.enterprise.webrtc.WebRTCClient - onSignalingChange : STABLE
2021-07-22 14:05:50,353 [network_thread - 11935] INFO  i.a.enterprise.webrtc.WebRTCClient - IceConnectionState: CHECKING instance: 313263760
2021-07-22 14:05:50,353 [network_thread - 11935] INFO  i.a.enterprise.webrtc.WebRTCClient - Timing:onSetSuccess takes 276ms hash:313263760
2021-07-22 14:05:50,353 [vert.x-eventloop-thread-0] INFO  i.a.enterprise.webrtc.WebRTCClient - onSetSuccess for stream Id 117023572753342422146943
2021-07-22 14:05:50,354 [Thread-30] INFO  i.a.streamsource.StreamFetcher - last dts4075271338 is bigger than incoming dts 4137779242
2021-07-22 14:05:50,354 [Thread-30] INFO  i.a.streamsource.StreamFetcher - dts (4137779243) is bigger than pts(4075271338)
2021-07-22 14:05:50,354 [EncoderQueue - 11943] INFO  i.a.e.w.c.VirtualVideoEncoderFactory - createEncoder: VP8 for factory: 836786195
2021-07-22 14:05:50,354 [EncoderQueue - 11943] INFO  i.a.e.w.codec.VirtualVideoEncoder - initEncode: 1 x 1. @ 300kbps 60fps automaticResizeOn: true adjusted bitrate: 10000000 for client:

2021-07-22 14:05:55,082 [vert.x-eventloop-thread-1] WARN  i.a.enterprise.webrtc.WebRTCClient - It's still not streaming so stop the webrtc client for stream: 117023572753342422146943 and client:313263760
2021-07-22 14:05:55,082 [vert.x-eventloop-thread-0] INFO  i.a.enterprise.webrtc.WebRTCClient - Stop is called for 117023572753342422146943 for 313263760
2021-07-22 14:05:55,082 [vert.x-eventloop-thread-0] INFO  i.a.enterprise.webrtc.WebRTCClient - Disposing audio source for stream Id 117023572753342422146943 viewer hashcode:313263760
2021-07-22 14:05:55,082 [vert.x-eventloop-thread-0] INFO  i.a.enterprise.webrtc.WebRTCClient - Closing and disposing peer connection for stream Id 117023572753342422146943 for 313263760
2021-07-22 14:05:55,083 [network_thread - 11935] INFO  org.webrtc.Logging - Tag:WebRtcAudioTrackExternal - Message:GetPlayoutUnderrunCount
2021-07-22 14:05:55,083 [network_thread - 11935] INFO  i.a.enterprise.webrtc.WebRTCClient - IceConnectionState: CLOSED instance: 313263760
2021-07-22 14:05:55,083 [network_thread - 11935] INFO  i.a.enterprise.webrtc.WebRTCClient - Stop is already called for 117023572753342422146943 viewer hashcode:313263760
2021-07-22 14:05:55,083 [network_thread - 11935] INFO  i.a.enterprise.webrtc.WebRTCClient - onSignalingChange : CLOSED
2021-07-22 14:05:55,084 [vert.x-eventloop-thread-0] INFO  i.a.enterprise.webrtc.WebRTCClient - Closing peer connection factory for 117023572753342422146943 viewer hashcode:313263760
2021-07-22 14:05:55,085 [vert.x-eventloop-thread-0] INFO  i.a.enterprise.webrtc.WebRTCClient - Stopping webrtc client number of send audio packet call: 0 send video packet call: 0 client id: 313263760

ejgp...@gmail.com

unread,
Jul 22, 2021, 10:27:46 AM7/22/21
to Ant Media Server
I'm not sure if I capture all on server log for that particular device because our log is polluted by dts:

2021-07-22 14:05:55,095 [Thread-31] INFO  i.a.streamsource.StreamFetcher - last dts4075793852 is bigger than incoming dts 4136510313
2021-07-22 14:05:55,095 [Thread-31] INFO  i.a.streamsource.StreamFetcher - dts (4136510314) is bigger than pts(4075793852)
2021-07-22 14:05:55,106 [Thread-24] INFO  i.a.streamsource.StreamFetcher - last dts4075794779 is bigger than incoming dts 4137962459
2021-07-22 14:05:55,106 [Thread-24] INFO  i.a.streamsource.StreamFetcher - dts (4137962460) is bigger than pts(4075794779)

Hope those logs were enough,

Ant Media Support

unread,
Jul 23, 2021, 12:48:10 AM7/23/21
to ejgp...@gmail.com, ant-medi...@googlegroups.com
Hello Ejgperion,
Thank you for the logs.
Can you please refer to my previous mail. It would be great if you can provide the dashboard credentials, you can change the same later.
I have tested the stream by playing in Mobile browser and it worked fine for me. So if you can provide the related info or a reproduce scenario, it will help us to understand the same.
--
Best Regards,
Mohit Dubey 



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


--
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-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f670a874-b290-458a-9977-30a3435a3ff6n%40googlegroups.com.
44716:1264838

ejgp...@gmail.com

unread,
Jul 23, 2021, 1:22:56 AM7/23/21
to Ant Media Server
Hello,

I'm not sure If I received that mail that you mentioned.

We are using the javascript sdk. but even the test page, player.html cannot be played on some devices.

"I have tested the stream by playing in Mobile browser and it worked fine for me. So if you can provide the related info or a reproduce scenario, it will help us to understand the same."
- Yes, some device works, some do not, it's really weird.

We can arrange a remote session if you need (anydesk or teamviewer), we have a device that the video is not working. so we can check from there.

Regards,
Emman

Ant Media Support

unread,
Jul 23, 2021, 3:10:02 AM7/23/21
to ejgp...@gmail.com, ant-medi...@googlegroups.com
Hi Emman,
Can you please tell us on which device you are facing the issue.



 
Star
Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Fri, 23 Jul at 8:23 AM
Hello,

I'm not sure If I received that mail that you mentioned.

We are using the javascript sdk. but even the test page, player.html cannot be played on some devices.

"I have tested the stream by playing in Mobile browser and it worked fine for me. So if you can provide the related info or a reproduce scenario, it will help us to understand the same."
- Yes, some device works, some do not, it's really weird.

We can arrange a remote session if you need (anydesk or teamviewer), we have a device that the video is not working. so we can check from there.

Regards,
Emman


On Friday, July 23, 2021 at 12:48:10 PM UTC+8 support wrote:
Hello Ejgperion,
Thank you for the logs.
Can you please refer to my previous mail. It would be great if you can provide the dashboard credentials, you can change the same later.
I have tested the stream by playing in Mobile browser and it worked fine for me. So if you can provide the related info or a reproduce scenario, it will help us to understand the same.
--
Best Regards,
Mohit Dubey 



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Thu, 22 Jul at 5:27 PM
I'm not sure if I capture all on server log for that particular device because our log is polluted by dts:

ejgp...@gmail.com

unread,
Jul 23, 2021, 3:41:42 AM7/23/21
to Ant Media Server
Hi,

It's very intermittent, It happens on phones, laptops, pc.
but currently, Galaxy a32 is the device we are testing that do not work.

Scenarios:
- same network, laptops is working, but phones is not.
- wifi connection on phone will not work but lte will work

Regards,

Ant Media Support

unread,
Jul 23, 2021, 9:09:53 AM7/23/21
to ejgp...@gmail.com, ant-medi...@googlegroups.com
Hello Emman,
​It appears that there is some issue with network, either with symmetric NAT or Firewall.
Can you please confirm if there is Firewall which might block traffic and whether UDP port range 5000-65000 is open.
--
Best Regards,
Mohit Dubey



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.

On Fri, 23 Jul at 10:41 AM
Hi,

It's very intermittent, It happens on phones, laptops, pc.
but currently, Galaxy a32 is the device we are testing that do not work.

Scenarios:
- same network, laptops is working, but phones is not.
- wifi connection on phone will not work but lte will work

Regards,

On Friday, July 23, 2021 at 3:10:02 PM UTC+8 support wrote:
Hi Emman,
Can you please tell us on which device you are facing the issue.



 
Star
Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Fri, 23 Jul at 8:23 AM
Hello,

ejgp...@gmail.com

unread,
Jul 23, 2021, 9:21:25 AM7/23/21
to Ant Media Server
Hello,

Yes, we can confirm that there is no firewall, because on that same network where we test, other phones and laptops can play the stream, but this galaxy a32 cannot.

And yes, udp ports is open:

udp.png

Also, would you know what is causing these to appear on the logs?

2021-07-23 12:58:57,981 [Thread-31] INFO  i.a.streamsource.StreamFetcher - last dts5988787309 is bigger than incoming dts 6007917636
2021-07-23 12:58:57,981 [Thread-31] INFO  i.a.streamsource.StreamFetcher - dts (6007917637) is bigger than pts(5988787309)
2021-07-23 12:58:57,981 [Thread-29] INFO  i.a.streamsource.StreamFetcher - last dts5988791082 is bigger than incoming dts 6007897830
2021-07-23 12:58:57,981 [Thread-29] INFO  i.a.streamsource.StreamFetcher - dts (6007897831) is bigger than pts(5988791082)
2021-07-23 12:58:57,991 [Thread-24] INFO  i.a.streamsource.StreamFetcher - last dts5988682726 is bigger than incoming dts 6007896975
2021-07-23 12:58:57,991 [Thread-24] INFO  i.a.streamsource.StreamFetcher - dts (6007896976) is bigger than pts(5988682726)

Regards,
Emman

Ant Media Support

unread,
Jul 23, 2021, 9:46:06 AM7/23/21
to ejgp...@gmail.com, ant-medi...@googlegroups.com
Hello Emman,
Thank you for that. If the issue is only with Galaxy A32 we can check for it and see for some workarounds.

Scenarios:
- same network, laptops is working, but phones is not.
- wifi connection on phone will not work but lte will work

Does it mean that you are able to play the stream on mobile when using mobile network (LTE) but now when using wifi!

Also, would you know what is causing these to appear on the logs?

--
Best Regards,
Mohit Dubey




 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.

ejgp...@gmail.com

unread,
Jul 23, 2021, 10:54:09 AM7/23/21
to Ant Media Server
Hello,

Yes, on our test environment, this said device can play the video on lte network, but not on wifi.
but at the same time, a laptop can play the stream on that same wifi network.

It's really weird, but it's stressing us out because more and more client now complains that they cannot see the video.
So we really need your help.

Internet connection and/or speed is not a problem, clients were on Korea, where internet is very stable and fast.

Regards,

Ant Media Support

unread,
Jul 23, 2021, 11:00:26 AM7/23/21
to ejgp...@gmail.com, ant-medi...@googlegroups.com
Hi Emman,
Can you please confirm the ant media version that you are using.

--
Best Regards,
Mohit Dubey



 
Star
Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


ejgp...@gmail.com

unread,
Jul 23, 2021, 12:24:24 PM7/23/21
to Ant Media Server
Here's the version: 
  • Enterprise Edition 2.3.3.1 20210609_2033

ejgp...@gmail.com

unread,
Jul 24, 2021, 8:23:19 AM7/24/21
to Ant Media Server
Hello,

Some new info:

Whale <= Korea browser, working perfect
Chrome <= Not Working

processed.jpeg

Still using the Galaxy a32.

Regards,

Emmanuel Joseph Perion

unread,
Jul 24, 2021, 3:40:25 PM7/24/21
to Ant Media Support, ant-medi...@googlegroups.com
Hello,

I sent a separate email to sup...@antmedia.io to send the credentials.

And Yes, we have other cases as well, using galaxy note 20 and a PC.

Regards,

On Sun, Jul 25, 2021 at 1:42 AM Ant Media Support <sup...@antmedia.io> wrote:
Hello Emman,
Did you see my last mail regarding credentials!
If you can provide the Dashboard credentials we can look into both the cases of Galaxy A32 as well as Dash.
Also, has there been any other cases where you haven't been able to play the stream apart from Galaxy A32 on Wifi?
--
Best Regards,
Mohit Dubey



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.

ejgp...@gmail.com

unread,
Jul 26, 2021, 12:59:36 AM7/26/21
to Ant Media Server
Hello,

Did you receive my separate email regarding the credentials?

Regards,

Ant Media Support

unread,
Jul 26, 2021, 2:42:34 PM7/26/21
to ejgp...@gmail.com, ant-medi...@googlegroups.com
Hello Emman,
Did you see my last mail regarding credentials!
If you can provide the Dashboard credentials we can look into both the cases of Galaxy A32 as well as Dash.
Also, has there been any other cases where you haven't been able to play the stream apart from Galaxy A32 on Wifi?
--
Best Regards,
Mohit Dubey



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.

Reply all
Reply to author
Forward
0 new messages