Cannot connect oflaDemo stream from another computer in server - red5

I have installed Red5 server in my mac and then take the oflaDemo war file and put it in webapps in Red5 folder and restarted.
Now I opened up Adobe Flash Media Encoder in another system and then put rtmp://myip/oflaDemo in FMS URL and then I click on "start" however its showing the below error which I have taken a screenshot.

Related

How can I upload files to a browser from remote?

I am quite new into the world of remote connections so I don't really know what is possible and what is not.
I have established connection to a remote pc over ssh. I need a large file from this remote to be uploaded to a file-sender internet page. One way is to simply copy the file from remote to my local and subsequently upload from local but I want to speed up this task. I am wondering if there is a (safe) way to 'browse' through files or select files located on remote when selecting files in the upload website?
For illustration, think of selecting an image for Google's search by image and this image is located on my remote computer. After hitting the 'select a file' button, want to be able to pick a file from my remote computer to have it uploaded via this button. My question is not how to upload a file to a remote server.
The remote computer does not have any browser or so installed, it is just a collection of file directories and media disk connections that I can access. (I don't have all the details but this is all I know) That's why using the upload website through an internet browser, for example with a GUI as Ubuntu's Genome, is not an option.
Also, the upload internet page is not a specific url to upload to, so a solution like wget does not work either.
I have tried googling with the question in my title but this leads to me to solutions like Chrome's Secure Shell. I don't completely understand what I can do with it but it feels like that does not allow me to do what I want.
fyi, I work on Windows (using Ubuntu occasionally)
I have found the answer on: http://makerlab.cs.hku.hk/index.php/en/mapping-network-drive-over-ssh-in-windows .
Need to install WinSfp and SSHFS-Win. Then in windows file browser, mount a new network drive with Folder: \sshfs\username#domain . I can now browse the files through the windows file browser and thus can select files for upload

Having trouble using my laptop as a proxy for my smartphone

I want to capture my smartphone network logs on jmeter. This usually requires that my smartphone accesses the internet through my laptop by using it as a proxy and making jmeter listen on the port through which the smart phone is connected. Here are a few references I found on the internet:
http://findnerd.com/list/view/-How-to-Connect-the-Android-Mobile-Device-to-JMETER/4929/
https://dzone.com/articles/how-to-record-mobile-appli-cation-traffic
There are others references but they essentially say the exact same thing. I followed all the steps but my smartphone is unable to access the Internet when I set its proxy to my laptop's IP address . The only difference could be that since the motherboard wifi adaptor had started malfunctioning sometime back, I am using a USB WiFi adaptor on my laptop. I need to know how to make this work and capture my smartphone network logs on my laptop using jmeter. Any help appreciated
UPDATE - Found the issue. I needed to install an SSL certificate on my Android phone. This certificate is generated by jmeter in it's bin folder. I had to send to to my Android device and install it. Now, I can access the internet on my phone through my browser and o am able to see the https traffic being recorded in JMETER. but, when I try to access any apps, it gives me the following error:
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown.
I know it has something to do with the self-signed certificate generated by Jmeter, but I am not sure why it's working for chrome and not for apps. Anybody know any solutions to this?
First of all you need to install JMeter's MITM certificate onto your Android phone, the file is called ApacheJMeterTemporaryRootCA.crt and it's being generated in "bin" folder of your JMeter installation when you start the HTTP(S) Test Script Recorder
If your phone is running Android 7 or higher you will need to take some extra steps in order to be able to capture your application traffic
Add the next line to the application section of your application manifest file:
android:networkSecurityConfig="#xml/network_security_config"
Create network_security_config.xml file under your application resources folder and put the following code inside:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<debug-overrides>
<trust-anchors>
<!-- Trust user added CAs while debuggable only -->
<certificates src="user" />
</trust-anchors>
</debug-overrides>
</network-security-config>
Compile and install your application in debug mode like:
gradlew installDebug
That's it, now you should be able to capture your application traffic using JMeter.
More information: Recording Using Android Devices

Problem of Command Window with LIVE555 testRTSPClient project

I would like to implement how to capture audio from a microphone in IP (network) camera, and in real time stream it so that can listen to it live.
I was downloading and building the LIVE555 library.
I compiled the project with the testRTSPClient.cpp in the directory of the testProgs in live555 (without modifying the code).
The compile succeeds, but the command window opens and then closes immediately. What's the problem?
The testRTSPClient application expect an url argument.
From the documentation
RTSP client
testRTSPClient is a command-line program that shows you
how to open and receive media streams that are specified by a RTSP URL
- i.e., an URL that begins with rtsp://
You should open a console and execute something like :
testRTSPClient rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov

How do I test customized stream playback paths in Red5

I have a Red5 application that I inherited from a previouse developer and I am trying to get it running correctly. I am able to start the Red5 server and stream video files from my /webapps/myapp/streams/ directory. I am able to test this by going to http://localhost:8080/myApps/streams/testVid.mp4 and the video plays normally.
However, I need to be able to stream my videos from any directory in my file explorer. The application already has a Application.java, a CustomFilenameGenerator.java, the needed bean for CustomFilenameGenerator in red5-web.xml and a playbackPath and recordPath in my red5-web.properties file.
From my research it seems like the previous developer that worked on this project was probably able to get the streaming working from a custom path, but I am not sure how to get it running.
Assuming that everything with the application/configurations is correct how do I actually test it, if the files I want to stream are in C:\Users\myUser\Desktop\StreamRecordings?
I have tried going to http://localhost:8080/myApp/StreamRecordings/testVid.mp4 but I get 404 error (probably since StreamRecordings is not in a myApp subdirectory.
Thanks!

vb.net problem with path

I have created a web application in that application i have added two folder. one is admin folder and under admin i have added a upload folder. In upload folder i have three different audio's. And also i have imported DLL for Windows media player. Through this media player im able to play the audios in local host.
By giving Direct path like MediaPlayer1.Filename="C:\User\sam\waka.mp3"
But when i host the website im getting problem the page is getting refreshed but the audio is not getting played.
I have tried this path Server.Mappath(".\.\upload\waka.mp3")
and Server.Mappath("~\admin\upload\waka.mp3)
the above both paths are not working when i host the website please reply.
It's still a bit unclear, but it sounds like there's some kind of audio player in your website (an ActiveX control or something?) that's trying to reference a path on the server as though it were on the client that's loading the page. Naturally, this will work on your development machine because the client and the server are the same thing.
What's actually being rendered on the client side? What happens if you reference the audio file by its URL rather than its file system path?
Or are you trying to do something different than what I describe? Are you actually trying to play the audio on the server when the client accesses the site?