livekit / client-sdk-android

LiveKit SDK for Android
https://docs.livekit.io
Apache License 2.0
176 stars 70 forks source link

How can my phone screen also shows videos of web pages? #455

Open supergf opened 2 months ago

supergf commented 2 months ago

I used livekit 2.2.0,the codes is from sample-app-basic。 I used java before, the first time I use kotilin,And Can't read the kotlin codes very well, I used the sample code to establish a link to the server, but my phone screen is black, how to sync with the web side of the video,then my phone screen also shows videos of web pages? thx

davidliu commented 2 months ago

I'm not quite sure what you're asking for here. It sounds like you're asking two questions?

  1. You connected to a server, but there's a black screen. Do you have another participant who's emitting video? The basic app only shows the video of the other remote participant.
  2. You want to show videos of webpages? I think you're looking for screen share functionality, is that correct?
supergf commented 2 months ago

1.Used The basic app,I had showed the video of the other remote participan. 2.At the same time, my screen also shows the content of my camera.This is my requirement.