Post

Replies

Boosts

Views

Created

bug with RTSP video Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
Hello, I have a problem with my iOS application which displays video streaming via MobileVlcKit. this function has been available on my application for many months but, for a few days, I can't see the video stream in my application ! when I use the xCode simulator, the video stream is displayed correctly. but, when i launch a local version or a version in testflight i get a black screen without my video stream flux ! when I run a local version via the USB cord, I see this message **** in the debugging console : "Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0" can someone please help me?
2
0
2.2k
May ’21
iOS 14.5 issues with UDP broadcast
HI My app use the UDP for Streaming Video from an action cam device. After installing the new version 14.5, it's impossible to viewing the video into our APP. we get this message "Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0" and when we saw the Network Report, we can see that we received Bytes on the UDP but the local address and remote address are stil at 0.0.0.0 Any ideas what's happen please ? best regards
5
0
1.9k
May ’21
How to save video in user album ?
hey, severals hours for searching a solution without success... i want to save a URL video into a specific User Album and unfortunatly nothing happen ! if I define only the new name of the video (without the urlpath), I can find the video in the recent album ! anybody have an idea what 's happen ? please see below example of my code        let galleryPath = self.getDirectoryPath() print ("######### value of galleryPath  : (String(describing: galleryPath))")                 let filePath = galleryPath + "/nameX.mov"                 print ("######### value of filePath  : (String(describing: filePath))")               DispatchQueue.main.async {                 urlData.write(toFile: filePath, atomically: true)                    PHPhotoLibrary.shared().performChanges({                    PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL:                    URL(fileURLWithPath: filePath))                 }) {                    success, error in                    if success {                       print("Succesfully Saved")                    } else {                       print(error?.localizedDescription)                    }                 }              } Many thanks for your help ! JM
0
0
835
Nov ’22
how to save video into an User Album with PHPhotoLibrary, PHAsset
Hello, I want to save the video file into a specific USER Album named "Cambox Album". Actually only works into the default Album in recent assets with the true new name nameX.mov. Below the code for define the PathDirectory : func getDirectoryPath() -> String {         let nsDocumentDirectory = FileManager.SearchPathDirectory.documentDirectory         let paths = NSSearchPathForDirectoriesInDomains(nsDocumentDirectory, .userDomainMask, true)         let documentsDirectory = paths[0]         return documentsDirectory     }     with this code below, the video is automatically saved in the default user album. func downloadVideo(urlVideo : URL! ) {         DispatchQueue.global(qos: .background).async {             if let url = urlVideo, let urlData = NSData(contentsOf: url) {                 let galleryPath = self.getDirectoryPath()                 let filePath = galleryPath + "/nameX.mov"               DispatchQueue.main.async {                 urlData.write(toFile: filePath, atomically: true)                    PHPhotoLibrary.shared().performChanges({                    PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL:                    URL(fileURLWithPath: filePath))                 }) {success, error in                  if success {                        let alertController = UIAlertController(title: "Your video was successfully saved", message: nil, preferredStyle: .alert)                        let defaultAction = UIAlertAction(title: "OK", style: .default, handler: nil ) alertController.addAction(defaultAction)                        self.present(alertController, animated: true, completion: nil)                    } else {                        let alertController = UIAlertController(title: error?.localizedDescription, message: nil, preferredStyle: .alert)                       let defaultAction = UIAlertAction(title: "ERROR !", style: .default, handler: nil)                        alertController.addAction(defaultAction)                        self.present(alertController, animated: true, completion: nil)                    }                 }              }           }        }     } if I replace the line with the name of the album by : let filePath = galleryPath + "/Cambox Album/nameX.mov" nothing happened, I can't see the video anywhere ! is there anybody who can help me to resolve this issue please ? Regards
0
0
1.2k
Nov ’22
bug with RTSP video Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
Hello, I have a problem with my iOS application which displays video streaming via MobileVlcKit. this function has been available on my application for many months but, for a few days, I can't see the video stream in my application ! when I use the xCode simulator, the video stream is displayed correctly. but, when i launch a local version or a version in testflight i get a black screen without my video stream flux ! when I run a local version via the USB cord, I see this message **** in the debugging console : "Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0" can someone please help me?
Replies
2
Boosts
0
Views
2.2k
Activity
May ’21
iOS 14.5 issues with UDP broadcast
HI My app use the UDP for Streaming Video from an action cam device. After installing the new version 14.5, it's impossible to viewing the video into our APP. we get this message "Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0" and when we saw the Network Report, we can see that we received Bytes on the UDP but the local address and remote address are stil at 0.0.0.0 Any ideas what's happen please ? best regards
Replies
5
Boosts
0
Views
1.9k
Activity
May ’21
How to save video in user album ?
hey, severals hours for searching a solution without success... i want to save a URL video into a specific User Album and unfortunatly nothing happen ! if I define only the new name of the video (without the urlpath), I can find the video in the recent album ! anybody have an idea what 's happen ? please see below example of my code        let galleryPath = self.getDirectoryPath() print ("######### value of galleryPath  : (String(describing: galleryPath))")                 let filePath = galleryPath + "/nameX.mov"                 print ("######### value of filePath  : (String(describing: filePath))")               DispatchQueue.main.async {                 urlData.write(toFile: filePath, atomically: true)                    PHPhotoLibrary.shared().performChanges({                    PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL:                    URL(fileURLWithPath: filePath))                 }) {                    success, error in                    if success {                       print("Succesfully Saved")                    } else {                       print(error?.localizedDescription)                    }                 }              } Many thanks for your help ! JM
Replies
0
Boosts
0
Views
835
Activity
Nov ’22
how to save video into an User Album with PHPhotoLibrary, PHAsset
Hello, I want to save the video file into a specific USER Album named "Cambox Album". Actually only works into the default Album in recent assets with the true new name nameX.mov. Below the code for define the PathDirectory : func getDirectoryPath() -> String {         let nsDocumentDirectory = FileManager.SearchPathDirectory.documentDirectory         let paths = NSSearchPathForDirectoriesInDomains(nsDocumentDirectory, .userDomainMask, true)         let documentsDirectory = paths[0]         return documentsDirectory     }     with this code below, the video is automatically saved in the default user album. func downloadVideo(urlVideo : URL! ) {         DispatchQueue.global(qos: .background).async {             if let url = urlVideo, let urlData = NSData(contentsOf: url) {                 let galleryPath = self.getDirectoryPath()                 let filePath = galleryPath + "/nameX.mov"               DispatchQueue.main.async {                 urlData.write(toFile: filePath, atomically: true)                    PHPhotoLibrary.shared().performChanges({                    PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL:                    URL(fileURLWithPath: filePath))                 }) {success, error in                  if success {                        let alertController = UIAlertController(title: "Your video was successfully saved", message: nil, preferredStyle: .alert)                        let defaultAction = UIAlertAction(title: "OK", style: .default, handler: nil ) alertController.addAction(defaultAction)                        self.present(alertController, animated: true, completion: nil)                    } else {                        let alertController = UIAlertController(title: error?.localizedDescription, message: nil, preferredStyle: .alert)                       let defaultAction = UIAlertAction(title: "ERROR !", style: .default, handler: nil)                        alertController.addAction(defaultAction)                        self.present(alertController, animated: true, completion: nil)                    }                 }              }           }        }     } if I replace the line with the name of the album by : let filePath = galleryPath + "/Cambox Album/nameX.mov" nothing happened, I can't see the video anywhere ! is there anybody who can help me to resolve this issue please ? Regards
Replies
0
Boosts
0
Views
1.2k
Activity
Nov ’22