rtsp

rtsp:// liveStream with AVPlayer

与世无争的帅哥 提交于 2021-01-27 10:31:13
问题 I want to play liveStream on iPhoneDevice with AVPlayer. Also i want to get CVPixelBufferRef from this stream for next usage. I use Apple guide for creating player. Currently with locally stored videoFiles this player works just fine, also when i try to play this AppleSampleStremURL - http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8 - its work sine too. Problems appear when i want to play stream with rtsp:// like this one: rtsp://192.192.168.1:8227/TTLS/Streaming/channels/2

Does gstreamer gst-rtsp-server accept udpsrc (RTP)?

馋奶兔 提交于 2021-01-07 06:31:24
问题 I want to input an RTP stream into a gstreamer gst-rtsp-server. For initial tests I use the test-launch.c example from github (version 1.14). When I compile it and use it, it works well with the default example it works as expected and I can see a stream (for example using vlc player) at rtsp://127.0.0.1:8554/test: ./test-launch "( videotestsrc ! x264enc ! rtph264pay name=pay0 pt=96 )" But if I provide an RTP udp stream using gst-launch-1.0 videotestsrc ! video/x-raw,width=1280,height=720 !

Open CV RTSP camera buffer lag

核能气质少年 提交于 2021-01-02 02:50:27
问题 I'm struggling to understand why I cant get a "LIVE" feed from my IP camera. It appears that there is a buffer and it causes the frames to build up if not being read - and as each iteration of my code takes some time there is a backlog and it ends up being almost slow mo to whats actually happening. I found the below code which triggers a thread to do the reading of the camera on a loop to try and avoid this. But now i'm getting a "LIVE" feed for around 5 frames and then it stalls and shows

Is it possible to do a simple health check of RTSP stream with curl tool?

烈酒焚心 提交于 2020-12-30 09:02:00
问题 I'm trying to do a simple health check of RTSP stream with curl tool. But command like this always gives me 404 Stream Not Found error: curl -v --url rtsp://192.168.1.80/h264/ --user admin:1234 * Trying 192.168.1.80... * Connected to 192.168.1.80 (192.168.1.80) port 554 (#0) * Server auth using Basic with user 'admin' > OPTIONS * RTSP/1.0 > CSeq: 1 > User-Agent: curl/7.47.0 > Authorization: Basic YWRtaW46YWRtaW4= > < RTSP/1.0 404 Stream Not Found < CSeq: 1 < Date: Tue, Feb 27 2018 01:14:21

Is it possible to do a simple health check of RTSP stream with curl tool?

假如想象 提交于 2020-12-30 09:00:22
问题 I'm trying to do a simple health check of RTSP stream with curl tool. But command like this always gives me 404 Stream Not Found error: curl -v --url rtsp://192.168.1.80/h264/ --user admin:1234 * Trying 192.168.1.80... * Connected to 192.168.1.80 (192.168.1.80) port 554 (#0) * Server auth using Basic with user 'admin' > OPTIONS * RTSP/1.0 > CSeq: 1 > User-Agent: curl/7.47.0 > Authorization: Basic YWRtaW46YWRtaW4= > < RTSP/1.0 404 Stream Not Found < CSeq: 1 < Date: Tue, Feb 27 2018 01:14:21

live555学习笔记-RTSP服务运作

℡╲_俬逩灬. 提交于 2020-12-23 19:04:29
RTSP服务运作 基础基本搞明白了,那么RTSP,RTP等这些协议又是如何利用这些基础机制运作的呢? 首先来看RTSP. RTSP首先需建立TCP侦听socket。可见于此函数: [cpp] view plain copy DynamicRTSPServer* DynamicRTSPServer::createNew(UsageEnvironment& env, Port ourPort, UserAuthenticationDatabase* authDatabase, unsigned reclamationTestSeconds) { int ourSocket = setUpOurSocket(env, ourPort); //建立TCP socket if (ourSocket == -1) return NULL; return new DynamicRTSPServer(env, ourSocket, ourPort, authDatabase, reclamationTestSeconds); } 要帧听客户端的连接,就需要利用任务调度机制了,所以需添加一个socket handler。可见于此函数: [cpp] view plain copy RTSPServer::RTSPServer(UsageEnvironment& env, int ourSocket,