[Live-devel] streaming AC3 over RTP using LIve555

Ashwani Kathuria ashwani.grps at gmail.com
Wed Mar 23 20:54:18 PDT 2011


Hi Ross,

Thanks for the reply.

I used the following file as test.ac3:
http://www.lynnemusic.com/surround/Bjorn_Lynne-Joolis-Song-surround.ac3

Apart from this on network I saw RTCP-GOODBYE from server in reply to
RTSP-PLAY from client. The corresponding wireshark traces
[CRASH_traces.txt] are attached with this mail.

Please check if AC3AudioFileServerMediaSubsession.hh and
AC3AudioFileServerMediaSubsession.cpp are correctly implemented as I
am new to live555 and AC3 formats. It will help me debug the issue
further at my end also.

Regards,
Ashwani Kathuria


On Wed, Mar 23, 2011 at 5:57 PM, Ross Finlayson <finlayson at live555.com> wrote:
> Thanks for the note.
>
> Please send us a link to your "test.ac3" file (or send the file itself if it
> is small), so we can try to replicate this crash ourselves.
> --
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------

No.     Time        Source                Destination           Protocol Info
     76 4.604701    107.108.199.106       107.108.199.135       TCP      samd > rtsp-alt [SYN] Seq=0 Win=65535 Len=0 MSS=1460 SACK_PERM=1

Frame 76: 62 bytes on wire (496 bits), 62 bytes captured (496 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 0, Len: 0

No.     Time        Source                Destination           Protocol Info
     77 4.604907    107.108.199.135       107.108.199.106       TCP      rtsp-alt > samd [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=1460 SACK_PERM=1

Frame 77: 62 bytes on wire (496 bits), 62 bytes captured (496 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 0, Ack: 1, Len: 0

No.     Time        Source                Destination           Protocol Info
     78 4.605310    107.108.199.106       107.108.199.135       TCP      samd > rtsp-alt [ACK] Seq=1 Ack=1 Win=65535 Len=0

Frame 78: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 1, Ack: 1, Len: 0

No.     Time        Source                Destination           Protocol Info
     79 4.615330    107.108.199.106       107.108.199.135       RTSP     OPTIONS rtsp://107.108.199.135:8554/AC3AudioTest RTSP/1.0

Frame 79: 188 bytes on wire (1504 bits), 188 bytes captured (1504 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 1, Ack: 1, Len: 134
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     80 4.623230    107.108.199.135       107.108.199.106       RTSP     Reply: RTSP/1.0 200 OK

Frame 80: 206 bytes on wire (1648 bits), 206 bytes captured (1648 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 1, Ack: 135, Len: 152
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     81 4.623859    107.108.199.106       107.108.199.135       RTSP     DESCRIBE rtsp://107.108.199.135:8554/AC3AudioTest RTSP/1.0

Frame 81: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 135, Ack: 153, Len: 160
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     82 4.629112    107.108.199.135       107.108.199.106       RTSP/SDP Reply: RTSP/1.0 200 OK, with session description

Frame 82: 620 bytes on wire (4960 bits), 620 bytes captured (4960 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 153, Ack: 295, Len: 566
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     83 4.631602    107.108.199.106       107.108.199.135       RTSP     SETUP rtsp://107.108.199.135:8554/AC3AudioTest/track1 RTSP/1.0

Frame 83: 243 bytes on wire (1944 bits), 243 bytes captured (1944 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 295, Ack: 719, Len: 189
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     84 4.710063    107.108.199.135       107.108.199.106       RTSP     Reply: RTSP/1.0 200 OK

Frame 84: 261 bytes on wire (2088 bits), 261 bytes captured (2088 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 719, Ack: 484, Len: 207
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     85 4.711020    107.108.199.106       107.108.199.135       RTSP     PLAY rtsp://107.108.199.135:8554/AC3AudioTest/ RTSP/1.0

Frame 85: 224 bytes on wire (1792 bits), 224 bytes captured (1792 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 484, Ack: 926, Len: 170
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     86 4.728169    107.108.199.135       107.108.199.106       RTCP     Sender Report   Goodbye   

Frame 86: 78 bytes on wire (624 bits), 78 bytes captured (624 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
User Datagram Protocol, Src Port: 6971 (6971), Dst Port: awg-proxy (3277)
Real-time Transport Control Protocol (Sender Report)
Real-time Transport Control Protocol (Goodbye)
[RTCP frame length check: OK - 36 bytes]

No.     Time        Source                Destination           Protocol Info
     87 4.730836    107.108.199.135       107.108.199.106       RTSP     Reply: RTSP/1.0 200 OK

Frame 87: 236 bytes on wire (1888 bits), 236 bytes captured (1888 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 926, Ack: 654, Len: 182
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     88 4.733166    107.108.199.106       107.108.199.135       RTSP     GET_PARAMETER rtsp://107.108.199.135:8554/AC3AudioTest/ RTSP/1.0

Frame 88: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 654, Ack: 1108, Len: 160
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     89 4.739304    107.108.199.135       107.108.199.106       RTSP     Reply: RTSP/1.0 200 OK

Frame 89: 138 bytes on wire (1104 bits), 138 bytes captured (1104 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 1108, Ack: 814, Len: 84
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     90 4.763704    107.108.199.2         224.0.0.2             HSRP     Hello (state Active)

Frame 90: 62 bytes on wire (496 bits), 62 bytes captured (496 bits)
Ethernet II, Src: All-HSRP-routers_c7 (00:00:0c:07:ac:c7), Dst: IPv4mcast_00:00:02 (01:00:5e:00:00:02)
Internet Protocol, Src: 107.108.199.2 (107.108.199.2), Dst: 224.0.0.2 (224.0.0.2)
User Datagram Protocol, Src Port: hsrp (1985), Dst Port: hsrp (1985)
Cisco Hot Standby Router Protocol

No.     Time        Source                Destination           Protocol Info
     91 4.912020    107.108.199.106       107.108.199.135       TCP      samd > rtsp-alt [ACK] Seq=814 Ack=1192 Win=64344 Len=0

Frame 91: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 814, Ack: 1192, Len: 0

No.     Time        Source                Destination           Protocol Info
     92 5.040571    107.108.199.106       107.108.199.135       RTSP     TEARDOWN rtsp://107.108.199.135:8554/AC3AudioTest/ RTSP/1.0

Frame 92: 209 bytes on wire (1672 bits), 209 bytes captured (1672 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 814, Ack: 1192, Len: 155
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     93 5.045143    107.108.199.135       107.108.199.106       RTSP     Reply: RTSP/1.0 200 OK

Frame 93: 119 bytes on wire (952 bits), 119 bytes captured (952 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 1192, Ack: 969, Len: 65
Real Time Streaming Protocol

No.     Time        Source                Destination           Protocol Info
     94 5.045241    107.108.199.135       107.108.199.106       TCP      rtsp-alt > samd [FIN, ACK] Seq=1257 Ack=969 Win=63406 Len=0

Frame 94: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 1257, Ack: 969, Len: 0

No.     Time        Source                Destination           Protocol Info
     95 5.045638    107.108.199.106       107.108.199.135       TCP      samd > rtsp-alt [ACK] Seq=969 Ack=1258 Win=64279 Len=0

Frame 95: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 969, Ack: 1258, Len: 0

No.     Time        Source                Destination           Protocol Info
     96 5.045639    107.108.199.106       107.108.199.135       RTCP     Receiver Report   Goodbye   

Frame 96: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
User Datagram Protocol, Src Port: awg-proxy (3277), Dst Port: 6971 (6971)
Real-time Transport Control Protocol (Receiver Report)
Real-time Transport Control Protocol (Goodbye)
[RTCP frame length check: OK - 16 bytes]

No.     Time        Source                Destination           Protocol Info
     97 5.045639    107.108.199.106       107.108.199.135       TCP      samd > rtsp-alt [FIN, ACK] Seq=969 Ack=1258 Win=64279 Len=0

Frame 97: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d), Dst: SamsungE_fb:74:b1 (00:24:54:fb:74:b1)
Internet Protocol, Src: 107.108.199.106 (107.108.199.106), Dst: 107.108.199.135 (107.108.199.135)
Transmission Control Protocol, Src Port: samd (3275), Dst Port: rtsp-alt (8554), Seq: 969, Ack: 1258, Len: 0

No.     Time        Source                Destination           Protocol Info
     98 5.045724    107.108.199.135       107.108.199.106       TCP      rtsp-alt > samd [ACK] Seq=1258 Ack=970 Win=63406 Len=0

Frame 98: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: SamsungE_fb:74:b1 (00:24:54:fb:74:b1), Dst: Micro-St_f4:a9:3d (40:61:86:f4:a9:3d)
Internet Protocol, Src: 107.108.199.135 (107.108.199.135), Dst: 107.108.199.106 (107.108.199.106)
Transmission Control Protocol, Src Port: rtsp-alt (8554), Dst Port: samd (3275), Seq: 1258, Ack: 970, Len: 0


More information about the live-devel mailing list