Integrate Realtime Api Android App

Hey Team!

We want to integrate the realtime api with our android app (https://platform.openai.com/docs/guides/realtime).
Is there any sample github repo available to refer for the same?

Or some tutorial or video will also be helpful..
How should be design appraoch WebRTC Vs Websocket? Do we have something to read and follow as a guideline for design?

Thanks in advance!!

With Regards
Manish

Welcome to the community!

Have you checked out the OpenAI Cookbook yet? There’s a few entries for realtime that might help you get started?

Happy coding!

Is there any specific approach recommended..
if we want to create a proxy layer on top of realtime api and expose that as an api to mobile app (iOS or Android)??

I checked the provided document and I can see that
Websocket is recommended : server-to-server
WebRTC is recommended : client-to-server

Here if I call realtime api from server side, it would be considered as server-to-server communication?Is my understanding correct?