Results 1 to 2 of 2

Thread: Why to sync on WmsProperties

  1. #1
    Join Date
    Oct 2013

    Default Why to sync on WmsProperties


    I'm new Wowza user and I see many times in different discussions the same synchronization section on WMSProperties:
      public void onStreamCreate(IMediaStream stream) {
        StreamListener st = new StreamListener();
        WMSProperties props = stream.getProperties();
        synchronized (props) {
          props.put("streamListener", st);
    Is there any risk that 2 wowza threads will modify the props of one stream during the create/destroy action?
    I did not found any official notice about this.

    Thanks in advance

  2. #2
    Join Date
    Dec 2007


    It should work without the synchronize block, but that doesn't hurt.


Similar Threads

  1. Wowza Streaming out of sync.. VLC in sync
    By WebDev4Life in forum Media Players and Devices Discussion
    Replies: 4
    Last Post: 07-25-2013, 06:40 PM
  2. WMSProperties on isTranscodeResult()
    By Sweleck in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 08-14-2012, 05:03 AM

Posting Permissions

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