Open electr0de opened 6 months ago
Set up a test server that streams audio. Update: Setup test server using butt to record and encode the audio and transfer to icecast and rocket streaming audio server that supports HLS. HLS is the protocol that will be used for streaming.
Supabase supports real-time data streaming and multiplayer through their Realtime module in an event-based architecture.
Implement an audio player using react native sound player and play the audio with the stream link. Update: React-native track player supports various streaming protocols including live streaming, will use it going forward.
React native sound player, react native audio and expo audio don't support streaming natively. react-native-track seems to be the last hope, if not, a system built from scratch is necessary, using expo audio. Advantages of scratch build: Video can be considered from get-go. Disadvantages: WIll take a long time.
Will continue after backend is finished
Common Setup
Live audio player component: