[Question] Connecting android with web client

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale

Research direction

Start with the Android client's addTrack call and the web client's RTCPeerConnection and ontrack handling described in the issue. Compare the integration with a working Android-to-web example and use the WebRTC API documentation to trace the connection; done means the web client receives the shared screen and triggers ontrack.

Written by the indexing model from the issue text.

Description

Hi, I am currently developing an android client(android native app) and a web client(js), which the android client will share its screen to the web client via webrtc and I am using this library.

In the web client I am using https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection
I encountered issue where after the android client calls .addTrack(), the web client does not trigger ontrack event, I am not sure what I did wrong and I have no idea how to debug/troubleshoot.

Asking if anyone have a working project example where connection is done between android client and a web client. Recommendations on how to troubleshoot /debug is greatly appreciated

Dominant language
Kotlin
Stars
890
Forks
109
Avg merge
11m
Merged PRs (30d)
2

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GetStream/webrtc-android

All issues in GetStream/webrtc-android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.