Mobile App - Usage of non-standard HTTP methods
AnsweredSummary
The Nx Witness iOS app uses a non-standard HTTP method PLAY instead of the usual methods like GET or POST for playing a camera stream.
Many reverse proxies, like the one I am using Apache 2.4.62 on a Sophos UTM, cannot process these requests and return an error instead.
Is there any reason to use these non-standard methods? Please reconsider this in order to make your app compliant to the HTTP standard.
Environment
- Nx Witness Version: 6.0.1.39873
- Client OS: iOS 18.1.1 running app version 24.1.39574
- Server OS: Windows Server 2019
- Network Topology: 1 server, 7 cameras
Reproduction Scenario
See summary.
Expected Behavior
The app uses standard HTTP methods that can be processed by a reverse proxy.
Actual Behavior
See summary.
Additional Information
No further information.
-
Hi Felix Rüll,
In our app, we use a combination of HTTPS and TCP for communication, along with RTSP for video streaming. RTSP, as specified in RFC 2326, is a widely recognized standard and commonly used protocol for video streaming.
That said, you can also retrieve the streams using HTTP or HLS for your custom applications. For more details on how to leverage these protocols effectively, please refer to the REST API documentation.
Post is closed for comments.
Comments
1 comment