Created Code Deep Dive (markdown)

giongto35 2021-05-13 02:40:17 +08:00
parent f52e2828aa
commit 0b0ecee330

6
Code-Deep-Dive.md Normal file

@ -0,0 +1,6 @@
Room is the core building block of CloudRetro. Room Includes Game + Video Stream + Audio Stream + Input Stream. Entry point
- https://github.com/giongto35/cloud-game/blob/master/pkg/worker/room/room.go#L121:
- https://github.com/giongto35/cloud-game/blob/master/pkg/worker/room/room.go#L270: Listen from PeerConnection Input Channel
- [webRTC.ImageChannel <- webrtc.WebFrame{Data: data.Data, Timestamp: data.Timestamp}](https://github.com/giongto35/cloud-game/blob/master/pkg/worker/room/media.go#L120 ) : Pass image from emulator to WebRTC Video stream
-
+ https://github.com/giongto35/cloud-game/blob/master/pkg/worker/room/media.go#L66