I am mot able to see Recorded Video (Android)

Max

Administrator
Staff member
Currently it says
/usr/local/FlashphonerWebCallServer/client/records/1519_buckworm-stream_1516607100851.mp4 (No such file or directory)
Make sure mp4 file was recorded and exists.
 

Ney

Member
Yes thats the issue. We are sending recording as true in at the time of publishing the stream. but still Mp4 is not getting saved.
 

Alex

Administrator
Staff member
This looks as a server-side issue.
We will inform you once the check is done.
BTW, the second thread related android recording has been deleted as duplicated.
 

Ney

Member
Hi Alex,
The issue was that the videos done via Andriod SDK were getting saved as .webm when we need them to be .mp4 to play them on our web and iOS implementation. We updated the WCS server to the latest. And removed the "VP8" from codec settings on the Andriod SDK from stream options. Now the recordings are getting saved as .mp4. But the issue now is that in the video we are not able to see the video, only seeing the audio output.
 

Ney

Member
Hi Alex,
Any update for us? We just need to focus now on getting the below video-output issue resolved. Please advise. Thanks for all the help!
The issue was that the videos done via Andriod SDK were getting saved as .webm when we need them to be .mp4 to play them on our web and iOS implementation. We updated the WCS server to the latest. And removed the "VP8" from codec settings on the Andriod SDK from stream options. Now the recordings are getting saved as .mp4. But the issue now is that in the video we are not able to see the video, only seeing the audio output.
 

Alex

Administrator
Staff member
It seems your Android device or does not support H.264 codec for streaming.
You can find application logs like this
Code:
           D/MediaConnection: Set local SDP: v=0
                   o=- 8610412484807663411 2 IN IP4 127.0.0.1
                   s=-
                   t=0 0
                   a=group:BUNDLE audio video
                   a=msid-semantic: WMS ARDAMS-5766a7148d74deadfef49bbde02ec400 ARDVMS-5766a7148d74deadfef49bbde02ec400
                   m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 126
                   c=IN IP4 0.0.0.0
                   a=rtcp:9 IN IP4 0.0.0.0
                   a=ice-ufrag:iwBo
                   a=ice-pwd:OOdLyE4g8sMT/qhtrJHvOEvV
                   a=fingerprint:sha-256 77:92:C5:06:9E:8D:5C:08:3B:BF:90:BC:79:70:FD:D1:24:56:E1:D5:77:2D:04:AA:29:64:D4:0C:1B:9C:CA:B2
                   a=setup:actpass
                   a=mid:audio
                   a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
                   a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
                   a=sendrecv
                   a=rtcp-mux
                   a=rtpmap:111 opus/48000/2
                   a=rtcp-fb:111 transport-cc
                   a=fmtp:111 minptime=10;useinbandfec=1
                   a=rtpmap:103 ISAC/16000
                   a=rtpmap:104 ISAC/32000
                   a=rtpmap:9 G722/8000
                   a=rtpmap:102 ILBC/8000
                   a=rtpmap:0 PCMU/8000
                   a=rtpmap:8 PCMA/8000
                   a=rtpmap:106 CN/32000
                   a=rtpmap:105 CN/16000
                   a=rtpmap:13 CN/8000
                   a=rtpmap:126 telephone-event/8000
                   a=ssrc:2063591121 cname:TgWm3UOqAdmqcTKC
                   a=ssrc:2063591121 msid:ARDAMS-5766a7148d74deadfef49bbde02ec400 ARDAMSa0-5766a7148d74deadfef49bbde02ec400
                   a=ssrc:2063591121 mslabel:ARDAMS-5766a7148d74deadfef49bbde02ec400
                   a=ssrc:2063591121 label:ARDAMSa0-5766a7148d74deadfef49bbde02ec400
                   m=video 9 UDP/TLS/RTP/SAVPF 100 101 116 117 96 97 98
                   c=IN IP4 0.0.0.0
                   a=rtcp:9 IN IP4 0.0.0.0
                   a=ice-ufrag:iwBo
                   a=ice-pwd:OOdLyE4g8sMT/qhtrJHvOEvV
                   a=fingerprint:sha-256 77:92:C5:06:9E:8D:5C:08:3B:BF:90:BC:79:70:FD:D1:24:56:E1:D5:77:2D:04:AA:29:64:D4:0C:1B:9C:CA:B2
                   a=setup:actpass
                   a=mid:video
                   a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
                   a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
                   a=extmap:4 urn:3gpp:video-orientation
                   a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
                   a=sendrecv
                   a=rtcp-mux
                   a=rtcp-rsize
                   a=rtpmap:100 VP8/90000
                   a=rtcp-fb:100 ccm fir
                   a=rtcp-fb:100 nack
                   a=rtcp-fb:100 nack pli
                   a=rtcp-fb:100 goog-remb
                   a=rtcp-fb:100 transport-cc
                   a=rtpmap:101 VP9/90000
                   a=rtcp-fb:101 ccm fir
                   a=rtcp-fb:101 nack
                   a=rtcp-fb:101 nack pli
                   a=rtcp-fb:101 goog-remb
                   a=rtcp-fb:101 transport-cc
                   a=rtpmap:116 red/90000
                   a=rtpmap:117 ulpfec/90000
                   a=rtpmap:96 rtx/90000
                   a=fmtp:96 apt=100
                   a=rtpmap:97 rtx/90000
                   a=fmtp:97 apt=101
                   a=rtpmap:98 rtx/90000
                   a=fmtp:98 apt=116
                   a=ssrc-group:FID 24430509 52464282
                   a=ssrc:24430509 cname:TgWm3UOqAdmqcTKC
                   a=ssrc:24430509 msid:ARDVMS-5766a7148d74deadfef49bbde02ec400 ARDAMSv0-5766a7148d74deadfef49bbde02ec400
                   a=ssrc:24430509 mslabel:ARDVMS-5766a7148d74deadfef49bbde02ec400
                   a=ssrc:24430509 label:ARDAMSv0-5766a7148d74deadfef49bbde02ec400
                   a=ssrc:52464282 cname:TgWm3UOqAdmqcTKC
                   a=ssrc:52464282 msid:ARDVMS-5766a7148d74deadfef49bbde02ec400 ARDAMSv0-5766a7148d74deadfef49bbde02ec400
                   a=ssrc:52464282 mslabel:ARDVMS-5766a7148d74deadfef49bbde02ec400
                   a=ssrc:52464282 label:ARDAMSv0-5766a7148d74deadfef49bbde02ec400

Here you can see video par of SDP
Code:
m=video 9 UDP/TLS/RTP/SAVPF 100 101 116 117 96 97 98
                   c=IN IP4 0.0.0.0
                   a=rtcp:9 IN IP4 0.0.0.0
                   a=ice-ufrag:iwBo
                   a=ice-pwd:OOdLyE4g8sMT/qhtrJHvOEvV
                   a=fingerprint:sha-256 77:92:C5:06:9E:8D:5C:08:3B:BF:90:BC:79:70:FD:D1:24:56:E1:D5:77:2D:04:AA:29:64:D4:0C:1B:9C:CA:B2
                   a=setup:actpass
                   a=mid:video
                   a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
                   a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
                   a=extmap:4 urn:3gpp:video-orientation
                   a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
                   a=sendrecv
                   a=rtcp-mux
                   a=rtcp-rsize
                   a=rtpmap:100 VP8/90000
                   a=rtcp-fb:100 ccm fir
                   a=rtcp-fb:100 nack
                   a=rtcp-fb:100 nack pli
                   a=rtcp-fb:100 goog-remb
                   a=rtcp-fb:100 transport-cc
                   a=rtpmap:101 VP9/90000
                   a=rtcp-fb:101 ccm fir
                   a=rtcp-fb:101 nack
                   a=rtcp-fb:101 nack pli
                   a=rtcp-fb:101 goog-remb
                   a=rtcp-fb:101 transport-cc
                   a=rtpmap:116 red/90000
                   a=rtpmap:117 ulpfec/90000
                   a=rtpmap:96 rtx/90000
                   a=fmtp:96 apt=100
                   a=rtpmap:97 rtx/90000
                   a=fmtp:97 apt=101
                   a=rtpmap:98 rtx/90000
It does not indicate H.264 codec.
Therefore H.264 codec is not supported as streaming codec for this particular device and Android SDK.
Please check your SDP.
If codec is not in the list, it won't work.
That's why we use both codecs=..h264,vp8..
If device does not support H.264 it can switch to VP8.
We have to check it on some other devices.

Please provide model name of your device, version, OS version.
And application logs containing the SDP. We will check.
 
Top