
Recherche avancée
Autres articles (99)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (12836)
-
discord.py ffmpeg song plays too quickly at the beginning
30 mai 2023, par C-GianI built a discord bot using discord.py and ffmpeg, it works but the song in the first 0-5 seconds plays too fast, I think it's buffering so I tried to use asyncio.sleep but didn't work, suggestions to solve the problem ?


play func :


with youtube_dl.YoutubeDL(self.opts) as ydl:
 await asyncio.sleep(0.1)
 ydl.cache.remove()
 await asyncio.sleep(0.1)
 info = ydl.extract_info(url, download=False)
 raw_url_song = info['formats'][0]['url']
 await self.real_play(ctx, raw_url_song)



real_play func :


source = await discord.FFmpegOpusAudio.from_probe(processed_url_song, **self.FFMPEG_OPTIONS)
await asyncio.sleep(0.5)
self.vc.play(source, after=lambda e: asyncio.run_coroutine_threadsafe(self.real_play(ctx, processed_url_song), self.client.loop))



these are the options :


self.FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}
self.OPTIONS = {'format': 'bestaudio'}
self.opts = {'extract_flat': True, 'skip_download': True}



the functions are separate because I do something else (such as playlists), I have reported only the essential code to understand the problem, and the cache remove is essential to reduce the occurence of HTTP 404 forbidden error, btw also without cache remove the problem persists


-
doc/general : update after recent additions
25 octobre 2015, par Paul B Mahol -
Implementing Live Streaming Webinar Architecture - Need Guidance
21 septembre 2023, par vishnugplQuestion : I'm working on a project to implement a live streaming webinar platform, and I'm looking for guidance on the architecture and technologies to use. I have some specific requirements and constraints, and I'd appreciate any advice or pointers on how to get started.


Context :
I'm tasked with building a live streaming webinar platform from scratch for our organization. Here are some key requirements and constraints :


- 

-
Live Video Streaming : We need to support live video streaming for
webinars, workshops, and conferences. Low latency is crucial for
real-time interaction between presenters and attendees.


-
Scalability : The platform should be able to handle a large number of concurrent attendees, potentially thousands or more,
without compromising performance.


-
Security : Security is a top priority. We need to ensure that only authorized users can access the webinars, and we must protect
against unauthorized recording or distribution of the content.


-
User Interaction : Attendees should be able to ask questions, participate in polls, and interact with presenters in real-time.


-
Recording and Playback : We also want to provide recorded versions of past webinars for on-demand viewing (HLS).














Current Tech Stack :


- 

- Frontend : React
- Backend : Node.js with Express
- Database : MongoDB
- Cloud Hosting : AWS










Questions :


- 

-
What technologies or services are best suited for handling live video streaming with low latency ?


-
How can I ensure scalability in terms of both video streaming and handling a large number of users ?


-
What security measures should I consider to protect the content and user data ?


-
Are there any recommended frameworks or libraries for building interactive features like real-time chat and polling ?


-
What's the best approach for recording and serving on-demand webinar content ?














Additional Information :


- 

-
Budget is a consideration, so cost-effective solutions are preferred.


-
Any open-source or third-party tools that can simplify development are welcome.


-
I have experience with AWS, but I'm open to other cloud providers if they offer advantages for this project.










-