Hi,
Is there a way to get the ‘time running’ information for a rtsp stream similar to the getTimeRunning() function for HTTPStreams? I see a getDuration() but no getTimeRunning().
Vijay
Hi,
Is there a way to get the ‘time running’ information for a rtsp stream similar to the getTimeRunning() function for HTTPStreams? I see a getDuration() but no getTimeRunning().
Vijay
Thanks for the reply Richard. Unfortunately, that results in a null pointer exception.
ERROR server comment - invoke(onRTPSessionDestroy): java.lang.NullPointerException: com.xxx.wms.module.xxx.onRTPSessionDestroy(xxx.java:1449)
java.lang.NullPointerException
at com.xxx.wms.module.xxx.onRTPSessionDestroy(xxx.java:1449)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.wowza.wms.module.ModuleFunction.invoke(Unknown Source)
at com.wowza.wms.module.ModuleFunctions.invokeSpecial(Unknown Source)
at com.wowza.wms.module.ModuleFunctions.onRTPSessionDestroy(Unknown Source)
at com.wowza.wms.rtp.model.RTPSessions.notifySessionDestroy(Unknown Source)
at com.wowza.wms.rtsp.RTSPRequestAdapter.closeSession(Unknown Source)
at com.wowza.wms.server.ServerHandler.sessionClosed(Unknown Source)
at com.wowza.wms.server.ServerHandlerThreaded.sessionClosed(Unknown Source)
at org.apache.mina.common.support.AbstractIoFilterChain$2.sessionClosed(Unknown Source)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(Unknown Source)
at org.apache.mina.common.support.AbstractIoFilterChain.access$600(Unknown Source)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed(Unknown Source)
at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClosed(Unknown Source)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(Unknown Source)
at org.apache.mina.common.support.AbstractIoFilterChain.access$600(Unknown Source)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed(Unknown Source)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(Unknown Source)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:613)
Tried it with both a Live and VoD RTSP request.
What I’d like to use it for is a custom wowza status page using the HTTPProvider class. What’s interesting is that when I loop through the RTP sessions for a particular instance in the code snippet below, I don’t get a null pointer exception. Instead the duration is returned as ‘com.wowza.util.ElapsedTimer@a07a6f’:
if (appInstance.getRTPSessionCount() > 0)
{
List<RTPSession> rtpSessions;
rtpSessions = appInstance.getRTPSessions();
Iterator<RTPSession> rtpSessionIterator = rtpSessions.iterator();
while (rtpSessionIterator.hasNext())
{
RTPSession currSession = (RTPSession)rtpSessionIterator.next();
...
...
body.append( " <tr>");
body.append( " <td align=\"left\" valign=\"middle\">Connection Duration</td>");
body.append( " <td align=\"left\" valign=\"middle\">"+currSession.getRTSPStream().getStream().getElapsedTime()+"</td>");
body.append( " </tr>");
}
}
I was glad to see the new support for rtsp. I opened a new Wowza EC2 instance and tried to view Extremists.m4v in Quicktime using the link provided in an earlier post. After a few seconds I could hear audio but no video. I only saw the Quicktime symbol with the animated dotted line underneath. This went on for at least 30min. Finally, I tried to view the file on Longtail Video’s setup wizard and it showed up beautifully.
I did manage to change the Application.xml file as was suggested earlier, but authentication was the least of my worries.
I’ll keep looking foward to the new opportunities that abound from this kind of server. Thanks for all your support
Extremists.m4v file worked fine with Quicktime v7.6.6 player from Wowza EC2 instance using rtsp protocol. I had to adjust the Quicktime v7.6.6 preference settings to Safe mode in the Advanced tab. Thanks Charlie.
Very nice work guys. The example is working great indeed with QTplayer.
What are the requirements for the files I want to play?
H264 encoded i think, but some files give a ‘moov atom is missing’ error or something like that.
Only mp4/m4v/f4v supported atm?
Anyway thanks a lot Wowza team!
Non H264 encoded files only play audio it seems, using both VLC and QTplayer.
Hi everyone,
With this new patch it’s possible to play a vod located/stored in another rtsp server, using wowza like a “proxy”?
Something like this:
RTSP Server -> WOWZA -> RTSP CLIENT
Thank you.
Miguel
Hi,
I have been trying since long, for playing RTSP with WOWZA on Sony Ericsson. But it doesnot happen. Where as I tried playing RTSP with Darwin on Sony Ericsson it plays perfectly fine.
I even tried this new VoD RTSP with WOWZA. this too resulted with the same negative response.
This RTSP VoD plays fine with Nokia, Android and other devices.
Anything concerns on this WOWZA guys.
Hi,
I have used SE ELM (J10i), W995i, W705i and T650i model.
And all these SE models support H264/AAC codec.
But, none of these devices are able to any RTSP stream (both live and VoD) from WOWZA. But plays good with Darwin.
I even tried the Sample VoD link inside the HTML (rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov), it doesnt play.
If you are not able to play the sample either, you might have a configuration problem. Make sure Application.xml /RTP /Authentication /PlayMethod is set to “none”
Richard
Richard,
I have the configuration accordingly, whatever u specified above. With this configuration, I am able to able rtsp on Nokia and Samsung devices. Its only Sony Ericsson devices that are not able to play the rtsp stream from WOWZA. Even the new VOD RTSP that u published on your server, also not played on Sony Ericsson devices. eek:
https://www.wowza.com/mobile.html
seems to not work on my G1 (rooted, latest CyanoGen mod 5.07, Firmware version 2.1-update1, kernel version 2.6.33.3, build number EPE54B).
it just gives “Sorry, this video cannot be played.” message
I have tested it with exactly the same configuration (G1, CM5.0.7) and it works well. Try this:
Put the html page somewhere on the web and open int with your Android browser
Click on the link and select “Movies” from the list of available players
Question for Wowza team: How did you encode the video file that it plays so well on Android? I would like to create a live video stream for Android devices using the VLC but so far without any success. Do you have some magic command for VLC which creates Android-compatible stream? Live stream on iPhone (https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts) works well but not for Android. If I use this setting on Android, the stream stops after few seconds and I must restart the phone to get sound working again. Please help.
Does http://community.wowza.com/t/-/96 is corrupted ?
No sorry works fine
Hangs for me on OS X as well. On a Blackberry 8900 video playback is fine, but audio seems garbled.
Hello! Can Wowza launch the programm (function) which removes file with that name in the desired directory, if the file name in video on demand is incorrect. Thank you!
You can use Java file.io API in a Wowza module to delete a file.
Richard
Can I use Java file.io API in a Wowza module to move a file?
Hi,
VLC play the mp3 files with no problems.
The problem is when am trying to play the mp3 files with cell phones.
Thanks,
Gal
Hi,
The link I am using is:
rtsp://82.80.218.166:1935/vod/mp3:1.mp3
The cell phone that I tried:
Nokia 5800 - symbian s60 v.5
Nokia E71
Thanks,
Gal
Hi,
Yes - I can play this link with the Nokia 5800 - symbian s60 v.5.
But I acn not play my mp3 link - that I am playing with the VLC.
Did you try to play my link with your client ?
Thanks,
Gal
Hi,
I am using 2 streaming servers:
Wowza with the latest patch.
Darwin streaming server (DSS).
I have an aac 3gp file -betser1.3gp encoded and hinted by Helix encoder
I have nokia 5800 cellphone with real player as the rtsp player:
The DSS was working fine - can stream the 3gp aac file to my cellphone.
The link:
rtsp://199.203.56.100/server12/betser1.3gp
The Wowza streaming server failed to stream the aac 3gp file.
rtsp://199.203.56.100/server12/betser1.3gp
Can you tell me what is the problem with my Wowza streaming server.
Do I need a special encoding or hinting ?
Thanks,
Gal Betser
CastUp Israel
Hello,
I want to stream RTP/UDP for VoD applications. I followed the steps for creating Application.xml file and I upgraded to the last patch available. I also added the IP address of my Wowza server in the following three lines:
192.168.200.3 192.168.200.3
192.168.200.3
The server is not behind NAT, but it still streams RTP/TCP.
Any suggestions?
Thank you!