Comments (5)
@ngraziano I have managed to stream metadata from the camera and stream the xml by converting the bytes to string. Thanks alot for the help!
from sharprtsp.
I have no experience with metadata from onvif camera.
If you have an RTSP URI for metadata you can use the RtspClientExample to try to connect to this url and change around line 754 to accept this stream of metadata.
from sharprtsp.
Alright thanks for the answer, however i have hit another stumbling block. I have a Samsung Techwin Camera and the RtspClientExample cant seems to grab the rtsp stream.
2021-09-06 14:12:08.9897|WARN|Rtsp.RtspListener|Unknow Error
2021-09-06 14:12:08.9897|DEBUG|Rtsp.RtspListener|Connection Close
2021-09-06 14:12:28.9637|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:12:28.9637|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:12:28.9637|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:12:28.9667|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 3
2021-09-06 14:12:48.9703|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 4
2021-09-06 14:13:08.9743|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 5
from sharprtsp.
Alright thanks for the answer, however i have hit another stumbling block. I have a Samsung Techwin Camera and the RtspClientExample cant seems to grab the rtsp stream.
2021-09-06 14:12:08.9897|WARN|Rtsp.RtspListener|Unknow Error
2021-09-06 14:12:08.9897|DEBUG|Rtsp.RtspListener|Connection Close
2021-09-06 14:12:28.9637|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:12:28.9637|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:12:28.9637|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:12:28.9667|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 3
2021-09-06 14:12:48.9703|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:12:48.9703|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 4
2021-09-06 14:13:08.9743|DEBUG|Rtsp.RtspListener|Send Message
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Commande : GET_PARAMETER rtsp://192.168.1.100/0/onvif/profile1/media.smp RTSP/1.0
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Header : Session:
2021-09-06 14:13:08.9743|DEBUG|Rtsp.Messages.RtspMessage|Header : CSeq: 5
I have solved this issue due to camera giving MJPEG instead of h264 stream.
But i modified the client a bit and found that there is only 2 streams from the RTSP. It seems that the metadata is embedded in RTP instead of RTSP.
from sharprtsp.
@pork94 I'm also in a situation to get the events. Could you please tell how to get this information and what changes you did in the rtsp cliënt?
from sharprtsp.
Related Issues (20)
- The function AuthenticationBasic make a little mistake. HOT 1
- Bug with library Meziantou.Polyfill HOT 3
- Adding a video display for CameraExample
- Bug In rtp packet extension reading HOT 1
- I am using RTSPClientExample to record H264 videos from stream its working fine for HikVision camera but not in flir camera. When i record stream from flir camera i only see blank screen HOT 2
- Freeze captured HOT 1
- Please check the Channels property of RtpTcpTransport. HOT 1
- How to make a RTSP server to read ffmpeg data and send video to VLC. HOT 2
- SdpFile.ReadLoose Implementation HOT 3
- Keepalives need to reauthenticate for some servers. HOT 1
- Sample RTSPServer doesn't work with VLC interactive authentication HOT 1
- AAC RTP packets with multiple AU units per packet HOT 4
- h265payload question HOT 3
- RtspCameraExample issue when client is Hikvision NVR HOT 6
- Artifacts in H.264 video stream HOT 7
- README File: Spelling Mistakes Correction HOT 2
- repo is behind NuGet package HOT 2
- Update NuGet package please? HOT 2
- netstandard2.1 only? HOT 1
- Rtsp over Http tunneling HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharprtsp.