No, there is no easy way to do this.
DISCLAIMER: I have not tried any of what I intend to offer. This is also probably a terrible idea, because Google can change the protocol at any time and in any way they want, as this is not a public thing.
: ToS, , 3.2 ( ) , " ... ... Google Cast Receiver". , , IPC. . .
, SDK Google Cast Receiver (www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js 28, 2015) , , .
, , , .
" ". , "a.message" - , .
" IPC ". , "" - , .
, , -, - , -, SDK. , , , .
, , . .
, , IPC, . , Fake-IPC-, , .