• Skip to Search
  • Skip to Content
  • Skip to Side Navigation
Getting StartedSDK ReferenceGlossary
  • Home
  • Getting Started
  • SDK Reference
  • Portal
  • How-To
  • Troubleshooting
  • FAQs
  • Reference
  • Glossary
How-To Guides
  • API Usage
  • Artificially lower bandwidth or bitrate
  • Set up publishing or subscribing for only audio or only video
  • Set up High Availability
  • Optimal RTMP encoder settings
  • How do I find my stream key?
  • Preventing stream sharing
  • Debug tokens in the Portal
  • Display multiple copies of the same stream
  • Find the video dimension of the stream
  • Measure timing
  • Create test input
  • Verify encoder ability to contribute via UDP
  • Manage issues with installing Phenix SDKs
  • RTSP ingest from IP cameras
  • Work with timestamps in reports
  • How do I deal with corporate firewalls?
  • How do I record streams for VOD playback?
  • How do I set up ad insertion?
  • How do closed captions work in the Phenix system?
  • How do I set up and use SRT Ingest?
  • How do I set up and use RTMP Ingest?
  • How do I set up and use replay?

RTSP ingest from IP Cameras

Phenix supports Real Time Streaming Protocol (RTSP) ingest from sources such as IP cameras. In general, this is done with the WebSDK via the publish streamUri option. There is a slight latency penalty due to repackaging from RTSP input to WebRTC delivery.

When setting up RTSP ingest, consider the following questions regarding your RTSP video source:

  • Network Considerations:

    • Is it on a public network?

    • Does it have a public IP or is it behind a NAT?

    • Are you able to configure the firewall?

  • How many cameras are you looking to contribute at once?

  • Does the camera publish RTSP or is it a streaming server for RTSP? (push or pull?) Can you specify the particular camera in question?

If the camera has a built-in streaming server, it's a pull scenario, which requires remote access from the Internet. UPnP or Port Forwarding are both options but require cooperation of the network administrator. If port forwarding can be configured to allow RTSP access to the camera (TCP/UDP port 554), Phenix can usually ingest the stream from the cloud.

If access to port forwarding isn't possible, then ingest has to be performed via another connection, e.g., connect the camera to a laptop and contribute the stream via the local browser on the laptop. If many cameras are required, a machine that can support multiple cameras would be used instead of a laptop.

If the gateway will not allow access to a port, an on-network box could pull the RTSP and publish it to Phenix via RTMP. This would use something like:

ffmpeg -i "[your rtsp link]" -f flv -r -s -an "[Your rtmp link]"

Page Content
    Copyright 2023 © Phenix RTS
    Privacy Policy | Terms of Service
    v2023-01-31T21:25:10