[livesupport-dev] playback vs login problem
  • Vote Up0Vote Down importimport
    Posts: 0Member
    Hi all,

    Question: would it be OK if the GUI output audio were stopped when the
    user logs out? What I was trying to do was to stop the preview audio at
    logout, and stop the output audio at program end. But this does not
    work, since stopping the audio player involves releasing file resources,
    which requires a session ID (ie, a logged-in user).

    (See bug http://bugs.campware.org/view.php?id=981 .)

    Ferenc

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 4 Comments sorted by
  • This is a multipart message in MIME format.
    --=_alternative 003BFD9AC1257007_=
    Content-Type: text/plain; charset="us-ascii"

    The first thing that comes to me is that what's in the master window
    should probably keep playing, but it's totally fine for the preview to
    stop playing on logout.

    Anyone else?





    Ferenc Gerlits
    05/20/2005 12:49 PM
    Please respond to livesupport-dev


    To: livesupport-dev@campware.org
    cc:
    Subject: [livesupport-dev] playback vs login problem


    Hi all,

    Question: would it be OK if the GUI output audio were stopped when the
    user logs out? What I was trying to do was to stop the preview audio at
    logout, and stop the output audio at program end. But this does not
    work, since stopping the audio player involves releasing file resources,
    which requires a session ID (ie, a logged-in user).

    (See bug http://bugs.campware.org/view.php?id=981 .)

    Ferenc



    --=_alternative 003BFD9AC1257007_=
    Content-Type: text/html; charset="us-ascii"



    The first thing that comes to me is that what's in the master window should probably keep playing, but it's totally fine for the preview to stop playing on logout.



    Anyone else?











    Ferenc Gerlits <fgerlits@beltav.hu>

    05/20/2005 12:49 PM

    Please respond to livesupport-dev


           

            To:        livesupport-dev@campware.org

            cc:        

            Subject:        [livesupport-dev] playback vs login problem






    Hi all,



    Question: would it be OK if the GUI output audio were stopped when the

    user logs out?  What I was trying to do was to stop the preview audio at

    logout, and stop the output audio at program end.  But this does not

    work, since stopping the audio player involves releasing file resources,

    which requires a session ID (ie, a logged-in user).



    (See bug http://bugs.campware.org/view.php?id=981 .)



    Ferenc






    --=_alternative 003BFD9AC1257007_=--

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Yes, that's what I was trying to do, but it's not so simple, for the
    reason I explained below (maybe not too well). The options are:

    1. Stop playing when the user logs out. Easy; compromises functionality.
    2. Change the storage server "release audio" methods to not require a
    session ID. They do anyway require a token which was issued earlier by
    the "acquire audio" method. Fairly easy; compromises security?
    3. Change the behaviour of the "logout" button: do not really log out
    until the output audio started by the user stops playing. Somewhat
    complicated; messes up program logic.
    4. Other???

    I need a decision from somebody. I'm really hoping for answer 4. Smile

    Ferenc


    Douglas.Arellanes@mdlf.org wrote:
    >
    > The first thing that comes to me is that what's in the master window
    > should probably keep playing, but it's totally fine for the preview to
    > stop playing on logout.
    >
    > Anyone else?
    >
    >
    >
    > *Ferenc Gerlits *
    >
    > 05/20/2005 12:49 PM
    > Please respond to livesupport-dev
    >
    >
    > To: livesupport-dev@campware.org
    > cc:
    > Subject: [livesupport-dev] playback vs login problem
    >
    >
    >
    >
    > Hi all,
    >
    > Question: would it be OK if the GUI output audio were stopped when the
    > user logs out? What I was trying to do was to stop the preview audio at
    > logout, and stop the output audio at program end. But this does not
    > work, since stopping the audio player involves releasing file resources,
    > which requires a session ID (ie, a logged-in user).
    >
    > (See bug http://bugs.campware.org/view.php?id=981 .)
    >
    > Ferenc
    >
    >

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • On Tue, 24 May 2005 13:34:33 +0200 Ferenc Gerlits wrote:
    > Yes, that's what I was trying to do, but it's not so simple, for the
    > reason I explained below (maybe not too well). The options are:
    >
    > 1. Stop playing when the user logs out. Easy; compromises functionality.
    > 2. Change the storage server "release audio" methods to not require a
    > session ID. They do anyway require a token which was issued earlier by
    > the "acquire audio" method. Fairly easy; compromises security?

    *** there is no security problem here, I think - the knowledge of token
    could be sufficient here for auth/autoriz. purposes.
    This variant is possible and not very complicated.

    > 3. Change the behaviour of the "logout" button: do not really log out
    > until the output audio started by the user stops playing. Somewhat
    > complicated; messes up program logic.
    > 4. Other???
    >
    > I need a decision from somebody. I'm really hoping for answer 4. Smile
    >
    > Ferenc


    Tomas Hlava
    th@red2head.com

    ------------------------------------------
    Posted to Phorum via Ph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DaGFuZ2UgdGhlIGJlaGF2aW91ciBv
    ZiB0aGUgJnF1b3Q7bG9nb3V0JnF1b3Q7IGJ1dHRvbjogZG8gbm90IHJlYWxseSBsb2cgb3V0PEJS
    PiZndDsgdW50aWwgdGhlIG91dHB1dCBhdWRpbyBzdGFydGVkIGJ5IHRoZSB1c2VyIHN0b3BzIHBs
    YXlpbmcuICZuYnNwO1NvbWV3aGF0PEJSPiZndDsgY29tcGxpY2F0ZWQ7IG1lc3NlcyB1cCBwcm9n
    cmFtIGxvZ2ljLjxCUj4mZ3Q7ICZuYnNwOyAmbmJzcDs0LiBPdGhlcj8/PzxCUj4mZ3Q7PEJSPiZn
    dDsgSSBuZWVkIGEgZGVjaXNpb24gZnJvbSBzb21lYm9keS4gJm5ic3A7SSdtIHJlYWxseSBob3Bp
    bmcgZm9yIGFuc3dlciA0LiA6LSk8QlI+Jmd0OzxCUj4mZ3Q7IEZlcmVuYzxCUj48L0ZPTlQ+PEJS
    PjxCUj48Rk9OVCBGQUNFPSJNb25vc3BhY2UsQ291cmllciI+VG9tYXMgSGxhdmE8QlI+dGhAcmVk
    MmhlYWQuY29tPC9GT05UPjwvUD4=

    ------------------------------------------
    Posted to Phorum via PhorumMail