Created
August 28, 2019 10:11
-
-
Save shriyaRam/5a0ff97027a6c80fee281b97428e3b69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from agora_community_sdk import AgoraRTC | |
client = AgoraRTC.create_watcher("app-id", "chromedriver link") | |
client.join_channel("channel-name") | |
users = client.get_users() # Gets references to everyone participating in the call | |
user1 = users[0] # reference the broadcasting user | |
binary_image = user1.frame # Gets the latest frame from the stream as a PIL image | |
binary_image.save("link to in.png file(high resolution)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment