<HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE id=mysingle_style type=text/css>P {
MARGIN-TOP: 5px; FONT-FAMILY: 굴림체, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
TD {
MARGIN-TOP: 5px; FONT-FAMILY: 굴림체, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
LI {
MARGIN-TOP: 5px; FONT-FAMILY: 굴림체, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
BODY {
LINE-HEIGHT: 1.4; MARGIN: 10px; FONT-FAMILY: 굴림체, arial; FONT-SIZE: 9pt
}
</STYLE>
<META name=GENERATOR content=ActiveSquare></HEAD>
<BODY>
<P>Dear sir,</P>
<P>I am implementing bidirectiotnal audio connection based on the ONVIF specification.</P>
<P>But ONVIF spec use a extension of RTSP. I couldn't implement it with live555.</P>
<P> </P>
<P>The procedure is simple as below.</P>
<P>========== Server with onvif backchannel support ===========</P>
<P>Client – Server: </P>
<P>DESCRIBE rtsp://192.168.0.1 RTSP/1.0<BR>CSeq: 1<BR>User-Agent: ONVIF Rtsp client<BR>Accept: application/sdp<BR>Require: <A href="http://www.onvif.org/ver20/backchannel">www.onvif.org/ver20/backchannel</A></P>
<P><BR>Server – Client: </P>
<P>RTSP/1.0 200 OK<BR>CSeq: 1<BR>Content-Type: application/sdp<BR>Content-Length: xxx<BR>v=0<BR>o= 2890842807 IN IP4 192.168.0.1<BR>s=RTSP Session with audiobackchannel<BR>m=video 0 RTP/AVP 26<BR>a=control:rtsp://192.168.0.1/video<BR>a=recvonly<BR>m=audio 0 RTP/AVP 0<BR>a=control:rtsp://192.168.0.1/audio<BR>a=recvonly<BR><SPAN style="COLOR: #000000">m=audio 0 RTP/AVP 0<BR>a=control:rtsp://192.168.0.1/audioback<BR>a=rtpmap:0 PCMU/8000<BR>a=sendonly</SPAN></P>
<P><SPAN style="COLOR: #000000"></SPAN> </P>
<P><SPAN style="COLOR: #000000">=========== setup session =============</SPAN></P>
<P><SPAN style="COLOR: #000000">Client – Server: </SPAN></P>
<P><SPAN style="COLOR: #000000">SETUP rtsp://192.168.0.1/audioback RTSP/1.0<BR>CSeq: 4<BR>Session: 123124<BR>Transport: RTP/AVP;unicast;client_port=6296-6297<BR>Require: <A href="http://www.onvif.org/ver20/backchannel">www.onvif.org/ver20/backchannel</A></SPAN></P><SPAN style="COLOR: #000000">
<P><BR>Server – Client: </P>
<P>RTSP/1.0 200 OK<BR>CSeq: 4<BR>Session: 123124;timeout=60<BR>Transport:RTP/AVP;unicast;client_port=6296-6297; server_port=2346-2347</P>
<P> </P>
<P><SPAN style="COLOR: #000000">=========== play session =============</SPAN></P>
<P><SPAN style="COLOR: #000000">Client – Server: </SPAN></P>
<P><SPAN style="COLOR: #000000">PLAY rtsp://192.168.0.1 RTSP/1.0<BR>CSeq: 5<BR>Session: 123124<BR>Require: <A href="http://www.onvif.org/ver20/backchannel">www.onvif.org/ver20/backchannel</A></SPAN></P><SPAN style="COLOR: #000000">
<P><BR>Server – Client: </P>
<P>RTSP/1.0 200 OK<BR>CSeq: 5<BR>Session: 123124;timeout=60</P>
<P></SPAN> </P></SPAN><SPAN style="COLOR: #000000">
<P><SPAN style="COLOR: #000000">=========== RTP communication =============</SPAN></P>
<P><SPAN style="COLOR: #000000">Then last media subsession should send audio data to server without receiving any rtp data.</SPAN></P>
<P><SPAN style="COLOR: #000000"></SPAN> </P>
<P><SPAN style="COLOR: #000000">I refer the openRTSP source code, and can implement a client for video/audio streaming.</SPAN></P>
<P><SPAN style="COLOR: #000000">Could you advice me how i can implement bidirectional audio streaming?</SPAN></P>
<P><SPAN style="COLOR: #000000"></SPAN> </P>
<P><SPAN style="COLOR: #000000">Regards,</SPAN></P>
<P><SPAN style="COLOR: #000000">Hyunho Kim.</SPAN></P>
<P><SPAN style="COLOR: #000000"></SPAN> </P></SPAN></BODY></HTML><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=29c3f5bd811ff119e62a0ee2da037fb4e61558e156f565cc6e3b6c551f0531e96d3e8c7faba24ae6c3b33f4e1618c528a180a50e2b417f7cdb9fdddda33e82cbe4a391424e62fcf6cf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>