I need to have my application play a live video stream that has been published using rtmp in one Red5 application, but, I need to play it by using another installed Red5 app that is configured to use the RTMPTServlet (i.e. /live example servlet).
Is it possible to publish a live video stream through rtmp and then play the stream (knowing the the stream name) through another Red5 (i.e. /live) application?
Thanks!
Not sure that I fully understand what you mean, but I'll take a crack at it. It seems that you are publishing to lets say "/app1" and you'd like to view the stream on "/live". This is not easily done as you would need to write some code to proxy the stream from app1 to live. If you simply want to use RTMPT to view your broadcasted stream, then publish to the live app. You will however need to configure the RTMPT servlet in the live application prior to starting the server. Add these entries to the webapps/live/WEB-INF/web.xml file and then start the server.
<servlet>
<servlet-name>rtmpt</servlet-name>
<servlet-class>org.red5.server.net.rtmpt.RTMPTServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/fcs/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/open/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/close/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/send/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>rtmpt</servlet-name>
<url-pattern>/idle/*</url-pattern>
</servlet-mapping>
If you are using the default http port setting in conf/red5.properties, your stream will be available at rtmpt://youriporhost:5080/live
Old blog post about RTMPT here: http://gregoire.org/2009/01/28/rtmpt-and-red5/
Related
I need to publish my RTMP stream to Vimeo and Twitch via RTMP. I don't see these options on AMS Dashboard settings tab / Social Streaming section. So, how can I push my stream to RTMP Endpoints with Ant Media Server?
You can add RTMP Endpoint with Edit RTMP Endpoint in Actions tab as a picture.
After the click Edit RTMP Endpoint, you can add Vimeo and Twitch RTMP Endpoint easily.
Note: You can add any RTMP Endpoints here.
I have generated a HLS adaptive streaming playlist with 3 different quality of videos using AWS elastic transcoder, which is configured to stream over cloudfront.
How do I test if this playlist is properly adapting based on the internet speed and other parameters?
regards
Abhishek
If you have access to Apple's HTTP Live Streaming tools, you can validate your HLS video streams by using the mediastreamvalidator tool.
Alternatively, you could try using a web proxy that allows bandwidth throttling, such as Charles or Fiddler. Try altering the bandwidth setting then check if the player fetches a different playlist that corresponds to the (simulated) bandwidth available.
Can we access the api of ibm worklight on each page of multipage hybrid application..Just like we can access cordova apis in phonegap by referencing it on each page..is there any thing of that sort in ibm worklight for worklight json storage api access on each page? is there any workaround by which i would be able to access the json storage on each page
IBM Mulitpage applications are all processed in One Page HTML via,
Any Framworks like JqueryMobile,
Or via Loading the content into the index.html Page via .load() like Api's.
So you will be able to access all the Worklight and also Cordova API's in your App, since in both the ways we use single HTML page.
Information Regarding Multipage Applications
Is it possible to access YouTube live stream content (video/audio) in Javascript and Web Audio API e.g. for real-time mixing of the audio content?
Is the payload HTML5 compatible or is it Flash only?
... or is access to these streams limited via CORS or licensing clauses?
In my case, live streams would be created in Google Hangout http://www.google.com/+/learnmore/hangouts/onair.html
You can only access the content for HTML5 streams, and of course I'd expect this would not be available in the future for encrypted streams. Hangouts use a plugin right now, so you can't do this.
I need to create an ASP.NET application to access a URL, when this application is live it is able to access the feed URL correctly as the clientaccesspolicy.xml and crossdomain.xml are on the server but only allow non-localhost connections so the debug version won't connect.
How do I create a file, so this kind of link:
http://localhost/feed.aspx?item=ItemName
Can be used to pass-through to the RSS feed service live URL like:
http://www.example.com/feed.aspx?item=ItemName
So that I can develop my application via localhost as I can add a clientaccesspolicy and crossdomain file to this application so my Silverlight Application can access the live RSS service, while being developed without having to deploy it online every time I need to see what the application will look like.
A dummy RSS file is not suitable as I need to see various "Items" from the Feed.
Your page, feed.aspx, must read the RSS feed you want Silverlight to display and display it.
Use an HttpWebRequest in your .aspx page codebehind to get the RSS feed data
Post the feed data out to the outgoing stream via Response.Write
Thus the page acts as a proxy. Your Silverlight app will read the data from your local page as if it was a regular RSS feed.