Results 1 to 4 of 4

Thread: Multiple incoming streams on demand

  1. #1
    Join Date
    Jul 2012
    Posts
    6

    Default Multiple incoming streams on demand

    Hello,

    for a new project, we have a number of users whose devices produce MPEG-TS streams (UDP only, NOT RTSP streams).
    Each user has one device, identified by a device id.
    The users should be able to start streaming from their devices to the Wowza server at any time.
    I guess the client device should do something like this:
    • Query the server, to find an UDP port available in Wowza
    • Start the stream to that port and send the device id into the MPEG-TS UDP stream
    • A custom plugin in Wowza should be able to extract the device id data and save the stream into the appropriate folder

    One important thing: the system does NOT know in advance all possibile device ids. Only when the device connects to the Wowza server and sends the device id into the MPEG-TS stream, the custom Wowza plugin can validate it by checking into a database.

    I would kindly need some directions on how this could be accomplished. I.e., should we pre-create a large number of .stream files for all possible UDP ports on the server, then somehow negotiate a free port when the client connects, or can we allocate streams "on demand" when the user wants to connect? In the second case, how can the client device know to which UDP port it should connect?

    Thank you
    Regards
    Enrico

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Enrico,

    There isn't anything built-in to Wowza to manage mpeg-ts streams at this level. You have to start them in StreamManager or /conf/StartUpStreams.xml or with the MediaCaster API, and you have to know where they are to start them. Wowza can't allocate ports.

    Richard

  3. #3
    Join Date
    Jul 2012
    Posts
    6

    Default

    Thank you for your answer.
    Would RTP + authentication solve the problem to let multiple devices stream to the same server at any time (or even simultaneously), with a server plugin being able to distinguish to which user each stream belongs?

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You can can stream from multiple devices and have many simultaneous streams, but you have to pull mpeg-ts streams, they are not published (pushed) by an encoder to Wowza.

    Richard

Similar Threads

  1. Is there a way to list incoming streams in an HTTPProvider?
    By raylau in forum Wowza Streaming Server Java API
    Replies: 2
    Last Post: 07-26-2014, 10:23 AM
  2. Number of incoming RTSP streams
    By robstreamhosting in forum General Forum
    Replies: 4
    Last Post: 03-27-2013, 03:17 PM
  3. Maximizing Concurrent Incoming Streams
    By netformz in forum Performance Tuning Discussion
    Replies: 10
    Last Post: 12-10-2012, 06:33 AM
  4. Replies: 6
    Last Post: 11-02-2012, 12:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •