-
Notifications
You must be signed in to change notification settings - Fork 26
streaming_research
cellistigs edited this page Dec 8, 2020
·
1 revision
-
Streaming API
- Producer: ****Kinesis Video Streams Producer SPK
- Languages: Java, Android, C/C++
- Consumer: Kinesis Video Stream Parser Library
- Language: Java
- But, it's an API, so you don't have to actually write Java
- Possible workaround if you have to actually write Java (on consumer side): wrapper libraries, like JPype
- Producer: ****Kinesis Video Streams Producer SPK
- Stream path:
- Amazon Kinesis Video Streams is an application layer, and can be configured to run on an EC2 instance. In theory it seems like it could be configured to run on the same EC2 instance, so it seems possible to have a direct line from producer to consumer (if AKVS runs on the consumer machine)
- Can also configure consumer on AWS Lambda
-
Consumer configuration:
- Connect to streaming data
- Seems as simple as calling a couple of API endpoints: GetDataEndpoint, and then GetMedia
- Can you configure it with a bash script?
- Yeah, I think so. You're just making REST API calls, it seems like. Probably easier with Python or JS, though
- Connect to streaming data
-
Streaming API: Kafka Producer API
- Language: Java
- This does not appear to be HTTP-based, so I think you'll actually have to write Java?
-
Data flow:
- Kafka Broker (server) in the middle
- Can use many in parallel (?)
- Requires management of clusters (Kinesis does not)