Office Hours — Today, December 28

Yesterday, December 27

Dec 28
9:55 AM
Mark M.
has entered the room
Mark M.
turned on guest access
10:05 AM
Sean
has entered the room
Mark M.
howdy, Sean!
how can I help you today?
Sean
Hello
if (getSupportFragmentManager().findFragmentByTag(MODEL) == null) {getSupportFragmentManager().beginTransaction().add(new ModelFragment(), MODEL).commit();
Ooopss...sorry
10:10 AM
Mark M.
um, do you have a question?
Sean
Yes, I do. if (getSupportFragmentManager().findFragmentByTag(MODEL) == null) {getSupportFragmentManager().beginTransaction().add(new ModelFragment(), MODEL).commit();
Oopss...
Ok, when do we use fragment by tag and when do we use fragment by id?
Mark M.
well, to some extent, that is up to you
jwandroid33
has entered the room
Mark M.
if you put the fragment into a container with an ID, you can use findFragmentById()
if you put the fragment into the manager with a tag, you can use findFragmentByTag()
in this case, this is a model fragment -- one with no UI -- and so therefore it has no ID
hence, I use a tag
(BTW, jwandroid33 -- I will be with you shortly!)
jwandroid33
ok
10:15 AM
Mark M.
Sean: let me take a question from jwandroid33, and I will come back to you in a bit if you have more questions
jwandroid33: do you have a question?
Sean
Ok
jwandroid33
Yes a quick one
I wanted to ask you about page 1175 of the 4.4 book
The statement related to Android not supporting streaming MP3 in RTSP
Mark M.
OK
jwandroid33
The question is:
Does that mean streaming a/v like MPEG4 video or something is supported but MP3 streams aren't? I was seeking clarity on that. Sorry if I am a bit confused
Mark M.
I seem to recall that RTSP supports MPEG-4
jwandroid33
Ok
So you can stream MP4 but not MP3 audio using RTSP
10:20 AM
Mark M.
well, that's complicated
RTSP is a specification
jwandroid33
:-)
Mark M.
the specification does not cover streaming MP3 -- it only covers certain audio and video codecs and containers
jwandroid33
got it
Mark M.
Android's implementation of streaming media playback always used to stick pretty close to the specifications
hence, Android could not stream MP3 over RTSP
because RTSP did not support streaming MP3
jwandroid33
I see
Mark M.
however, various makers of RTSP servers and clients have worked out an agreement for how to stream RTSP over MP3, going beyond the specification
early on, Android did not support those
and I have no idea whether it supports this beyond-the-spec MP3 support now
jwandroid33
That answers my question
Thanks again Mark.
Mark M.
sure, happy to help
(and, frankly, I am surprised that what I wrote actually helped, but, I am not going to complain...)
Sean: do you have another question?
Sean
No question.. thanks for the help.
jwandroid33
Helped a lot because it cleared things up in my mind!
Mark M.
OK
jwandroid33: do you have another question?
jwandroid33
I am good for now. If I don't talk to you before next year have a safe and happy holiday
Mark M.
you too!
if either of you come up with another question, before anyone else arrives, just chime in
10:25 AM
jwandroid33
ok
Sean
has left the room
10:55 AM
Mark M.
any final questions?
jwandroid33
No I am good. Happy holiday again!
Mark M.
you too!
that wraps today's chat
the next office hours chat will be Thursday at 4pm Eastern
jwandroid33
has left the room
Mark M.
turned off guest access

Yesterday, December 27

 

Office Hours

People in this transcript

  • jwandroid33
  • Mark Murphy
  • Sean