Go Back   Android Forums > Android Community > Introductions
Introductions Meet the team, and tell us a little about yourself... This introductions section is NOT for support questions!
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old November 2nd, 2012, 01:38 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default How to connect IP Camera in android Application?

Hi all,
I'm new for android application development.I have a one problem in my application.I'm using Eclipse Indigo SDK and android 4.0 for Developing application.I have connecting IP Camera through rtsp protocol in my application.Here i attached my code

private VideoView video;
private MediaController ctlr;
video=(VideoView)findViewById(R.id.video); video.setVideoURI(Uri.parse("rtsp://admin:12345@192.168.1.133:80/h264/ch1/main/av_stream.mp4"));
ctlr=new MediaController(this);
ctlr.setMediaPlayer(video);
video.setMediaController(ctlr);
video.requestFocus();
video.start();

This is my application code. This rtsp protocol working fine when i'm connecting with VLC player,but this is did not working in my application. Please any one clarify my problems.

Thanks & regards,

Sankar K

sankarmca87 is offline  
Reply With Quote
Sponsors
Old November 2nd, 2012, 06:37 AM   #2 (permalink)
~30% Carbon Black ±
 
Mikestony's Avatar
 
Join Date: Sep 2010
Location: N/W Indiana
Gender: Male
Posts: 10,063
 
Device(s): Samsung Galaxy S3 4G Rooted, HTC Evo 4g --Rooted (retired..fantastic phone)
Carrier: Verizon

Thanks: 6,994
Thanked 5,700 Times in 3,798 Posts
mikestonytire@gmail.com
Default

Hello there sankarmca87 and welcome to AF!!
Sorry but that is all unfamiliar to me but perhaps this link may help you out:
Application Development - Android Forums

I think more folks like yourself will be more helpful than I would about that
But we thank you for joining us here
__________________




Click "Show" for my signature
Android Forums FAQ's
Mikestony is online now  
Reply With Quote
Old November 2nd, 2012, 07:03 AM   #3 (permalink)
♡ Spidey Sense !! ♡ ™
 
DonB's Avatar
 
Join Date: Nov 2009
Location: 18th Hole Of the Golf Course
Gender: Male
Posts: 15,823
 
Device(s): Samsung Galaxy Note II Whompasaurus Rom V4.2
Carrier: SPRINT

Thanks: 3,733
Thanked 4,469 Times in 2,818 Posts
Default

What make and model device do you have. ?

DonB is online now  
Reply With Quote
Old November 2nd, 2012, 04:24 PM   #4 (permalink)
{9-18-31-62}
 
Rush's Avatar
 
Join Date: Jan 2011
Location: New York, NY
Gender: Male
Posts: 17,114
 
Device(s): Htc Evo 4G Lte
Carrier: Sprint

Thanks: 2,109
Thanked 2,594 Times in 1,975 Posts
Default

Welcome to the community.
__________________
Rush is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Community > Introductions
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:15 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.