[Live-devel] Redirection of Streams
Tilouche Khaled
kall_tiller at yahoo.fr
Fri Apr 7 03:19:09 PDT 2006
Hi Ross
am trying to redirect the streams using RTSPServer in unicast on a machine that would serves like a client.
The thing is that machine is not the requesting machine ,the requester one have a différent IP adress and would serves like a alarm launcher so A trigs the alarm by sending a RTSP request to R my Relay and it is a machine B who receives the stream.
for that reason i ve added an external function that changes dynamically the client adress on a RTSPClientSession .More over A tells R that the port destination would be 8888 for example.
void setClientAddr(struct sockaddr_in inClientAddr) {fClientAddr=inClientAddr;} would that be enough for a vlc opened on the port x in machine B on UDP/RTP mode to be able to visualize the stream coming from R. Is there an already way done in live Media to do this kinda of opération unicast push mode on a specific port and IP? am getting this kinda of errors on my vlc.though am receiving in a good shape all the packets am sending over the RTSPServer.
access_udp debug: no RTP header detected
main debug: creating demux: access='udp' demux='' path='@:8888'
main debug: looking for demux2 module: 40 candidates
ts warning: TS module discarded (lost sync)
ffmpeg debug: couldn't guess format
ps warning: this does not look like an MPEG PS stream, continuing anyway
main debug: using demux2 module "ps"
access_udp warning: unimplemented query in control
main debug: `udp://@:8888' successfully opened
ps warning: garbage at input, trying to resync... Do you have an idea what i would need to add on those modifications i made? Am streaming a MPEG4 LIVE Stream . Thank you in advance for your help.
---------------------------------
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20060407/72868bc5/attachment.html
More information about the live-devel
mailing list