- Timestamp:
- 08/04/10 20:56:40 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/thelib/src/protocols/rtp/connectivity/inboundconnectivity.cpp
r49 r53 54 54 55 55 bool InboundConnectivity::Initialize(Variant &videoTrack, Variant &audioTrack, 56 bool forceTcp) {56 string streamName, bool forceTcp) { 57 57 _forceTcp = forceTcp; 58 58 … … 87 87 88 88 //5. Create the in stream 89 if (streamName == "") 90 streamName = format("rtsp_%d", _pRTSP->GetId()); 89 91 _pInStream = new InNetRTPStream(_pRTSP, pApplication->GetStreamsManager(), 90 format("rtsp_%d", _pRTSP->GetId()),92 streamName, 91 93 unb64((string) SDP_VIDEO_CODEC_H264_SPS(videoTrack)), 92 94 unb64((string) SDP_VIDEO_CODEC_H264_PPS(videoTrack))); … … 214 216 //FINEST("%s:%d length: %d", inet_ntoa(address.sin_addr), ntohs(address.sin_port), length); 215 217 return sendto(pRTCP->GetIOHandler()->GetOutboundFd(), 216 (char *) pBuffer, length, 0, (sockaddr *) & address, sizeof (address)) == (int32_t) length;218 (char *) pBuffer, length, 0, (sockaddr *) & address, sizeof (address)) == (int32_t) length; 217 219 } 218 220
Note: See TracChangeset
for help on using the changeset viewer.
