Advertisement
Guest User

Facecast ios

a guest
Nov 11th, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. -
  2. Download Here --> https://tinyurl.com/rhf4x3dp (Copy and Paste Link)
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. Facecast ios
  10. Looks like you're using new Reddit on an old browser. The site may not work properly if you don't update your browser ! If you do not update your browser, we suggest you visit old reddit .
  11. This page may contain sensitive or adult content that's not for everyone. To view it, confirm your age.
  12. Use of this site constitutes acceptance of our User Agreement and Privacy Policy. ©2023 reddit inc. All rights reserved. REDDIT and the ALIEN Logo are registered trademarks of reddit inc.
  13. Reddit and its partners use cookies and similar technologies to provide you with a better experience. By accepting all cookies, you agree to our use of cookies to deliver and maintain our services and site, improve the quality of Reddit, personalize Reddit content and advertising, and measure the effectiveness of advertising. By rejecting non-essential cookies, Reddit may still use certain cookies to ensure the proper functionality of our platform. For more information, please see our Cookie Notice and our Privacy Policy .
  14. Name already in use
  15. A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
  16. facecast-io / README.rst
  17. This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
  18.  
  19. Open with Desktop
  20. View raw
  21. Copy raw contents Copy raw contents Copy raw contents
  22. Unofficial API client to https://facecast.io service
  23. api = FacecastAPI(os.environ["FACECAST_USERNAME"], os.environ["FACECAST_PASSWORD"]) # display available devices print(api.devices) # get device by name d = api.devices['Dev name'] # delete specific device and all devices api.devices.delete_device('Dev name') api.devices.delete_all() # create device api.devices.create_device('Dev name') # display device server url and key print(d.input_params) # display outputs of device print(d.outputs) # create new output d.create_output("Youtube", 'rtmp://a.youtube.com', 'youtube-key') # start/stop output d.start_outputs() d.stop_outputs() # delete all outputs d.delete_outputs()
  24. Usage in command line mode
  25. First of all you need to login into your Facecast.io account:
  26. $ python -m facecast_io login
  27. Now you're able to work with your devices. Some of useful commands.
  28. Check all existing devices:
  29. $ python -m facecast_io devices list
  30. $ python -m facecast_io devices create somename
  31. Show info about specific device
  32. $ python -m facecast_io device someone
  33. Show stream params for device
  34. $ python -m facecast_io device someone --input
  35. Start and stop outputs for device
  36. $ python -m facecast_io device someone --start $ python -m facecast_io device someone --stop
  37. Provision data from API into Facecast. If we have pipeline that send following structure:
  38. Call command would be next:
  39. $ http GET 'https://streams.com/some' | jq .devname | python -m facecast_io devices provision devname
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement