An *UNFINISHED, JUST-FOR-PERUSAL* snippet of code that I used to set up a webrtc between Android devices. I'm using some structures of other people's code that I'm not finding at this stage (I owe you a big thankyou and would gladly give recognition if I can remember where I saw the code!)
I am bit confused what parameters will I have to use in:
CreateOfferCommand.execute(?,payload) // peerID of offer createor or receiver?
CreateAnswerCommand.execute(?,payload) //peerID of offer createor or receiver?
SetRemoteSdp.execute(?,payload) //peerID of offer createor or receiver?
AddIceCandidates.execute(?,payload) //peerID of offer createor or receiver?
Also, if I am the caller, will have I have to add myself as one of the peer?