Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
camera.setOrientation(camOrientation);
}

R5AdaptiveBitrateController adaptor = new R5AdaptiveBitrateController();
adaptor.AttachStream(publish);

if(TestContent.GetPropertyBool("audio_on")) {
//attach a microphone
R5Microphone mic = new R5Microphone();
Expand All @@ -79,6 +76,9 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa

preview.showDebugView(TestContent.GetPropertyBool("debug_view"));

R5AdaptiveBitrateController adaptor = new R5AdaptiveBitrateController();
adaptor.AttachStream(publish);

publish.publish(TestContent.GetPropertyString("stream1"), R5Stream.RecordType.Live);

if(TestContent.GetPropertyBool("video_on"))
Expand Down