How to publish real time video stream of IP camera to flash media server with flash?

15,399

Solution 1

Axis has a number of IP cameras that directly support RTMP:

http://search.axis.com/search?restrict=&ie=%3DUTF-8&site=All_sites&output=xml_no_dtd&client=axis_com&lr=%3DUTF-8&proxystylesheet=axis_com&oe=%3DUTF-8&q=rtmp&btnG.x=0&btnG.y=0

Wowza can re-transmit an RTSP stream as RTMP. It's not necessary to actually transcode to do this. The same video can be transmitted as either RTSP or RTMP and it's just a matter of different transmission protocols. Software can capture one and retransmit the other without actually transcoding the video.

http://www.wowzamedia.com/forums/showthread.php?t=6470

I was sure FMS supported this too, but I couldn't find any definitive references.

Here's an example where someone connects to an Axis IP camera and rebroadcasts the image to FMS for streaming to Flash (which involves fully decoding and re-encoding):

http://www.geekorgy.com/index.php/2010/06/ip-camera-to-fms-flash-video-howto-osx/

Here's an announcement that the first IP camera with built-in RTMP support exists, although either I'm blind or it fails to mention which camera it's referring to (or perhaps it's just an early beta and thus not mentioned):

http://groups.google.com/group/c-rtmp-server/browse_thread/thread/f5de18f4e8b5ea5f

Solution 2

No.

Flash can only handle .flv video streams, which none of publicly available IP cameras can produce.

Also, you are very limited on manually handling this, as Flash allows external network connections only when target "server" is going to allow flash connections, which your IP camera obviously would not allow.

Share:
15,399
wamp
Author by

wamp

Updated on June 04, 2022

Comments

  • wamp
    wamp almost 2 years

    Does flash provide an api to deal with remote stream like IP camera does?