WebRTC Receive stream


I develoз a video-chat client using webRTC unity package (com.unity.webrtc v2.0.2). I have the completed js client for browsers and I use it for p2p connection tests. I can share webcam video data from Unity and I see it in js client.

m_peerConnection.AddTrack (videoStreamTrack);

But I don’t get how I can receive the video stream from the remote peer. Maybe I should try different WebRTC implementations?

You may check out FMETP STREAM.

A cross-platform Game View Streaming solution for iOS/Android/Mac/PC/WebGL/HTML/AR/VR/HoloLens…etc

It provides Video Chat demo in UDP & WebSocket. As long as your networking system supports byte streaming, it’s compatible.