How can I connect to an RTSP h.264 stream on iPhone using objective-c library -
i realize official supported streaming protocol iphone http streaming . great, many appliances implement rtsp protocol stream video. have looked around quite time looking rtsp libraries in objective c , have not found them. know of such libaries?
if not, know of demo/code examples people have tried work. since apple supports h264 in hardware, i'm assuming possible low level, implement stream, construct video packet , pass along if have streamed using http streaming. advice on how might done appreciated.
check out live555. handle rtsp handshaking , deliver data (in case, h264) application further processing/decoding. c/c++ library, , hence can run on ios.
your options integration cocoa app are:
1) run live555 on own thread using event loop mechanism given part of library (note operations directly related live555 need run on thread live555 not designed thread-safe).
2) provide cocoa implementation of "taskscheduler", in use cocoa library async network callbacks, timers etc.
the above points make more sense after reviewing live555 doco.
Comments
Post a Comment