Changeset 53 for trunk/sources/thelib/src/protocols/rtp/rtspprotocol.cpp
- Timestamp:
- 08/04/10 20:56:40 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/thelib/src/protocols/rtp/rtspprotocol.cpp
r41 r53 278 278 279 279 InboundConnectivity *RTSPProtocol::GetInboundConnectivity(Variant &videoTrack, 280 Variant &audioTrack ) {280 Variant &audioTrack, string sdpStreamName) { 281 281 CloseInboundConnectivity(); 282 string streamName; 283 if (GetCustomParameters().HasKey("streamName")) { 284 streamName = (string) GetCustomParameters()["streamName"]; 285 } else { 286 streamName = sdpStreamName; 287 } 282 288 _pInboundConnectivity = new InboundConnectivity(this); 283 289 if (!_pInboundConnectivity->Initialize(videoTrack, audioTrack, 284 (bool)GetCustomParameters()["forceTcp"])) {290 streamName, (bool)GetCustomParameters()["forceTcp"])) { 285 291 FATAL("Unable to initialize inbound connectivity"); 286 292 CloseInboundConnectivity();
Note: See TracChangeset
for help on using the changeset viewer.
