Is there a way to retrieve the IP Address of a Sender? - chromecast

Using a custom receiver is it possible to retrieve the IP address of a specific sender ?

No, you cannot but if you have a custom receiver, you can simply send the ip address from your sender to your receiver using either the customData that is available on a number of existing API calls or use a custom channel/namespace to do it.

Related

AirBNB style email masking service implementation with AWS Lambda

I am building a small service application where users can cloak their email addresses using the service. Users who register to the website will have a unique email address to communicate with. I have tried to implement this relay service but i am stuck implementing it.
What i have tried
Catch all the emails coming for the domain with SES receiving rules and saving to the s3 bucket
Trigger lambda function to retrieve the original address of the designated user by calling an api call providing the email address user wanted to contact.
After a successful call the api call returns the original (unmasked) email address for lambda to forward the email to
Question: Is this an overkill when dealing with 1000s of emails handled like this ? Is there any way that you had implemented such as this ?
*AirBnB style communication

How ChromeCast Communicate with reciever app and sender App?

As we know we send and receive message in json form from send app to receiver app. what is the proper channel for sending and receiving message and what role ChromeCast play in whole picture?
Senders and receivers are establishing a socket connection and communicate via IPC. While it's true that this communication is in JSON format, you will likely neither generate that data yourself nor care about the 'how' or 'channels' of it - in fact, you are not even allowed to following the terms of service by Google.
Instead, you have the SDK handle that for you one both the sender and receiver site.
Communication is done in the form of defined Messages that implement a schema and contain objects - most notably for media playback that is MediaInformation.
Most of those objects that are passed between sender and receiver have a customData property that you can use to add self-defined payload in JSON format.
If you want to implement your own features you can implement custom messages.

Spoofing messages for a Legal Company

We have application that automatically sends message through a broadband stick then We want to buy a sim or any other way (LEGALLY) that make our Sender number will be a Company name
0999xxxxxx7 into CompanyName
please give me suggestion
(Philippines)
You can use a service like http://www.clickatell.com/ and specify the sender ID when sending messages through their API. However, the sender ID capability is not supported everywhere and you might have to get multiple numbers from then to support different locations.

How to pass custom data/parameters to Chromecast receiver via URL?

Is it possible to have a Chromecast sender application to pass custom data to the receiver in the URL? The goal is to pass user-specific data to the receiver so it can generate the appropriate contents each time it's called.
An example of this would be a simple to-do list. When the user casts to their device, that user's data should be passed via URL to the receiver so that their task list can be loaded in the custom receiver.
I haven't seen any tutorials or much information on this in the Cast documentation.
If you mean passing parameters as part of the receiver url that loads the receiver, the answer is no; there is no such thing. You can either use the customData that can be passed to the receiver in a number of APIs, or you can create a custom data channel if the former is not adequate for your needs.
The Cast receiver URL is specified as a static URL when you're registering/publishing the app on the Google Cast SDK Developer Console so it is not possible to add custom parameters.
However you can use the Cast Messages system to send data between a Cast sender and Cast receiver. It's similar to the messaging system in modern browsers.

Do I need to host my receiver app on my own server?

When I register a Chromecast receiver app, it asks for a URL. Is that where the receiver html file is?
Either you need to use one of our receivers (Styled or Default), in which case you do not need to register any URL or you need to use your own custom receiver which requires you to arrange for its hosting. See tour docs.

Resources