talk-android icon indicating copy to clipboard operation
talk-android copied to clipboard

Video calls using HPB shows no video from android app to android app

Open muchachagrande opened this issue 1 year ago • 14 comments

Steps to reproduce

  1. Initiates a video call from an Android Talk app to another Android Talk app
  2. Answer the video call from the receiving end

Expected behaviour

The call is established and both users starts to see and hear to each other.

Actual behaviour

The call establishes and both users starts to hear each other but can't see the others video.

Device brand and model

Tested on various smart phone models with Android using Talk GPlay version and Lineage using Talk F-Droid version.

Nextcloud Talk app version

Tested with various versions. The problem has persisted since version 15 or so.

Nextcloud server version

Tested with various versions. It has happened since version 25 or so.

Talk version

Tested with various versions. It has happened since version 15 or so.

Custom Signaling server configured

Yes (specify version in Additional Information)

Custom TURN server configured

Yes

Custom STUN server configured

Yes

Android logs

No response

Server log

Nothing on the server log that day

Additional information

This problem has been happening through various Signaling versions. I think I first saw this with Signaling v1.1.0. Also have been experimenting this using many different versions of Janus and is actually happening with the new 1.x branch that recently was made compatible with Talk.

Other observed details:

  • Video calls between android app and browser work as expected but calls from android app to android app show no video from the remote end.
  • Then toggling video via the camera icon in the app makes the video stream visible on the other end. This has to be done on both ends of the conversation for video to be 2 way.
  • I have tested a group call with some android clients and some web clients with the same results. Android clients can't see other android clients but can see web clients. As soon as one android client cycles the video off and on, the other android clients starts to see it. Web clients can see other clients without problem.
  • I have experimented from time to time (randomly) that in some video calls, only one peer can see the other at the beginning, so only one side has to cycle the camera to make it appear on the other end.

muchachagrande avatar Oct 03 '23 21:10 muchachagrande

I can confirm this.

ASerbinski avatar Oct 18 '23 17:10 ASerbinski

I can also confirm this

pmarini-nc avatar Nov 03 '23 14:11 pmarini-nc

Is this fixed with 18.0.0-rc1? If not, am I in the wrong movie? :)

himpierre avatar Nov 27 '23 14:11 himpierre

May be most users are not impacted by this problem or may be most users do not use HPB. I don't know.

muchachagrande avatar Nov 27 '23 19:11 muchachagrande

I can confirm this

MarkPartlett avatar Nov 27 '23 23:11 MarkPartlett

Will this issue be addressed in the next version ? or in some future version ?

muchachagrande avatar Feb 08 '24 22:02 muchachagrande

I can confrm, 18.0.1

skl256 avatar Feb 13 '24 15:02 skl256

Connection type Cameras work Cameras only work if...
Android to Android ! they are toggled off and on on both devices
Android to iOS ✓
Android to Web ✓
iOS to Web ✓

Tested versions: Android app: 18.1.0 iOS app: 18.0.3 Nextcloud: 28.0.3 Talk: 18.0.5 nextcloud-spreed-signaling: 1.2.3 Janus: 1.1.2-1 (Debian Bookworm)

mircokam avatar Mar 17 '24 10:03 mircokam

I've been trying to find some clues in the signaling log and found nothing of interest. Compared a web to android and a android to android video call log and in both cases the video room is opened correctly. May be there is some handling issue on the code that prevents the video from appearing at first. After that, if you cycle the camera off and on, the video starts to show on the other end. The log doesn't show anything when you cycle the camera, so I think the channels are working correctly.

muchachagrande avatar Mar 26 '24 13:03 muchachagrande

Another detail about this issue. I have experimented from time to time that in some video calls, one peer can see the other at the beginning, so only one side has to cycle the camera to make it appear on the other end. This is a random event. Most of the times the video calls starts with no video on both ends.

muchachagrande avatar Apr 05 '24 15:04 muchachagrande

Tested it yesterday, can confirm the bug. HPB with android <-> android the video does not show up

jakobroehrl avatar Apr 30 '24 04:04 jakobroehrl