How to include advertisements (ads) on google cast (pre-rolls, mid-rolls) - google-cast

I'm trying to implement Custom Receiver and play pre- mid- rolls of advertisement while casting videos. According to schema on this https://developers.google.com/cast/docs/receiver_apps#choose-a-receiver page it is possible to include pre-, mid-, post- advertising. I don't know how to exactly do that (the way to do that is to use custom player that can play ads by client-ads-id).
Can anybody help in that?

I don't know if it is available. But according to Google Cast SDK Additional Developer Terms of Service:
Advertising
6.1 Google may in the future make advertising available via its APIs. Such advertising will appear in connection with your content or service only if you opt in. If Google makes such advertising available, and you choose to serve such advertising, Google may share revenue from that advertising with you pursuant to the advertising terms and conditions made available at the time you opt in to such advertising.

Related

Is there a way to sync payment amount into credit card terminals such as verifone vx520 or Ingenico ict250 from windows 10?

I am working on a project where I need to send an amount to a credit card terminal such as verifone vx520 or Ingenico ict250.
If it was from Windows 10, would there be a way to communicate with the terminals to show an amount on the terminal screen?
(we are trying to avoid manual input on the terminal)
If it is not possible to send an amount to either verifone vx520 or Ingenico ict250, are there any other terminals that can accumplish this?
If so, it would be very helpful if you can also show me their API documents.
Thanks
The device you want to use is called CAT (Credit Authorization Terminal) in the UnifiedPOS specification.
Get the specification PDF from this page and refer to the specification from page 281.
Document -- retail/17-07-32 (UnifiedPOS Retail Peripheral Architecture, Version 1.14.1)
However, this device specification has been standardized at the request from the Japanese market and is likely not implemented in countries other than Japan.
Perhaps neither Verifone nor Ingenico provide control of CAT devices OPOS/POS for.NET/JavaPOS.
It seems that other vendors do not have it.
Vendors such as Verifone and Ingenico have their own developer sites and SDKs.
Also, vendors will have information on ISVs that use them to provide applications/solutions with the features you want.
Register to a site such as the following to get information on SDKs and applications/solutions.
Verifone Developper Central
Retail Solutions
Ingenico ePayments Developer hub
POS Solutions

Progressive web app beacon search

Is it possible to search for beacon data (uuid, url, ...) with a progressive web application using just web technologies that is without using native mobile technologies (Android, ios, ...)?
Thanks in advance.
Unfortunately, this is not possible as of July 2020. While Google has been working on the WebBluetooth project to bring support for many bluetooth operations to the browser, at least in Google Chrome implementations on Android 6+, Mac or ChromeOS.
Scanning for beacons is not yet possible as of this writing. The API requires that the OS scan for devices matching a requested criteria, and then let the user choose a device to connect to using a user interface. This essentially rules out beacon detection.
Bluetooth scanning APIs are still in draft form here.
EDIT: The APIs mentioned by #zurfyx in the answer below allow you to scan for and connect to an advertised GATT service, but do not allow you to read the data in the advertisement. This is a critical distinction, as reading the data in the advertisement is the key capability required for actual bluetooth beacon detection. That capability is missing from that API. Without that capability, it is impossible to detect a beacon, it is only possible to connect to a BLE device that might be an Eddystone or other service advertisement-based beacon.
UPDATE July 2020: Safari will not be getting any WebBluetooth APIs at all due to privacy concerns, according to a June 2020 announcement by Apple This makes Bluetooth scanning impossible on iOS we apps for the foreseeable future.
As of July 2020, Chrome does not support scanning arbitrary advertisements. See status here: https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md
Disclaimer: I wrote eddystone-web-bluetooth (a library which makes it easy to read and write to an Eddystone device). github#eddystone-web-bluetooth npm#eddystone-web-bluetooth
It is possible to scan for Bluetooth devices by using the Web Bluetooth API (currently supported only by Chrome).
By using Bluetooth GATT service, you can connect to Eddystone devices and send/receive data by communicating following their public specifications (which are basically a list of request codes, and the format in which to send and expect their responses).
These services include information such as:
URL
Advertising interval
Lock state
and more
By using the Bluetooth standard information you can get to know the most generic device information, such as its id and name:
navigator.bluetooth.requestDevice
#beaufortfrancois wrote the probably first Eddystone Web Bluetooth configuration code (source code / demo), so it is probably worth a read if you want to dig more into this. I learned a lot from it.

Reading Stick'n'Find BLE beacons

I am using a generic BLE plugin for PhoneGap when developing a BLE enabled application. It gives me beacons identification and RSSI, but reading more advanced attributes like battery status or TX power require specific communication with a beacon, which is manufacture dependant as far as I know. Does anybody of you know, how to read for example the battery status from Stick'n'Find BLE beacons. So far I have been able to discover, that it's necessary to connect to the beacon and after it a characteristic has to be read. But here, I am lost.
Marek
You must use a manufacturer SDK to do this. One user reported:
I reached out to the manufacture and they have an SDK (and sample app), you have to sign up for a free account to get access: https://bluvision.com/developer/beeks-beacons-sdk/ http://bluvision.com/developer/wp-content/uploads/sites/2/2014/09/Android-SDK.zip
See here: https://stackoverflow.com/a/26424648/1461050

Does Avaya have an API for retrieving the audio stream of a VoIP call?

I have been up and down the documentation and all over the web looking for an answer to this question but have not had any luck. I have a project where I am looking to retrieve the live audio stream from an Avaya telephone call and then transcribe the call as its happening.
Does Avaya support this functionality?
You may use DMCC (which has bindings to different languages and also a language-agnostic XML interface), which implements CSTA ECMA-269 industrial standard. It has several methods to start an API session (StartApplicationSession), subscribe to events (MonitorStart) and assume first-party control over a device (RegisterTerminal). If a device is registered by an application in client-media mode, you may directly access the RTP media stream coming into and going out from the phone. RTP address, port and codec are contained in MediaStartEvent responses which you can receive via DMCC once you've set the event subscription properly. There's also a distinctive RecordMessage method that writes the audio stream from a device to a file (which you may process later).
Registering a device will likely consume a «DMCC license» (one for each registered device). If you use third-party call control methods (such as MakeCall or AnswerCall), a «Basic TSAPI license» will also be consumed for every controlled device. I've discovered out that a «Basic TSAPI» license is consumed as soon as you issue a MonitorStart request to subscribe to events. You may want to consult your vendor about how to obtain the appropriate amount of licenses for your AES. I personally found Avaya licenses rather complicated in terms of understanding what license set exactly your application may need. There's my thread on Avaya's DevConnect resource which may shed some light here.
Playing with your Avaya AES installation using the DMCC Dashboard is a good way to familiarize yourself with DMCC API.

how to make iOS7 App for publish passbook, use ibeacon ( like MLB )

I would like to make iOS7 Application like MLB
I was reading Article is http://www.engadget.com/2013/09/27/mlb-to-use-ios-7s-ibeacon/
this article said to :
MLB application installed ,
Beacon(Bluetooth LE device) sendging Proximity UUID for MLB application,
MLB application make Passbook ticket or update ticket (and Lock screen update passbook)
This feature, Can only have one special applications for Apple authentication?
some articles said to :
Location based marketing and Passbook tickets
This particular application makes iBeacons an extension of the geofencing Apple enabled in last year’s Passbook, which lets an installed pass, ticket or loyalty card popup on the lock screen when you cross the geofence threshold of a defined GPS location. Using BLE, a merchant or other provider can define more targeted “micro-locations” to trigger an alert, in some cases requiring that you be in the presence of an iBeacon in order to validate a Passbook entry .
i don't understand 'particular application'...
iOS7 application can make publish passbook use iBeacon without user event?
(i don't know well english ;; sorry;;)
Bluetooth Beacons support is a new addition to iOS 7.
Rather than using GPS, it works by determining the phone's location relevant to a Bluetooth beacon. These beacons constantly broadcast a UUID that identifies them. Beacons offer more accuracy indoors as GPS doesn't work that well in covered spaces.
The standard CoreLocation framework defines a new class called CLBeaconRegion:
A CLBeaconRegion object defines a type of region that is based on the device’s proximity to a Bluetooth beacon, as opposed to a geographic location. A beacon region looks for devices whose identifying information matches the information you provide. When that device comes in range, the region triggers the delivery of an appropriate notification.
An apps can request to be informed when they are near these beacons. This is how the MLB app works. It is programmed to recognize these beacons and to provide the user with offers and information based on location.
In addition to support within apps, Passkit also provides the support these beacons. It works in roughly the same way. The pkpass file contains a list of UUIDs that identify various beacons and when the phone is near a beacon, the pass is shown on the lock screen.
You can read more about Passkit's support by looking at the package format guide
https://developer.apple.com/library/ios/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/LowerLevel.html#//apple_ref/doc/uid/TP40012026-CH3-SW4
Hopefully that answers your question.

Resources