Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: 404 not found error



Stephan:

The o= line is the origin. The IP address should be the IP of your broadcaster/encoder (the system running mpegable). This address should be reachable by the server, but it shouldn't effect clients connecting to the reflected stream.

The address in the c= line should be the IP address or complete DNS name to your server (127.0.0.1, the loopback address also should work in this configuration).

The ports specified in the m= lines should be the same as the ports from your broadcaster/encoders. There are separate ports for audio and video. I'm not sure how you configure ports in mpegable. If you have mpegable set up to broadcast on port 9000 for video then the port in the first m= line should be 9000 (i.e. m=video 9000 RTP/AVP 96). If the mpegable was configured to send audio on port 9002, then the second m= line would read m=audio 9002 RTP/AVP 97. I'm guessing that this is where your problem lies.

If the streaming server is running on Mac OS X or Windows, you can open the sdp file from mpegable on the server with QuickTime Player. If this doesn't work, your server can't successfully connect to the incoming stream from the mpegable broadcaster/encoder and will return 404 errors. With other encoders/broadcasters, you usually don't have to edit the sdp file generated for manual unicasts. Just copy the sdp file to the server - if the server can successfully "tune in" on the incoming stream defined in the sdp, it will be able to reflect it to clients.

A side note: Don't edit the sdp file with pico. It can corrupt the file (even when using the -w flag). On Mac OS X I usually edit the sdp files with BBEdit. Choose an editor that doesn't change line endings or wrap text.

-George

On Jan 7, 2005, at 4:39 AM, Grallert Stephan wrote:

George:

Here comes the setup:
DSS is directly conencted to the internet with an offical IP.
In streamingserver.xml, rtsp_ports I had to change the Ports 8000 and 8001 to 9000 and 9001 because another process is listening on that ports already.


The sender ist connected to the Internet via NAT. I am using mpegable Broadcaster to send a unicast stream.

Here is the SDP:
v=0
o=- 230241 230249 IN IP4 ****MyOfficialIP*****
s=mpegable Broadcaster
c=IN IP4 ****MyServerName****
a=isma-compliance:1,1.0,1
a=mpeg4-iod: "data:application/mpeg4-iod; base64,AAAAAAoBAAAKAQAAAAAAAFBsZWFzZSBlbnRlciB5b3VyIHVzZXIgbmFtZSwgZW1h aWwgYWRyZXNzIGFuZCB0aGUgc2VyaWFsIG51bWJlciB0aGF0IHlvdSBoYXZlIHJlY2VpdmV kIHZpYSBFbWFpbDsgdGhlbiBjbGljayAnT0snLg0KDQpJZiB5b3UganVzdCBsaWtlIHRvIH Rlc3QgdGhlIHByb2R1Y3QgcGxlYXNlIGNsaWNrICdDYW5jZWwnIHRvIHByb2NlZWQuDQoNC lRvIGJ1eSB0aGUgcHJvZHVjdCBpbiB0aGUgbXBlZ2FibGUgb25saW5lIHNob3AgY2xpY2sg dGhlICdCdXkgbm93JyBidXR0b24uAAAAAA=="
t=0 0
m=video 20000 RTP/AVP 96
b=AS:84
a=rtpmap:96 MP4V-ES/90000
a=mpeg4-esid:1
a=cliprect:0, 0, 240, 320
a=fmtp:96 profile-level-id=3; config=000001b002000001b509000001000000012000c88881f450a041e14103; width=320; height=240;
m=audio 20002 RTP/AVP 97
b=AS:16
a=rtpmap:97 mpeg4-generic/44100/2
a=mpeg4-esid:2
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;


In the broadcaster I had the option to set a port. I put it to 9000.

In deed, you were right: the first SDP created by the broadcaster contained as MyOfficialIP my private IP. I edited it to my currently offical IP. Then I copied the SDP to the server in the directory where the static movies reside.

Then I started QT an opened the URL: rtsp://MyServerName_554/live.sdp. QT worked a moment and then showed the 404 Error?

Greetz,
Stephan



-----Ursprüngliche Nachricht-----
Von: George Cook [mailto:email@hidden]
Gesendet: Mittwoch, 5. Januar 2005 22:11
An: Grallert Stephan
Cc: email@hidden
Betreff: Re: 404 not found error

Stephan:

You can send the text of the sdp file (the list doesn't
provide for enclosures). Also send the details on your
configuration (server behind NAT?, broadcaster/encoder behind
NAT? both behind the same NAT or different ones?).

If your server is behind a NAT and you can successfully stream
VOD to Internet connected clients, you should also be able to
reflect live streams. If the server is successfully receiving
the stream from your broadcaster/encoder it will reflect the
streams to Internet connected clients. However, if the server
can't successfully receive the stream from the
broadcaster/encoder clients will get a 404 (the server can't
find the incoming stream, so there is nothing to reflect).

-George

On Jan 5, 2005, at 3:36 PM, Grallert Stephan wrote:

Dear George!

Thanx for your comprehensive answer.
As far as VOD is concerned, it is definitely easy to solve.

But streaming through NAT at the sender side still poses problems.
Besides the streaming server is a headless server at my provider.
I cannot start a media player there.

I also inspected the SDP file and did not find neither my
private nor
my official IP.

Would you like me to post it here?

Greetz&thanx for your help,
Stephan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/
email@hidden

This email sent to email@hidden


--

Nothing in the world can take place of persistence.
Talent will not; nothing is more common than unsuccessful men
with talent.
Genius will not; unrewarded genius is almost a proverb.
Education will not; the world is full of educated derelicts.
Persistence and determination alone are omnipotent.
 
~ Calvin Coolidge


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/ email@hidden


This email sent to email@hidden


--

Nothing in the world can take place of persistence.
Talent will not; nothing is more common than unsuccessful men with talent.
Genius will not; unrewarded genius is almost a proverb.
Education will not; the world is full of educated derelicts.
Persistence and determination alone are omnipotent.
 
~ Calvin Coolidge


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden

This email sent to email@hidden
References: 
 >AW: 404 not found error (From: "Grallert Stephan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.