Use exoplayer in viewpager with firebase realtime database - android-studio

i want to make reels/shorts app like tiktok.
i want to load videos with exoplayer in the viewPager2 and the video urls from the firebase database , e.g. youtube shorts , instagram reels.
please, can anybody give me a the java/kotlin code for it , it would be a great help.

Related

Audio in safari

Hello developers community,
Currently I have task to create walkie talkie app,
I am using React.js,socket.io(for real time communication) & express js.
I am not able to play audio continuously which arrives from socket listener.
specifically in IOS safari.
I can play audio with static url(base64 data url) but not with dynamic base64.
Is there any way to contionuosly pass & play the audio.
I am free to adopt any other framework or protocol also. just need some guidence for create this type of application.
I tried Audio() api and also set UX flow to get user activity in website so that browser allows Audio() to play.

Creating 3D animated map video

https://docs.mapbox.com/mapbox-gl-js/example/query-terrain-elevation/
I did the same animation in the link using react native. Now I want to export this to a video.
I want user to click a button then everything to be done at backend. For example, send post request to
/api/createMapVideo and request body contains the coordinates of MarkerViews, polyLines etc... and use theese data to create animated map video then store it on cloud and after doing all of that send the url of video in the cloud as response. Like relive app's 3d videos.
How can I achieve this functionality? I want to create animated map video on backend. Or are there better solutions?
I did come across this on Github perhaps it helps as it's about EXPORTING THE CANVAS TO VIDEO and you can read more about this in this blog entry from a developer at Mapbox

How can we create a room in video conference app using janus webrtc..?

Hi all I am new in programming I started to do a project in video conferencing app using JANUS webRTC. Backend I plan to use node for signup and sign routes but I am stuck in creating API for room. frond end I plan to use Reactjs someone please help me to move on..

How To Capture WebRTC Stream From Different Page In NodeJS

I'm new to Node.js and WebRTC concept. I'm trying to make a an audio stream in which one of the page is the music controller and the other page is just playing whatever stream the music controller page is playing.
I based the idea on this link:
https://webrtc.github.io/samples/src/content/capture/video-pc/
But instead of video I just want audio. I'm able to make it work when they are on the same page but there is a problem when capturing stream from different page/url. NodeJS cannot access DOM elements so I'm stuck. I tried accessing the controller page audio element using document.getElementById but its not working. Please help how to get over this.

Can I record and upload video on Youtube API?

Can I use the YoutubeAPI on a web-app to record and save/upload a video with out it being broadcast live?
Use the method Videos: insert to upload video using YouTube api. About saving/downloading, I think, it's against their Terms of Service.
You shall not download any Content unless you see a “download” or
similar link displayed by YouTube on the Service for that Content.
You can see this SO post for further reference on downloading content in YouTube.
Youtube does not support recording straight to their platform anymore.
https://support.google.com/youtube/answer/57409?hl=en

Resources