Title: Samsung Enterprise Portal mySingle

Dear sir,

I am implementing bidirectiotnal audio connection based on the ONVIF specification.

But ONVIF spec use a extension of RTSP. I couldn't implement it with live555.

 

The procedure is simple as below.

========== Server with onvif backchannel support ===========

Client – Server:

DESCRIBE rtsp://192.168.0.1 RTSP/1.0
CSeq: 1
User-Agent: ONVIF Rtsp client
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel


Server – Client:

RTSP/1.0 200 OK
CSeq: 1
Content-Type: application/sdp
Content-Length: xxx
v=0
o= 2890842807 IN IP4 192.168.0.1
s=RTSP Session with audiobackchannel
m=video 0 RTP/AVP 26
a=control:rtsp://192.168.0.1/video
a=recvonly
m=audio 0 RTP/AVP 0
a=control:rtsp://192.168.0.1/audio
a=recvonly
m=audio 0 RTP/AVP 0
a=control:rtsp://192.168.0.1/audioback
a=rtpmap:0 PCMU/8000
a=sendonly

 

=========== setup session =============

Client – Server:

SETUP rtsp://192.168.0.1/audioback RTSP/1.0
CSeq: 4
Session: 123124
Transport: RTP/AVP;unicast;client_port=6296-6297
Require: www.onvif.org/ver20/backchannel


Server – Client:

RTSP/1.0 200 OK
CSeq: 4
Session: 123124;timeout=60
Transport:RTP/AVP;unicast;client_port=6296-6297; server_port=2346-2347

 

=========== play session =============

Client – Server:

PLAY rtsp://192.168.0.1 RTSP/1.0
CSeq: 5
Session: 123124
Require: www.onvif.org/ver20/backchannel


Server – Client:

RTSP/1.0 200 OK
CSeq: 5
Session: 123124;timeout=60

 

=========== RTP communication =============

Then last media subsession should send audio data to server without receiving any rtp data.

 

I refer the openRTSP source code, and can implement a client for video/audio streaming.

Could you advice me how i can implement bidirectional audio streaming?

 

Regards,

Hyunho Kim.

 

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to