After load is completed, i try to send the new status to the sender (an Android app). I try the following:
mediaManager.broadcastStatus(true, '', {media}, true);
mediaManager.sendStatus(senderId, requestId, true, {media}, true);
mediaManager.sendLoadComplete(media);
When I run my code, I have nothing related to this in the debugger. I was expecting a message from cast_receiver.js like: 'sending message' or an error but I just get nothing.
Even when I use: mediaManager.onMetadataLoadedOrig(media), i catch nothing, how can I know that I am sending something to the sender? Should I add a specific code?
I am expecting something like: Unexpected connected message for already connected sender
I am really new at this.
Thanks for your help.