You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting stream with URL: rtsp://192.168.0.15:8554/app/stream
waiting for sps and pps
2025-01-07 00:10:49.139792+0300 faceblurcamera[12764:837496] [connection] nw_socket_handle_socket_event [C1:1] Socket SO_ERROR [61: Connection refused]
OPTIONS rtsp://192.168.0.15:8554app/stream RTSP/1.0
CSeq: 0
connection failed: The operation couldn't be completed. (RootEncoder.IOException error 0.)
TEARDOWN rtsp://192.168.0.15:8554app/stream RTSP/1.0
CSeq: 1
As you can see, the "/" before app has somehow disappeared. I don't quite understand why it does this
targetting ios 15, iphone 14 pro but i think with 6s you can reproduce
private func initializeCamera(metalView: MetalView) {
// Initialize camera with the metal view and connect checker
camera = RtspCamera(view: metalView, connectChecker: self)
// Set video codec before preparing video
camera?.setVideoCodec(codec: .H264)
// Configure video settings
let width = 640 // Lower resolution for testing
let height = 480
let fps = 30
let bitrate = 128 * 1000
if camera?.prepareVideo(width: width, height: height, fps: fps, bitrate: bitrate) == true {
camera?.startPreview()
videoConfigReady = true
} else {
error = "Failed to initialize camera"
}
isInitializing = false
The text was updated successfully, but these errors were encountered:
I thought using only rootEncoder was enough to stream rtsp, so I was entering localhost or the device's own IP address. In addition, it was necessary to start the rtsp stream server. I understand correctly that the IP and port requested from us in the rootencoder belong to the rtsp server, right?
In rtsp cases
Starting stream with URL: rtsp://192.168.0.15:8554/app/stream
waiting for sps and pps
2025-01-07 00:10:49.139792+0300 faceblurcamera[12764:837496] [connection] nw_socket_handle_socket_event [C1:1] Socket SO_ERROR [61: Connection refused]
OPTIONS rtsp://192.168.0.15:8554app/stream RTSP/1.0
CSeq: 0
connection failed: The operation couldn't be completed. (RootEncoder.IOException error 0.)
TEARDOWN rtsp://192.168.0.15:8554app/stream RTSP/1.0
CSeq: 1
As you can see, the "/" before app has somehow disappeared. I don't quite understand why it does this
targetting ios 15, iphone 14 pro but i think with 6s you can reproduce
The text was updated successfully, but these errors were encountered: