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).
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
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).
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.
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.
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.
>
> Ferenc