Details

      Activity

      Maxim Solodovnik made changes -
      Status Resolved [ 5 ] Closed [ 6 ]
      Assignee German Grekhov [ ggrekhov ] Maxim Solodovnik [ solomax ]
      Hide
      Maxim Solodovnik added a comment -

      Closing all old 'Resolved' issues

      Show
      Maxim Solodovnik added a comment - Closing all old 'Resolved' issues
      German Grekhov made changes -
      Status Open [ 1 ] Resolved [ 5 ]
      Resolution Fixed [ 1 ]
      Hide
      German Grekhov added a comment -

      Fixed at the revision 1302337

      Show
      German Grekhov added a comment - Fixed at the revision 1302337
      Hide
      German Grekhov added a comment -

      The problem appears when you choose the first item of the camera/microphone list. The 0 value is saved to the SharedObject in this case. But there is unnecessary check:
      if (mic == '') then mic = last_item;

      The problem is that '' equals to 0. I have fixed it.

      Show
      German Grekhov added a comment - The problem appears when you choose the first item of the camera/microphone list. The 0 value is saved to the SharedObject in this case. But there is unnecessary check: if (mic == '') then mic = last_item; The problem is that '' equals to 0. I have fixed it.
      Hide
      SebastianWagner added a comment -

      I don't understand the problem.

      The shared object contains the index of the Microphone and Camera that you need to select from the combobox (or actually from the list of available devices).

      If the "first" item is selected this index would be 0 (or 1 depending if the cound starts with 0 or zero for this list). So the next time you start the choose settings dialog again you just pre-select this item again (or actually you will choose it from the list).

      This shared object is NOT only used for just choosing the combobox item, it is also used if you click the "do not ask again" checkbox in the device settings the user will NOT see any UI, the values will be read directly from the Shared Object. So this should really work cause otherwise you get a random or wrong device as soon as you checked the checkbox "do not ask again".

      Show
      SebastianWagner added a comment - I don't understand the problem. The shared object contains the index of the Microphone and Camera that you need to select from the combobox (or actually from the list of available devices). If the "first" item is selected this index would be 0 (or 1 depending if the cound starts with 0 or zero for this list). So the next time you start the choose settings dialog again you just pre-select this item again (or actually you will choose it from the list). This shared object is NOT only used for just choosing the combobox item, it is also used if you click the "do not ask again" checkbox in the device settings the user will NOT see any UI, the values will be read directly from the Shared Object. So this should really work cause otherwise you get a random or wrong device as soon as you checked the checkbox "do not ask again".
      Hide
      German Grekhov added a comment -

      After fixing OPENMEETINGS-77 this problem is fixed too. But there is another problem that is not connected with the Audio/Video component.

      It is impossible to save the first item of Camera or Microphone list to the SharedObject. If you choose the first item then it would be chosen, but when you try to choose settings again then there would be chosen the last (not the first) item.

      Show
      German Grekhov added a comment - After fixing OPENMEETINGS-77 this problem is fixed too. But there is another problem that is not connected with the Audio/Video component. It is impossible to save the first item of Camera or Microphone list to the SharedObject. If you choose the first item then it would be chosen, but when you try to choose settings again then there would be chosen the last (not the first) item.
      German Grekhov made changes -
      Assignee German Grekhov [ ggrekhov ]
      Hide
      SebastianWagner added a comment - - edited

      The current implementation does not work. It will load the settings and set them to the view, but it does not store updates.
      For example in the "testingApplication.lzx" the checkbox to "do not show again" => doesn't work

      ... as the other SharedObject methods work the same way like this I guess SharedObject storing does currently not work at all in SWF10.

      Show
      SebastianWagner added a comment - - edited The current implementation does not work. It will load the settings and set them to the view, but it does not store updates. For example in the "testingApplication.lzx" the checkbox to "do not show again" => doesn't work ... as the other SharedObject methods work the same way like this I guess SharedObject storing does currently not work at all in SWF10.
      SebastianWagner made changes -
      Component/s Audio/Video [ 12317306 ]
      SebastianWagner made changes -
      Field Original Value New Value
      Fix Version/s 2.0 Apache Incubator Release [ 12319197 ]
      SebastianWagner created issue -

        People

        • Assignee:
          Maxim Solodovnik
          Reporter:
          SebastianWagner
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development