diff --git a/Code-Deep-Dive.md b/Code-Deep-Dive.md new file mode 100644 index 0000000..0aff835 --- /dev/null +++ b/Code-Deep-Dive.md @@ -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 \ No newline at end of file