The resulting stream will be available in path /mystream. Server: Save the configuration and click Start streaming.Latest versions of OBS Studio can publish to the server with the WebRTC / WHIP protocol. Then use the button Start Recording (instead of Start Streaming) to start streaming. Check show all codecs (even if potentically incompatible.File path or URL: rtsp://localhost:8554/mystream.If you want to generate a stream that can be read with WebRTC, open Settings -> Output -> Recording and use the following parameters: Save the configuration and click Start streaming. Stream key: mystream?user=myuser&pass=mypass.If credentials are in use, use the following parameters: In Settings -> Stream (or in the Auto-configuration Wizard), use the following parameters: The recommended one consists in publishing as a RTMP client. OBS Studio can publish to the server in multiple ways (SRT client, RTMP client, WebRTC client). Gst-launch-1.0 filesrc location=file.mp4 ! qtdemux name=d \ĭ.video_0 ! rtspclientsink protocols=tcp name=s location=rtsp://localhost:8554/mystream Standalone binaryĭownload and extract a standalone binary from the release page that corresponds to your operating system and architecture. There are several installation methods available: standalone binary, Docker image, Arch Linux package and OpenWrt binary. Nothing will change regarding license, features and backward compatibility. The reason is pretty obvious: this project started as a RTSP server but has evolved into a much more versatile product that is not tied to the RTSP protocol anymore. Rtsp-simple-server has been rebranded as MediaMTX. Compatible with Linux, Windows and macOS, does not require any dependency or interpreter, it's a single executable.Run hooks (external commands) when clients connect, disconnect, read or publish streams.Reload the configuration without disconnecting existing clients (hot reloading).Query and control the server through the API.Redirect readers to other RTSP servers (load balancing).Authenticate users use internal or external authentication.Serve multiple streams at once in separate paths.Streams are automatically converted from a protocol to another.Opus, MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3), AC-3, G711 (PCMA, PCMU), LPCM Low-Latency HLS, MP4-based HLS, legacy HLSĪnd can be read from the server with: protocolĪV1, VP9, H265, H264, MPEG-4 Video (H263, Xvid), MPEG-1/2 Video, M-JPEG MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3), G711 (PCMA, PCMU), LPCM Opus, MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3), AC-3, G726, G722, G711 (PCMA, PCMU), LPCM and any RTP-compatible codec Opus, MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3), AC-3ĪV1, VP9, VP8, H265, H264, MPEG-4 Video (H263, Xvid), MPEG-1/2 Video, M-JPEG and any RTP-compatible codec Live streams can be published to the server with: protocol It has been conceived as a "media router" that routes media streams from one end to the other. MediaMTX (formerly rtsp-simple-server) is a ready-to-use and zero-dependency real-time media server and media proxy that allows to publish, read, proxy and record video and audio streams.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |