How to pass range header to RTSP playback? #349
-
Hi there, I'm trying to get a playback RTSP stream for my camera, and I saw that in order to specify a start and end time you must pass an RTSP range header like so: However, I can't figure out how to easily pass RTSP headers be it in code (Python) or through a media player like VLC. Is there any way to pass this header to the URL directly or a package/application where I can customize the range header? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
Hi @dzairgus , Please try following options: OpenRTSPYou can use openRTSP library. -U <initial-absolute-seek-time> | request that the server seek to the specified absolute time (format: "YYYYMMDDTHHMMSSZ" or "YYYYMMDDTHHMMSS.<frac>Z") before streaming
-E <absolute-seek-end-time> | request that the server end streaming at the specified absolute time (format: "YYYYMMDDTHHMMSSZ" or "YYYYMMDDTHHMMSS.<frac>Z") (used only with -U<initial-absolute-seek-time> RtspClientSharp (C# RTSP Client for .NET)Check if the example code can be modified to pass the Range. Axis SDKsYou can also check Axis Media SDKs for examples about Edge storage: NOTE: The AXIS Media Parser SDK also includes decoder components and these are provided for development purposes only. It is your own responsibility to obtain any third-party licenses required. Axis does not grant to you, under the SDK license agreement, any necessary patent rights with respect to audio and/or video encoders or decoders. More information is available in the license file for the SDK. Please read it carefully. All the best for your project. |
Beta Was this translation helpful? Give feedback.
Hi @dzairgus ,
Please try following options:
OpenRTSP
You can use openRTSP library.
RtspClientSharp (C# RTSP Client for .NET)
RtspClientSharp
Check if the example code can be modified to pass the Range.
Axis SDKs
You can also check Axis Media SDKs for examples about Edge storage:
AXIS Media Control SDK
AXIS Media Parser SDK