I decided to start over. Maybe you can point out what I might be doing wrong.
I reinstalled wowza 3.5 clean again.
Source and Pushing Application
I created an application called source following this https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming
I added axis.stream containing the line to content
rtsp://user:pass@192.168.0.139/axis-media/media.amp?streamprofile=quality
I added rosewill.stream containing the line to content
rtsp://192.168.0.161:554/h264/1/media.amp?resolution=vga
I use stream manager to start the streams as RTP, I am able to watch the streams using “Wowza Media Server 3.5.0\examples\LiveVideoStreaming\FlashRTMPPlayer” and entering rtmp://localhost/source and axis.stream, rosewill.stream
I create a new project using the wowza IDE and use the pushpublish example. ModulePushPublishSimpleExample.java
I changed
String dstApplication = appInstance.getApplication().getName();
to
String dstApplication = "dest";
Destination Application / PushPublish receiver test
I now create a second application following the same directions__(??)__ but called dest.
I created a new source.stream file with the following line
rtmp://0.0.0.0:1935/dest
I start the server from the IDE in debug mode. I confirm that the onPublish gets called when publishing one of the streams.
I use stream manager again to start source.stream now on the dest application.
I try and watch using the same method “Wowza Media Server 3.5.0\examples\LiveVideoStreaming\FlashRTMPPlayer” and use rtmp://localhost/dest and source.stream
But it says it cant find the stream. “Failed to play source.stream; stream not found.”
I included the log below. I don’t see any errors.
Anything you can see that I am doing wrong? What about JRE7? Should i be running x64 java?
Thanks
Jeremy
Configure logging: file:///C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.5.0/conf/log4j.properties
INFO server server-start Wowza Media Server 3 Trial Edition (Expires: Dec 15, 2012) 3.5.0 build2989 -
INFO server comment - Server License Key: SVRT3-XXXXX-XXXXX-XXXXX-XXXXX-MeeD4
INFO server comment - Maximum Connections: Unlimited
INFO server comment - Transcoder Streams Available: Transcoder Not Available (win-32)
INFO server comment - nDVR Available: Yes
INFO server comment - DRM Available: Yes
INFO server comment - Hardware Available Processors: 8
INFO server comment - Hardware Physical Memory: 4095MB/4095MB
INFO server comment - Hardware Swap Space: 4095MB/4095MB
INFO server comment - Max File Descriptor Count: Unlimited
INFO server comment - OS Name: Windows 7
INFO server comment - OS Version: 6.1
INFO server comment - OS Architecture: x86
INFO server comment - OS CPU: pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
INFO server comment - Java Name: Java HotSpot(TM) Client VM
INFO server comment - Java Vendor: Oracle Corporation
INFO server comment - Java Version: 1.7.0_09
INFO server comment - Java VM Version: 23.5-b02
INFO server comment - Java Spec Version: 1.7
INFO server comment - Java Home: C:\Program Files (x86)\Java\jre7
INFO server comment - Java Max Heap Size: 742MB
INFO server comment - Java Architecture: 32
INFO server comment - Java Locale[user.language]: en
INFO server comment - Java Locale[user.country]: US
INFO server comment - Java Locale[user.variant]:
INFO server comment - Java Locale[file.encoding]: Cp1252
INFO server comment - Java Timezone[user.timezone]: America/New_York
INFO server comment - Java Args[0]: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:59442
INFO server comment - Java Args[1]: -Xmx768M
INFO server comment - Java Args[2]: -Dcom.wowza.wms.AppHome=C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.5.0
INFO server comment - Java Args[3]: -Dcom.wowza.wms.ConfigHome=C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.5.0
INFO server comment - Java Args[4]: -Dcom.sun.management.jmxremote=true
INFO server comment - Java Args[5]: -Dfile.encoding=Cp1252
INFO server comment - Server native.platform: win
INFO server comment - Server threads[h/t]: 10/10
INFO server comment - CMDInterface now listening: [any]:8083
INFO vhost vhost-start _defaultVHost_ -
INFO server comment - _defaultVHost_ threads[h/t]:120/80 home:C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.5.0
INFO vhost comment _defaultVHost_ Bind attempt ([any]:1935:4)
INFO vhost comment _defaultVHost_ Bind successful ([any]:1935)
INFO vhost comment _defaultVHost_ Bind attempt ([any]:8086:1)
INFO vhost comment _defaultVHost_ Bind successful ([any]:8086)
INFO server comment - Server.startShutdownHook: Start server shutdown hook
INFO server comment - Wowza Media Server is started!
INFO application app-start _definst_ source/_definst_
INFO server comment - RTPMediaCaster.create[10621315]
INFO server comment - RTPMediaCaster.init[10621315]
INFO server comment - RTPMediaCaster.Reconnector[10621315:source/_definst_:axis.stream]: start: 1
INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [source/_definst_]: flv:axis.stream
INFO server comment - RTPSessionTracker.add[rtsp://192.168.0.139/axis-media/media.amp?streamprofile=quality]: 1
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:19D1C987 sessionTimeout:60000
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[source/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
INFO stream create - -
INFO stream publish axis.stream -
INFO server comment - PushPublisher.connect[rtmp://localhost:1935/dest/_definst_/push-axis.stream]: Wowza Push Publishing AddOn 3.5.0 build2834
INFO server comment - PushPublisher#IdleHandler.create[rtmp://localhost:1935/dest/_definst_/push-axis.stream]
INFO server comment - PushPublisher.addSession[rtmp://localhost:1935/dest/_definst_/push-axis.stream]: {[0]: 20591948 }
INFO server comment - PushPublisher.sessionOpened[rtmp://localhost:1935/dest/_definst_/push-axis.stream]:
INFO server comment - RTPMediaCaster.Reconnector[10621315:source/_definst_:axis.stream]: done: 1
INFO server comment - PushPublisher.callConnect[rtmp://localhost:1935/dest/_definst_]: dest/_definst_
{Obj[]: app: "dest/_definst_", flashVer: "WIN 10,0,12,36", swfUrl: "WowzaProLiveRepeater", tcUrl: "rtmp://localhost:1935/dest/_definst_", fpad: false, audioCodecs: 3191.0, videoCodecs: 252.0, pageUrl: "", sendChunkSize: 4096.0}
INFO application app-start _definst_ dest/_definst_
INFO session connect-pending 127.0.0.1 -
INFO session connect 127.0.0.1 -
INFO server comment - PushPublisher#ConnectResult.connect[rtmp://localhost:1935/dest/_definst_/push-axis.stream]: result: NetConnection.Connect.Success description:Connection succeeded. Message:
INFO server comment - firstPacket: TCP:$0
INFO server comment - LiveStreamPacketizerSanJose.init[source/_definst_/axis.stream]: chunkDurationTarget: 10000
INFO server comment - LiveStreamPacketizerSanJose.init[source/_definst_/axis.stream]: chunkDurationTolerance: 500
INFO server comment - LiveStreamPacketizerSanJose.init[source/_definst_/axis.stream]: playlistChunkCount:4
INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:axis.stream
INFO server comment - SanJosePacketHandler.startStream[source/_definst_/axis.stream]
INFO server comment - LiveStreamPacketizerSanJose.handlePacket[source/_definst_/axis.stream]: Video codec: H264
INFO server comment - LiveStreamPacketizerCupertino.init[source/_definst_/axis.stream]: chunkDurationTarget: 10000
INFO server comment - LiveStreamPacketizerCupertino.init[source/_definst_/axis.stream]: chunkDurationTolerance: 500
INFO server comment - LiveStreamPacketizerCupertino.init[source/_definst_/axis.stream]: audioGroupCount: 3
INFO server comment - LiveStreamPacketizerCupertino.init[source/_definst_/axis.stream]: playlistChunkCount:3
INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:axis.stream
INFO server comment - CupertinoPacketHandler.startStream[source/_definst_/axis.stream]
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[source/_definst_/axis.stream]: Video codec:H264 isCompatible:true
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[source/_definst_/axis.stream][avc1.66.41]: H.264 (Video may not be playable on older iPhone and iPod touch devices where Baseline/Level 3.0 or lower is required) Video info: {H264CodecConfigInfo: codec:H264, profile:Baseline, level:4.1, frameSize:1280x720, displaySize:1280x720, PAR:1:1}
INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:axis.stream
INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[source/_definst_/axis.stream]
INFO server comment - firstPacket: TCP:$1
INFO server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[source/_definst_/axis.stream]: Fragment durations: [1.1,1.0,1.0]
INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bitrate[source/_definst_/axis.stream]: 2590585
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:0 count:32 duration:1110
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:1 count:32 duration:1077
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:2 count:32 duration:1077
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:3 count:32 duration:1077
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:4 count:32 duration:1076
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:1 a/v/k:0/129/4 duration:4374
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:1 mode:TS[H264,NOAUDIO] a/v/k:0/128/4 duration:4374
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:5 count:32 duration:1077
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:6 count:32 duration:1077
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:7 count:32 duration:1076
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:8 count:32 duration:1077
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:9 count:32 duration:1077
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:2 mode:TS[H264,NOAUDIO] a/v/k:0/287/8 duration:3634
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[source/_definst_/axis.stream]: Add chunk: type:video id:10 count:32 duration:1077
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:2 a/v/k:0/288/8 duration:3634
INFO server comment - RTPMediaCaster.create[7147940]
INFO server comment - RTPMediaCaster.init[7147940]
INFO server comment - RTPMediaCaster.Reconnector[7147940:dest/_definst_:source.stream]: start: 1
INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [dest/_definst_]: flv:source.stream
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[dest/_definst_]: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.5.0/content/rtmp://0.0.0.0:1935/dest
WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: SDP file missing: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.5.0/content/rtmp://0.0.0.0:1935/dest
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:3 a/v/k:0/290/9 duration:15713
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:3 mode:TS[H264,NOAUDIO] a/v/k:0/289/9 duration:15713
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:4 mode:TS[H264,NOAUDIO] a/v/k:0/288/9 duration:9691
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:4 a/v/k:0/289/9 duration:9691
INFO session connect-pending 0:0:0:0:0:0:0:1 -
INFO session connect 0:0:0:0:0:0:0:1 -
INFO stream create - -
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:5 mode:TS[H264,NOAUDIO] a/v/k:0/320/10 duration:10767
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:5 a/v/k:0/321/10 duration:10767
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:6 a/v/k:0/289/9 duration:9690
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:6 mode:TS[H264,NOAUDIO] a/v/k:0/288/9 duration:9690
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:7 a/v/k:0/289/9 duration:9691
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:7 mode:TS[H264,NOAUDIO] a/v/k:0/288/9 duration:9691
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:8 mode:TS[H264,NOAUDIO] a/v/k:0/320/10 duration:10767
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:8 a/v/k:0/321/10 duration:10767
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:9 a/v/k:0/289/9 duration:9690
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:9 mode:TS[H264,NOAUDIO] a/v/k:0/288/9 duration:9690
INFO server comment - RTPMediaCaster.create[31249787]
INFO server comment - RTPMediaCaster.init[31249787]
INFO server comment - RTPMediaCaster.Reconnector[31249787:dest/_definst_:source2.stream]: start: 1
INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [dest/_definst_]: flv:source2.stream
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[dest/_definst_]: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.5.0/content/rtmp://0.0.0.0:1935/source
WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: SDP file missing: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.5.0/content/rtmp://0.0.0.0:1935/source
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:10 a/v/k:0/289/9 duration:9690
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[source/_definst_/axis.stream]: Add chunk: id:10 mode:TS[H264,NOAUDIO] a/v/k:0/288/9 duration:9690
INFO stream destroy source.stream -
INFO session disconnect 1764788780 -