How I can stream video Unicast using UPD protocol and received in VLC media player?

I created an application capable of reading the camera flir one . Now I wanted to send these images to your computer (no need to send multicast , or htttp ) . Exploring this idea I saw that it would be possible using the UDP protocol and receive images through the VLC media player. How can I send pictures with some SDK? for example VideoStream SDK? thank you

import "ViewController.h"

@interface ViewController ()

@property (weak, nonatomic) IBOutlet UIImageView *thermalImageView; @property (strong, nonatomic) UIImage *thermalImage;

@end

@implementation ViewController

  • (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.

    [[FLIROneSDKStreamManager sharedInstance] addDelegate:self];

    [[FLIROneSDKStreamManager sharedInstance] setImageOptions: FLIROneSDKImageOptionsBlendedMSXRGBA8888Image]; }

  • (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. }
  • (void)FLIROneSDKDelegateManager: (FLIROneSDKDelegateManager *)delegateManager didReceiveBlendedMSXRGBA8888Image: (NSData *)msxImage imageSize: (CGSize)size {

    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ self.thermalImage = [FLIROneSDKUIImage imageWithFormat: FLIROneSDKImageOptionsBlendedMSXRGBA8888Image andData: msxImage andSize: size]; dispatch_async(dispatch_get_main_queue(), ^{ [self.thermalImageView setImage:self.thermalImage]; }); }); } @end

Replay

Category: ios Time: 2016-07-29 Views: 8

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.247 (s). 12 q(s)