Open Bug 1221890 Opened 10 years ago Updated 3 years ago

Rename DOMMediaStream to its rightful name MediaStream

Categories

(Core :: Audio/Video: MediaStreamGraph, defect, P4)

33 Branch
defect

Tracking

()

People

(Reporter: pehrsons, Unassigned)

References

Details

There is some confusion about the naming of streams, for instance we have DOMMediaStream which according to spec is called MediaStream, and we have MediaStream and friends as defined by MediaStreamGraph. The idea is to rename the MSG-MediaStream classes to something suitable (bikeshedding welcome) and give DOMMediaStream its rightful name MediaStream. I have CCed the people I think could have some input on the topic. We started thinking about this a bit already in bug 1208371 comments 47, 54, 56 and 64. Due to the immense bug spam that ensued there I'm moving this discussion here instead. In short the suggested names so far are: MSGMediaStream MsgStream MediaStreamNode GraphMediaStream RTMediaStream RealtimeMediaStream AsyncMediaStream ..and similarly for ProcessedMediaStream TrackUnionStream SourceMediaStream and perhaps some more. Thoughts?
I voted MSGMediaStream originally but don't like that it's abbreviated. As roc points out in bug 1208371 comment 64, GraphMediaStream could be confused with MediaStreamGraph, otherwise I would have preferred that. InternalMediaStream?
MSGStream would be fine with me. Maybe even MSGNode, but we probably have many comments calling them streams. I don't find MediaStreamNode helpful to indicate graph thread.
Priority: -- → P3
I discussed this with padenot and jesup in London and we agreed on the following changes. DOMMediaStream -> MediaStream DOMLocalMediaStream -> LocalMediaStream DOMAudioNodeMediaStream -> AudioNodeMediaStream MediaStream -> StreamBase SourceMediaStream -> SourceStream ProcessedMediaStream -> ProcessedStream CameraPreviewMediaStream -> CameraPreviewStream
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.