Open 4ntoine opened 9 years ago
https://github.com/fyhertz/libstreaming/blob/master/src/net/majorkernelpanic/streaming/rtsp/RtspServer.java#L466
By default it parses request assuming it's Non-interleaved mode (UDP) and replies for Non-interleaved mode:
response.attributes = "Transport: RTP/AVP/UDP;"+(InetAddress.getByName(destination).isMulticastAddress()?"multicast":"unicast")+ ";destination="+mSession.getDestination()+ ";client_port="+p1+"-"+p2+ ";server_port="+src[0]+"-"+src[1]+ ";ssrc="+Integer.toHexString(ssrc)+ ";mode=play\r\n" + "Session: "+ "1185d20035702ca" + "\r\n" + "Cache-Control: no-cache\r\n";
But in https://github.com/fyhertz/libstreaming/blob/master/src/net/majorkernelpanic/streaming/rtsp/RtspClient.java#L398 TCP mode is supported. Does it mean some code is not just pushed or Interleaved mode (TCP) is not supported at server-side?
Very interested in getting an answer.
https://github.com/fyhertz/libstreaming/blob/master/src/net/majorkernelpanic/streaming/rtsp/RtspServer.java#L466
By default it parses request assuming it's Non-interleaved mode (UDP) and replies for Non-interleaved mode:
But in https://github.com/fyhertz/libstreaming/blob/master/src/net/majorkernelpanic/streaming/rtsp/RtspClient.java#L398 TCP mode is supported. Does it mean some code is not just pushed or Interleaved mode (TCP) is not supported at server-side?