MarshalX / tgcalls

Voice chats, private incoming and outgoing calls in Telegram for Developers
https://t.me/tgcallslib
GNU Lesser General Public License v3.0
516 stars 91 forks source link

Add pyav example #126

Closed nitanmarcel closed 3 years ago

MarshalX commented 3 years ago

you forgot to add new example into README file in the example dir

nitanmarcel commented 3 years ago

you forgot to add new example into README file in the example dir

Fixed

nitanmarcel commented 3 years ago

Wait a second

nitanmarcel commented 3 years ago

@MarshalX you can merge now if you don't find any other problems

rojvv commented 3 years ago

nice thing

MarshalX commented 3 years ago

any updates?

nitanmarcel commented 3 years ago

any updates?

Probably later today. Don't worry I haven't forgot about it

hdcola commented 3 years ago

I think this example should include. . Switching songs . Callback at the end of song playback

I like nitanmarcel's idea so much that I'm replacing the ffmpeg subprocess with pyav in my own project

nitanmarcel commented 3 years ago

@hdcola commented on Aug 20, 2021, 4:14 PM GMT+3:

I think this example should include.
. Switching songs
. Callback at the end of song playback

I like nitanmarcel's idea so much that I'm replacing the ffmpeg subprocess with pyav in my own project

Those aren't implemented in the library. This example is an alternative to the already existing example explaining how to use the raw streaming functionality tgcalls offers.

nitanmarcel commented 3 years ago

@MarshalX commented on Aug 20, 2021, 12:08 PM GMT+3:

any updates?

Yes. I haven't squashed the commits so you can inspect them but I think I covered everything needed.